163 Commits

Author SHA1 Message Date
Khairul Azhar Kasmiran
74d832d0b9
Add [?] to fd help entry (#16058) 2020-02-26 14:24:12 +01:00
Anton Kochkov
9ae41ae69f
Revert "Avoidify the RUtil.strTrim() APIs, rename trimHeadTail() and add asserts in RConfig ##refactor" (#16055)
This reverts commit 38b61c7bcfe55a727b9c3cedbc0f3147018e7c6b.
2020-02-26 09:59:04 +08:00
radare
38b61c7bcf
Avoidify the RUtil.strTrim() APIs, rename trimHeadTail() and add asserts in RConfig ##refactor 2020-02-25 17:53:09 +01:00
Itay Cohen
0ad05eb090
Support real names in "fd" command (#16027)
* add tests for fdj and fd.j
* Add support for realnames in fd
* Add a Test for fd with realname

Co-authored-by: Florian Märkl <info@florianmaerkl.de>
2020-02-23 10:08:04 +02:00
pancake
84436bfaad Implement ar, and dr, commands to list registers in table format ##cons 2020-01-19 22:56:47 +01:00
pancake
1d42b95e78 Add f, command to list flags in table format ##table 2020-01-19 22:56:47 +01:00
Anton Kochkov
d0a915458a Coverity fixes 2020-01-19 20:37:29 +08:00
Anton Kochkov
b4de5c5113 Some more coverity fixes (#15802) 2020-01-14 12:57:34 +01:00
Florian Märkl
9ff090b9b8 Refactor r_flag_color() to r_flag_item_set_color() (#15429) 2019-11-07 12:46:08 +01:00
pancake
5ae3b786e0 Support 'f foo+=4' and 'f foo-=4' syntax for flags ##core 2019-11-05 02:55:06 +01:00
radare
e0e593c94c
Show flagname and realname in json format for fnj and such ##json 2019-10-28 16:46:14 +01:00
radare
27e68f0005
Fix #14247 - fn.j/fnj. show all flags in current offset, not just one ##core (#15374) 2019-10-28 16:08:33 +01:00
GustavoLCR
125629765a Fix #15147 - Fix spaces renaming (#15158)
* Also trim new flag space names
2019-10-01 12:13:35 +08:00
pancake
fca09fab22 Fix #14716 - Honor local flags in RParse ##disasm 2019-09-02 00:37:20 +02:00
dodococo
84a326c674 Fixes #14672: f= gives output from current flagspace (#14820) 2019-08-17 22:44:20 +08:00
pancake
acbf4ddd1a Revert that flagsize fix 2019-07-30 13:02:03 +02:00
pancake
094dbf331b Fix 1 byte oob read issue 2019-07-30 04:57:53 +02:00
dodococo
2da973ed24 Fix #14335 - Add sort, join and uniq ##core 2019-06-20 13:11:37 +02:00
radare
a49bb7cf66
Change the signature of r_str_trim to avoid confusions ##refactor 2019-06-16 20:58:40 +02:00
radare
7ffe2599a1
Fix is.j and implement Cs.j to please r2dec (#14113) 2019-05-20 14:57:17 +02:00
pancake
6ed68c1252 Implement fg command to create a graph of flags (WIP) ##graph 2019-05-18 12:22:46 +02:00
Vanellope
c42d25c255 Improve visual mark ##visual 2019-05-11 10:09:17 +02:00
pancake
d8b283f8c6 Improve the RFS API to support write and unlink operations ##fs
* In fs_r2: /seek and /bsize and fix flags and config writes
* fs.shell supports echo and redirections '>'
2019-05-10 11:25:35 +02:00
Itay Cohen
2199df794e Add json output to "fd." ##flags 2019-05-09 16:49:27 +02:00
pancake
5114c1f47a Fix #13823 - Implement ftj and ft* commands ##core 2019-04-23 03:27:58 +02:00
Siguza
156776433f Add realname flag command ##flags 2019-04-19 22:45:36 +02:00
radare
aaf93c20d5
More improvements in the current flagtags and ftl->ftw ##flags 2019-04-19 16:54:53 +02:00
pancake
013fa94c7b Implement ftl and add more flag tags ##flags 2019-04-19 14:19:19 +02:00
radare
188759b7e2
Implement fq. fj. and f*. - show flag in current offset commands ##core 2019-04-15 03:08:22 +02:00
radare
365a534505
Fixes for flagzones and scr.scrollbar ##visual (#13698)
* scr.scrollbar (0=no,1=right,2=top,3=bottom)
2019-04-11 06:48:22 +02:00
dogtopus
51824a255b Make flag comments base64-compatible ##core 2019-04-01 01:02:56 +02:00
radare
674504a90c
Fix #13333 - Show flag zones in scr.scrollbar ##visual 2019-03-29 16:10:59 +01:00
Lowly Worm
30264306a0 Make function to allow grabbing the flags by order of importance in flagspace ##core
* use relsub addr
* kill i2, grab top of list when not in preferred spaces
* Add r_core_flag_get_by_spaces
* Remove r_flag_get_i2 and use r_core_flag_get_by_spaces
* Fix fcn name from flag
* Better consistency: flag_get instead of get_flag
* Quickpath for just one flag
2019-03-05 23:43:49 +01:00
Riccardo Schirone
e5b4d9294c Use RSpaces in RFlag ##refactor 2019-02-03 09:06:45 -06:00
blenk92
20bfe7117d Introduce fnj command (#12923) 2019-01-28 17:11:11 +08:00
Riccardo Schirone
320a258977
Remove flag list in RFlags and just use hashtable (#12703)
* Do not directly use flags->flags, but use r_flags_foreach functions
* Remove list of flags because unnecessary
* Do not free flagitem when we just need to change the name(aka key)
* Use skiplist to iterate, so we get order for free
* Use RIOMap instead of RIOSection which is being killed
* Free flagitems when ht is freed

There's already the hashtable that can serve to iterate all flagitems.
2019-01-14 14:15:12 +01:00
radare
ab3a7be704
Almost completely kill RIOSection from io and core (-218LOC) ##refactoring
* Use RBinSection, RDebugMap or RIOMap instead
* Remove omps command
* Fix segfault in ?E+
* Improve anal.eobjmp (bug spotted after almost killing iosections)
2019-01-13 03:07:51 +01:00
pancake
8150c502ba Bring back f-.localflag (same as f.-localflag) 2019-01-04 00:31:22 +01:00
dav1901
c1f30de193 Minor code cleanups free/R_FREE (#12157) 2018-11-14 21:23:20 +01:00
radare
522ab3c84f
Fix #11460 - Show help message for unhandled f subcommands (#11547) 2018-09-17 09:50:31 +02:00
pancake
447116022e Fix asan crash in the fi command 2018-08-03 15:33:27 +02:00
cyanpencil
b747592598 Add asm.flags.real option disabled by default 2018-07-05 00:55:51 +08:00
cyanpencil
c90d548082 Fix linking error in flag.c 2018-07-05 00:55:51 +08:00
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