30668 Commits

Author SHA1 Message Date
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
39c794fef1 Improve syscall search results on x86 (/as) ##search 2023-06-29 23:46:48 +02:00
pancake
64e443156f Unsigned capstone init option only for x86 ##arch 2023-06-29 23:46:48 +02:00
pancake
59944c7293 Improve plugin resolution ##arch 2023-06-29 23:46:48 +02:00
pancake
2411add834 Minor optimization in r_anal_block_op_starts_at ##analysis 2023-06-29 23:46:48 +02:00
pancake
f9719a4ee1 Document R2R_OFFLINE ##tests 2023-06-29 23:46:48 +02:00
pancake
ddc3c2daee Fix return code when running r2r against .c files ##tests 2023-06-29 22:46:51 +02:00
pancake
ffd9855e80 Fix left shift of negative value in the arm assembler 2023-06-29 14:28:20 +02:00
pancake
b1a5e95639 Improve 'abl' output for readability 2023-06-29 13:08:16 +02:00
pancake
433b283e65
Use the internal RVector in mach0.vapa ##bin 2023-06-29 11:30:35 +02:00
pancake
56c3f083b2 Implement 'wao+' command and remove RCore.hackHelp() ##write
* wao+, writes an opcode and seeks after that
* useful usecase to write 3 nops at main: '3wao+nop@main'
2023-06-29 07:03:43 +02:00
pancake
12b46a6b4e Add r2diaphora reference in the readme ##doc 2023-06-28 21:01:53 +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
114096b8c4 Some code random cleanups 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
Pikachu
496f2d8b79
Fix a couple of null derefs in zdiff and ls 2023-06-28 16:38:53 +02:00
neo-one0873
2260ef1a4a fix: null pointer dereference
[op] is null dereferenced here
2023-06-28 09:50:22 +02:00
pancake
af742c05f6 Fix null deref when quitting with core plugins loaded 2023-06-28 03:03:32 +02:00
pancake
d5b5be2c7d Smol ref->type masked improvements ##analysis
* This patch is part of the big fix-axg PR
2023-06-27 20:19:04 +02:00
pancake
1016090198
Harmless code cleanups and minor improvements here and there 2023-06-27 19:47:14 +02:00
pancake
a0457bee32 Fix null deref in RConfig.init when 'git' is not installed 2023-06-27 18:43:05 +02:00
Luc Tielen
41fe76732b Refactor qjs code ##lang 2023-06-27 18:12:50 +02:00
Luc Tielen
df34050a68 Add find_index function to RVec ##util 2023-06-27 18:12:50 +02:00
Luc Tielen
52e0276db5 Update find to take any value type for more general use ##util 2023-06-27 18:12:50 +02:00
Luc Tielen
4079b88e44 Add find function to Vec ##util 2023-06-27 18:12:50 +02:00
pancake
777463159f
Fix #21970 - Null checks in the R_LOG api ##crash 2023-06-27 18:10:00 +02:00
Luc Tielen
1a23c5936a Remove global state in arch plugins 2023-06-27 17:21:15 +02:00
Luc Tielen
72bf1d6357 Add extra R2_590 TODOs 2023-06-27 17:21:15 +02:00
Hertatijanto Hartono
2f5e236c19 Rework e? and e?? commands for better output 2023-06-27 15:12:11 +02:00
Luc Tielen
a2a4597924 Fix failing qjs tests 2023-06-27 11:45:23 +02:00
Luc Tielen
a40d2e8006 Fix removing core plugins from Lc after L- ##core 2023-06-27 11:45:23 +02:00
Luc Tielen
64e2b0efd5 Mark init, fini, and decode arch callbacks as const ##arch 2023-06-27 11:45:23 +02:00
Luc Tielen
d11b0ec51c Remove global state from qjs plugins ##arch 2023-06-27 11:45:23 +02:00
Luc Tielen
c84e82bd49 Go back to multiple plugins for qjs core plugins 2023-06-27 11:45:23 +02:00
Luc Tielen
83d0616da9 Only have 1 generic qjs plugin ##core 2023-06-27 11:45:23 +02:00
Luc Tielen
836741b7ae Allow N > 5 qjs plugins ##lang 2023-06-27 11:45:23 +02:00
pancake
a6edeac3d4 Add more function preludes for arm32 ##analysis 2023-06-26 20:08:29 +02:00
pancake
3f410c5dc6 Fix recently introduced oobread asan crash 2023-06-26 19:27:17 +02:00
pancake
257bbc8c38
Fix some missing xrefs in /re $$ ##analysis 2023-06-26 18:22:25 +02:00
pancake
ed5cd2c084 Improved unaligned cases in the listings ##disasm 2023-06-26 17:01:46 +02:00
Hertatijanto Hartono
218ee9b1fc Fix link to esil.7 man page 2023-06-26 12:07:51 +02:00
pancake
9183a4b92e Reference abc command in the afbc help message ##shell 2023-06-25 15:25:00 +02:00
Pikachu
0fa549134b Null deref in rasm2 ##asm 2023-06-25 13:45:17 +02:00
pancake
2c188db1d3 Fix division by zero when pcalign is 0 ##arch
* Reproducible on the pic18 disassembler
2023-06-25 13:42:01 +02:00
pancake
ce6ea09f90 Handle 'asm.os=android' syscall as an alias for 'linux' ##analysis 2023-06-25 12:59:32 +02:00
Luc Tielen
533aeeb6a3 Add cursor mark to ds_print_data_type ##core 2023-06-24 18:36:54 +02:00
Luc Tielen
22e1bdd3c4 Refactor show flags into single showMode bitset ##abi 2023-06-24 18:36:54 +02:00
Luc Tielen
129616a175 Add cons mark for cursor in ds_print_show_cursor ##core 2023-06-24 18:36:54 +02:00
Luc Tielen
6987065691 Change return type for r_bin_dwarf_parse_aranges ##abi 2023-06-24 18:36:54 +02:00