29 Commits

Author SHA1 Message Date
Francesco Tamagni
78b6cdeaaf Expose flag_get_list to RFlagBind 2020-05-03 17:55:20 +02:00
Óscar Carrasco
38486d5cfa
Enhance the way imports are processed in r_anal_function_get_signature ##types (#16211) 2020-03-13 22:28:25 +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
Florian Märkl
cab7a195ba Fix comment about RFlag.ht_name (#15427) 2019-11-07 12:24:30 +01:00
dodococo
84a326c674 Fixes #14672: f= gives output from current flagspace (#14820) 2019-08-17 22:44:20 +08:00
Khairul Kasmiran
c5d57d0863 Add comment that demangles calls if asm.demangle=true 2019-07-15 12:20:19 +02:00
pancake
5114c1f47a Fix #13823 - Implement ftj and ft* commands ##core 2019-04-23 03:27:58 +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
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
Florian Märkl
fdbb87d70e Heavy refactoring and sdbify the classes storage+logic ##anal
* New commands: aCb, aCm, aCmn, aCll, aClj, aCv, aCm, aC-, aCm-
* Fix Segfaults and Leaks in RTTI classes recovery
* Accept .?AU as prefix for msvc class name demangling
* Classes recovery refactoring
* Skip own type descriptor in msvc classes recovery
* Cleanup msvc rtti address calculation
* Recover vtable, classes, base class, virtual methods from MSVC RTTI
* Add flags for vtables and methods
* Add r_str_sanitize_sdb_key()
2018-12-29 11:16:33 +01:00
Riccardo Schirone
f77ecfb357 Upgrade SDB and use the new HtPP, HtUP, HtUU ##refactoring
* sdb-sync: update to commit ea05ca8808605daa683a2b35f143e24c3a70f0c9
2018-11-14 10:47:28 +01:00
Riccardo Schirone
6945016035 Small optimization and bugfix when auto-renaming functions ##anal
* anal/fcn: add function to RFlagSpace when adding it to RAnal
* make sure to add the flag in the right flagspace
2018-10-31 17:57:05 +01:00
radare
a96d85e0a8
Modernize RFlag with asserts, boolified and more ##refactor 2018-10-30 04:36:02 +01:00
pancake
92f5af1e79 Upgrade to the latest Sdb 2018-10-02 05:18:39 +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
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
Riccardo Schirone
8dff0e0106 Fix #9682 (#9810)
* core: fix a couple of segfaults when dealing with large inputs
* core: clone matched flags before executing @@, to prevent UAF
* check for NULLs
* gitignore: ignore autosave Emacs files
* libr/flag: remove assert header
2018-04-05 18:27:26 +02: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
Karlis Senko
835764814a Use skiplist for offset->flag mapping instead of hashmap.
Using skiplist allows more efficient nearest flag lookups.
2017-07-24 01:52:00 +02:00
yetmorecode
1fc8a829b3 Added fss, fssj and fss* ans some minor improvements in fs (#7392) 2017-05-02 05:46:43 +02:00
alvarofe
f33febdd4f Remove r_db.h 2017-02-24 23:42:17 +01:00
alvarofe
8307af0b10 Use ht_* from sdb in flag.c & r_flag.h 2017-02-24 23:42:17 +01:00
pancake
72e874c2ac Fix noreturn issue introduced with the flag_get_at aproximation 2016-12-01 10:48:00 +01:00
pancake
72b2249110 aae now flag all syscalls found in the binary 2016-11-15 12:55:09 +01:00
pancake
d41b577106 Fix #5924 - r_flags -> r_flag 2016-10-27 01:07:58 +02:00