1131 Commits

Author SHA1 Message Date
pancake
79c201b378 Add anfl command and anal.slow to bring back the old autoname functionality ##analysis 2024-01-19 10:44:30 +01:00
pancake
0c877230c5
Fix op_pos oobread crash in ollvm'd binary ##crash (#22535)
Thanks @apkunpacker for reporting
2024-01-14 19:19:37 +01:00
pancake
0acfd3d395
Use RBinName in RBinSymbol ##bin 2023-12-22 01:51:42 +01:00
pancake
0ec20ce172 Initial support for xref sizes ##analysis 2023-11-22 00:12:22 +01:00
pancake
ad17908998 Implement axt, - for table listing xrefs ##analysis 2023-11-21 23:47:36 +01:00
pancake
d573f98037 Remove the unused RAnal.fcnDelLocs() 2023-11-15 22:56:36 +01:00
pancake
4fc81225c3 Implement r_anal_function_del_signature ##analysis 2023-10-26 12:53:55 +02:00
pancake
02c2039c00 Initial backtrace API and commands (abt) ##analysis 2023-10-06 12:56:37 +02:00
pancake
32da2e8354 Move few leftovers from RAnal into REsil 2023-09-12 17:46:00 +02:00
pancake
0f099f3aef Fix warning in aar when checking icod refs on unallocated memory ##analysis 2023-09-06 17:37:11 +02:00
pancake
7d7a6763b6 Add Cb - bind metadata type to draw reflines for data pointers ##analysis 2023-08-30 01:15:47 +02:00
pancake
721164469e Add RAnalBlock.esil and abe command to manipulate it ##analysis 2023-08-26 04:00:52 +02:00
pancake
c15ace8508 Initial support for D calling convention ##analysis
* Only for x86-32 for now
* Uses a reverse register list for passing arguments
* See libr/anal/d/README.md for more details
* Support ret2 (to return 64bit values)
* Add fcn->realname for demangled names
2023-08-25 20:00:33 +02:00
condret
7ea07906cd Add r_anal_function_get_graph ##anal 2023-08-25 10:19:15 +02:00
Luc Tielen
c173e550ff Add r_anal_xrefs_has_xrefs_at function ##anal 2023-08-08 15:22:49 +02:00
Luc Tielen
4f6e2547d8 Remove duplicate xrefs delete function ##anal 2023-08-08 12:12:35 +02:00
Mewt R
5280cc46a1 R_API function to count xrefs at a specific address ##anal 2023-08-06 08:52:16 +02:00
pancake
0fdc819c1c Delete anal->uses 2023-08-03 11:48:03 +02:00
pancake
bcfe04e82c Reimplement the a2f core plugin into an analysis one ##analysis
* TODO: Remove the core/p/core_a2f.c and update the tests
* a:a2f vs a2f seems like a bad name change,
* maybe rename the plugin to a:f ? :think:
2023-07-31 11:54:29 +02:00
Luc Tielen
6cd0ae6c54 Refactor vec generate macro ##util 2023-07-18 11:59:15 +02:00
pancake
6a9c8019fa Compute depth and save it in the bb ##analysis 2023-07-17 19:58:54 +02:00
Luc Tielen
e9e85a6570 Save a bit of memory in xrefs implementation ##analysis 2023-07-17 19:16:00 +02:00
pancake
42b63944aa Remove reg-related callbacks from analplugins too 2023-07-11 12:07:19 +02:00
pancake
8ea2b2e2c5 Remove some more analplug fields and add RMem.set() 2023-07-11 12:07:19 +02:00
pancake
52a738bdcb Implement the new RAnal.cmd() ##api 2023-07-11 12:07:19 +02:00
pancake
9ffd6f029a Initial deprecation of the current RAnalPlugin ##abi 2023-07-09 12:31:48 +02:00
pancake
a239725631 Fix esil plugins by removing leftover and adding aeL command ##esil
* aeL -> list all esil plugins
* aeL name -> initialize this plugin
* aeL-name -> deinitialize this plugin
2023-07-06 01:05:22 +02:00
pancake
b3469bb6cf Migrate the LAST and final boss X86 plugin ##arch
* anal.cc tests are the only tests marked as broken
* Bonus points: minor code cleanup here and there
* Thanks to Luc for all the work and chats to make it happen
2023-06-29 23:46:48 +02:00
pancake
964834db8a Use r_anal_ref_typemask() to sanitize xref types and update tests ##analysis 2023-06-28 20:48:57 +02:00
pancake
c8d18b8123 Add and use the new Indirect Code XREF type to improve code coverage ##analysis 2023-06-28 20:48:57 +02:00
pancake
c9efae743b Add the new r_anal_data_type() for better data type detection ##analysis
* Kind of the .kind() method, but using a different approach
* Good for experimentation and looking forward to get better data analysis
2023-06-28 20:48:57 +02:00
pancake
1016090198
Harmless code cleanups and minor improvements here and there 2023-06-27 19:47:14 +02:00
Luc Tielen
a40d2e8006 Fix removing core plugins from Lc after L- ##core 2023-06-27 11:45:23 +02:00
pancake
ddc31c216c Add RAnalFunction.traceCoverage() api and info in afi/afl/abi/.. ##analysis 2023-06-23 21:38:46 +02:00
Luc Tielen
e04d50f8e6 Remove grep for 570 (all fixed), update older R2_580 to 590 ##abi 2023-06-20 19:34:54 +02:00
pancake
eb0f571be7
Minor bugfix/improvement when ninstr == 0 ##analysis 2023-06-20 19:31:47 +02:00
Luc Tielen
5fda141d1d Migrate arm_cs plugin ##arch 2023-06-16 22:23:09 +02:00
pancake
bfcb1c0022 Deprecate r_anal_op_hexstr() ##api 2023-06-16 21:31:04 +02:00
Luc Tielen
d1ee5c33b5 Migrate dalvik plugin ##arch 2023-06-16 21:10:09 +02:00
Luc Tielen
59dc247eea Migrate 8051 plugin ##arch 2023-06-16 19:09:59 +02:00
pancake
5ad8cf97f2 Migrate the mips.cs plugin ##arch 2023-06-16 13:58:02 +02:00
Luc Tielen
428d50708d Migrate the AVR plugin ##arch
* Remove leftovers from migrating old plugins
* Wire up esil callback for plugins
* Add workaround for showing registers for AVR
* Put 590 comment to cleanup esil from anal struct
* Make asm depend on crypto also
2023-06-15 16:07:10 +02:00
pancake
c42adcf1d5 Add all-xrefs listings in 'afi' and 'afij' ##analysis
* This will make some tools/scripts run slower if they use those commands
  ideally we may want to move this info to `afix` or something, but then
  we will break the tools too. So that needs discussion before merging.
2023-06-15 13:50:49 +02:00
pancake
af8a1a365d
Migrate the arm.gnu plugin ##arch 2023-06-14 19:52:25 +02:00
pancake
f6b4acf809
Migrate the gameboy plugin ##arch 2023-06-14 14:27:10 +02:00
Luc Tielen
86b7f47db9
Remove several R2_590 ifdefs ##abi 2023-06-13 13:38:23 +02:00
Luc Tielen
8c3ce37255 Migrate java plugin ##arch 2023-06-01 18:18:27 +02:00
Murphy
a54704e95d
Migrate i8080 with full refactor ##arch 2023-05-31 19:26:22 +02:00
Luc Tielen
2886bd62e1 Migrate ppc_cs plugin ##arch 2023-05-16 14:41:40 +02:00
Luc Tielen
10ccac1f56 Migrate sparc_cs plugin ##arch 2023-05-08 15:37:23 +02:00