25 Commits

Author SHA1 Message Date
Basstorm
d1d4deb3c4 Fix duplicate vtable entries after 'aaa' ##anal
Co-authored-by: parallels <parallels@vmdevelop.lan>
2021-03-15 02:09:00 +01:00
eagleoflqj
651398d6af atoi -> atoll 2020-11-10 12:23:46 +08:00
eagleoflqj
fba6741ed2 fix raspbian32 db/cmd/cmd_ac 2020-11-10 12:23:46 +08:00
Hex
6ea0a08ecf
Add cfg.json.* encoding options (#17681) ##json 2020-10-27 11:46:27 +01:00
karliss
bdb88df38c
Graph refactor ##refactor (#17631)
* Support more output modes for class inheritence graph.
* Refactor codexrefs and importxrefs graphs.
* Add ag_w for the commands using new mechanism.
* Separate drawable graph from r_graph.
2020-10-06 10:57:51 +08:00
HoundThe
2b96c39e90
Don't add already existing parent class ##anal (#17537) 2020-09-02 10:58:15 +08:00
HoundThe
2b882ce7ca
Coverity fixes ##anal (#17454) 2020-08-14 13:15:41 +08:00
HoundThe
b44b8cb405
Add acg - printing class hierarchy graph ##anal (#17362)
* add `acg` - printing class hierarchy graph
* Move the printing into the cmd_anal.c from returned RAGraph
* Change API to return Graph and transform it to AGraph when printing is necessary
* Move graph to agraph into agraph module, move generic node structure to rgraph, removing unnecessary dependency
* Move RGraphNodeInfo related functions to graph.c
2020-08-07 17:23:52 +08:00
HoundThe
5b1a8582a8
Add acll (class_name) to print class information ##anal (#17331)
* Added printing of single class information "acll (class_name)"
* Added `acllj (class_name)` for the JSON output
2020-07-24 13:20:31 +08:00
Riccardo Schirone
70e3d3bc56
Fix compiler warnings (#17046) 2020-06-12 10:26:55 +02:00
pancake
75ee57bfb0
Update SDB with boolified SdbForeachCallback (#17040) 2020-06-11 11:25:23 +02:00
Francesco Tamagni
d8b1e6952e Improve itanium RTTI parsing and vtable search ##anal
- add support for arm/arm64
- simplify the heuristics for carving the start of vtables in data const section to not rely on xrefs, instead look for mandatory vtable fields (only for itanium ABI)
- add support for classes recovery from itanium RTTI
- add class name demangling for itanium RTTI
- relax the requirements for detecting the typeinfo flavor, in absence of flags just assume the simplest kind so at least the class name is there
- expose more info from RTTI structures
- use PJ for printing json
2020-05-03 17:55:20 +02:00
pancake
71d3709d25 Fix last covs 2020-03-20 13:58:12 +01:00
HoundThe
5bb50f6a26
Add acvf command and devirtualizing vtable method calls (#16157) ##anal
* Add cmd: acvf [offset] ([class name])
* Added option to search all vtables
* Added simple test
2020-03-10 14:08:14 +01:00
radare
d96120799d
Added size info to anal classes (#16129) ##bin 2020-03-05 18:06:27 +01:00
Florian Märkl
14215350af Refactor RAnal Basic Blocks and Functions (#15169) ##anal
Basic Blocks are now global instead of owned by a single function.
2020-01-15 15:23:34 +01:00
Florian Märkl
d16b0903d5 Fix aclj 2019-03-17 19:13:06 +01:00
Riccardo Schirone
eae19137b9 Use macros for common flagspaces names instead of hardcoding them (#13175) 2019-02-23 01:31:06 +01:00
Florian Märkl
394e2e6c2f Make Class Attr Events more fine-grained 2019-02-06 22:07:27 +01:00
Florian Märkl
839362c169 Add REvents for Anal Classes 2019-02-06 22:07:27 +01:00
Florian Märkl
73a7d63df4 Store Anal Classes list in own SDB Namespace ##classes 2019-01-11 10:03:18 +01:00
Florian Märkl
a25f652926 Rename ac -> aoc, aC -> ac, Fix help ##anal 2019-01-04 00:42:50 +01:00
dav1901
83873cd0f2 Fix few covs (#12589) 2018-12-30 12:14:15 +01:00
dav1901
d05a119081 Fix few minor leaks (#12584) 2018-12-30 01:37:14 +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