Commit Graph

104 Commits

Author SHA1 Message Date
pancake
bb17e9acda Fix mg infinite recursivity issue, add fq and fsq commands and handle /flags in fs.r2 2017-10-23 12:54:03 +02:00
Fangrui Song
63731e9e81 Add help for ~:[s]-[e] show lines s-e & fix #8164 recursive help (#8474)
* Move r_core_cmd_help features to grep.c:r_cons_cmd_help to avoid dependency on r_core from r_cons
* Beautify r_cons_cmd_help & fix wp? & p?
* Fix #8164 recursive help (and add partial support for ??* ???*) & NULL terminate fz? Sl? Sr?

The support for ???* is partial because the current ad-hoc command
parser is obscure and hard to extend.
2017-09-12 11:05:24 +02:00
Fangrui Song
a4997feb34 Move fortunes to libr/core/fortune.c (#8424) 2017-09-12 00:41:07 +02:00
pancake
993213a006 Add more valid flag prefixes for functions 2017-09-02 18:34:03 +02:00
Fangrui Song
86de0abd20 Use RList for cmd_descriptors, make it a member of RCore (#8034) 2017-07-27 14:52:17 +02:00
Fangrui Song
7aadcab91a f commands: move help_msg_*[] arrays to top (#8013) 2017-07-26 15:14:06 +02:00
Schrodinger
66f5520740 Update cmd_flag.c (#7900)
fl command requires an '@' before the named flag.
2017-07-10 20:53:49 +02:00
Ayman Khamouma
9ae1526bbb Fix remaining glitches with recursive help #7528 (#7562) 2017-05-22 02:54:26 +02:00
Ayman Khamouma
a9a0c7e385 Fix #7524 - Fix help messages for recursive help parser (#7525) 2017-05-18 23:13:18 +02:00
pancake
ed5e999b86 Refactor fo command into an api for cfg.fortunes 2017-05-12 03:44:53 +02:00
yetmorecode
1fc8a829b3 Added fss, fssj and fss* ans some minor improvements in fs (#7392) 2017-05-02 05:46:43 +02:00
pancake
931654a515 Add 'fd.' command to find flags without delta 2017-04-14 10:06:06 +02:00
pancake
66bd1e0f9c Add f? command 2017-04-07 04:11:32 +02:00
pancake
601071a18f Change behaviour of f+ to add instead of set 2017-03-28 14:07:26 +02:00
pancake
c17889a9b4 Fix fd and use it in axt and visual xrefs 2017-01-24 01:41:12 +01:00
pancake
446d4b27db Colorize and enhance f= [glob] and kill f== 2017-01-24 00:43:57 +01:00
pancake
183a13a4ab Revert with if0 the autonaming regressions issue 2017-01-15 21:17:59 +01:00
pancake
4d84626b00 Fix main function autoname 2017-01-12 00:14:45 +01:00
pancake
ce5aab1cbf fl command now works with 1 argument too 2017-01-09 03:44:52 +01:00
Wladimir J. van der Laan
724994e566 Fix setting flag length with fl command (#6439)
The command `fl` was wrongly passing `str` instead of `arg` to the flag lookup.

This caused the flag lookup to miss, and `fl` to always fail (silently)
when changing the length of a flag.

This commit fixes that.
2017-01-09 03:38:55 +01:00
pancake
57a94f9498 Add cfg.fortunes.clippy option and expose r_core_clippy 2016-12-21 02:04:59 +01:00
pancake
4cb9df1cc5 Add r_sys_tts and cfg.fortunes.tts (only for OSX atm) 2016-12-21 01:46:19 +01:00
pancake
a8515ec1d8 Add fortunes.creepy 2016-12-21 01:26:03 +01:00
pancake
6ae8d68299 Fix r_str_glob and add command 'fla' 2016-12-15 00:13:26 +01:00
nil0x42
74ea0907f2 Add fV help (#6309) 2016-12-10 22:46:14 +01:00
pancake
72e874c2ac Fix noreturn issue introduced with the flag_get_at aproximation 2016-12-01 10:48:00 +01:00
Maijin
ffd8ecd14b Add remaining [?] 2016-11-26 14:57:21 +01:00
pancake
a597684970 Chopro the flag command args 2016-10-28 12:19:44 +02:00
pancake
be9df39f6f Fixed 40 null derefs reported by coverity 2016-10-20 15:02:25 +02:00
radare
20ec177ba0 Initial implementation of flag zones 2016-10-06 02:40:26 +02:00
Álvaro Felipe Melchor
34c6e3e1a1 Fix #5543 - oob write in Sr command (#5598) 2016-08-24 00:23:14 +02:00
pancake
87ccfd34f5 Add fi[jn*] command to list flags in range 2016-07-03 22:00:43 +02:00
Jeffrey Crowell
c145740030 replace r_cons_printf("%s\n",p) r_cons_println(p)
move from 10% of code in vfprintf to just 6% \o/ for simple tests of r2
-c "aaa" -q /bin/ls
2016-06-26 00:52:03 -04:00
ekse
60220bc525 Check that a required argument was passed for a couple of commands. (#5166) 2016-06-17 23:17:24 +02:00
Jeffrey Crowell
9518841434 refactor includes (#4757) 2016-05-03 04:52:41 +02:00
pancake
0274089288 Fix #4615 - seek to local flags '+.', and handle f.flag=addr 2016-04-12 00:55:03 +02:00
Riccardo Schirone
23006460c1 flags: refactoring of r_flag_set
flags: remove dup parameter from r_flag_set
2016-02-22 18:21:25 +01:00
Riccardo Schirone
b80c635aba flags: refactoring of the APIs to unset a flag item
flags: free items when using unset_name, unset_off or unset_glob
2016-02-22 18:21:25 +01:00
Y. Sapir
66225b9ee1 Filter unselected flagspaces in r_flag_get_at. 2016-01-15 03:11:55 +01:00
Anton Kochkov
6a6a3befb4 Fix the local flags? 2015-10-18 01:07:58 +03:00
pancake
a2353c1b00 Fix #3429 - save/load visual marks using the new fV command 2015-10-12 14:33:52 +02:00
jvoisin
fbe8b6d938 Once again, clang-analyzer strikes! 2015-09-04 15:12:42 +02:00
pancake
aa134787e9 Breakpoint autonaming with db $$ and fix a COV in db 2015-08-17 10:34:47 +02:00
Riccardo Schirone
2518c9e21c core/core: add scr.promptflag variable 2015-08-11 16:03:07 +02:00
pancake
7e9c260254 Enhace the Material WebUI and add fs-. command,
- Rebumped Overview
  - Show info in columns
  - Show fortunes
- Handle Ctrl+[0-9]
- Analyze refs and show entire function from pd
- Search more stuff (magic,hex,rop,code,..)
- Script panel
- Lists using tables
2015-07-17 11:21:04 +02:00
pancake
bdfbc4f076 Fix several COVs, and build issues related to appveyour 2015-07-13 11:21:21 +02:00
pancake
ec1172636d Make fl more powerful 2015-07-09 22:21:41 +02:00
Álvaro Felipe Melchor
80fd03f74e Fix #2797 2015-06-20 17:30:45 +02:00
pancake
347d383022 Fix helloworld-gcc-elf asan crash 2015-05-12 17:53:18 +02:00
pancake
3c99fc7ebc Handle f*pfx to list flags with base prefix r2 format 2015-05-07 12:12:55 +02:00