Commit Graph

120 Commits

Author SHA1 Message Date
pancake
b63e146300 Fix ft help message and install flag tags file 2018-05-27 15:55:33 +02:00
pancake
4d61d66e29 Add support for the Zig programming language 2018-05-16 17:12:17 +02:00
pancake
81f7182800 Initial import of the flag tags registry and minor fixes for 'ft' 2018-05-11 17:18:36 +02:00
pancake
04108092f4 Initial implementation of flag tags 2018-05-11 04:39:08 +02:00
pancake
aa13c0269d Implement cu[1248] command 2018-04-03 00:34:07 +02:00
sivaramaaa
2f76b33769 Fix #9470, fix fd. to print all flags at given offset (#9504) 2018-02-25 10:31:33 +01:00
fcasal
53df70fbd3 fixed segfault due to uninitialized pointers (#9452)
running `while true; do r2 /bin/ls -q -c 'fdw 0xfffffffff' ; done` crashes sometimes due to uninitialized pointers lmatch and umatch in line 862.
2018-02-21 23:11:05 +08:00
Daniel Corak
0776eee011 Fix for bug with fd* commands (#9175)
* Added missing space

* Fix for bug with fd* commands
2018-01-12 09:47:42 +01:00
Daniel Corak
eac9dda866 Implemented JSON output for all fd* commands (#9174) 2018-01-11 22:22:32 +01:00
pancake
e43107d1ca r_str_chop_ro, r_str_trim_const -> r_str_trim_ro 2018-01-08 03:29:29 +01:00
pancake
335938be58 r_str_chop -> r_str_trim 2018-01-08 03:22:26 +01:00
sivaramaaa
49f9d46664 Implement fdw command 2017-12-19 22:49:30 +01:00
pancake
e985e0b9ed Speedup aav even more, from 0.15s to 0.06s 2017-12-10 12:53:06 +01:00
pancake
3068b2d270 Implement fO command to ordinalize flag names matching a glob 2017-12-02 02:11:22 +01:00
pancake
3649a190b8 Fix #8871 - Implement ffs command 2017-11-23 17:08:05 +01:00
pancake
2c39e67d80 Initial implementation of the 'ff' command to check the distance between flags 2017-11-23 14:34:07 +01:00
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