Khairul Azhar Kasmiran
1cec1e7419
Null deref, asm.tabs ovf and capstone3 fixes
2021-03-15 02:24:16 +01:00
pancake
7ff2673dd9
Random uninitialized variable uses fixups ( #18453 )
2021-03-15 02:23:39 +01:00
Basstorm
d1d4deb3c4
Fix duplicate vtable entries after 'aaa' ##anal
...
Co-authored-by: parallels <parallels@vmdevelop.lan>
2021-03-15 02:09:00 +01:00
pancake
793c0b00a2
Fix memory leak librz/analysis/dwarf_process.c ( #18461 )
...
Co-authored-by: Alexis Ehret <08a@riseup.net>
2021-03-15 01:16:37 +01:00
pancake
338d4d3915
Fix cX command and minor cleanup ##anal ( #18451 )
2021-03-14 21:52:52 +01:00
pancake
ed6f351634
Fix PSW register bits definition for v850 ##anal
2021-03-14 19:38:14 +01:00
pancake
acf469352c
Add support for jump tables on v850 ##anal ( #18447 )
2021-03-14 18:59:40 +01:00
condret
eb48818342
Rename r_io_map_get to r_io_map_get_at ##io
2021-03-12 17:56:46 +01:00
Sylvain Pelissier
676cb56b4c
Correct MOVD instruction and SSE registers definition ( #18437 )
2021-03-11 22:01:23 +01:00
pancake
9d828c7fae
Fix RAnalFunction.free signature ( #18425 )
2021-03-08 15:45:30 +01:00
condret
ca8dab9b1c
Apply desired lifecycle of esil syscall and interrupt handlers in esil_dummy plugin ##emu ##api
2021-03-04 19:18:19 +01:00
condret
65f0c42131
Add r_anal_esil_{syscall/interrupt}_{get/del} ##esil ##api
2021-03-04 19:18:19 +01:00
condret
f13f523907
Add dummy interrupt and syscall handlers ##emu
2021-03-04 19:18:19 +01:00
pancake
10e7edbba2
Fix SN register value for linux-arm64 ##anal
2021-03-02 00:50:45 +01:00
pancake
9c48816b6f
Detect shift for the first switch case ##anal ( #18336 )
...
* Improve switch jmptbl analysis
* Splitting a block takes switch table in consideration
* Fix gcc 9.2.0 kind of x86_64 jumptables ##anal
2021-03-01 22:39:37 +01:00
pancake
a08c89eb10
Fix warnings found on 32bit and --with-check-levels=0
2021-02-27 01:01:22 +01:00
pancake
2bed411446
Boolify all the ESIL callbacks ##esil
2021-02-24 17:13:30 +01:00
pancake
ec40935090
Fix some asserts and nullderef spotted on arm64 ##esil
2021-02-24 17:13:30 +01:00
condret
7f0f072e39
Esil plugin management APIs ##esil ( #18371 )
...
* Implement esil plugin management (activate+deactivate)
* Add r_anal_esil_{get/del}_op ##esil
* Add dummy_op to esil_dummy
* Fix deactivating plugins on r_anal_esil_free ##esil
* Add local getter for active esil plugins ##esil
2021-02-19 10:24:48 +01:00
pancake
fb701eba1b
Fix compilation warnings on some build types
2021-02-18 18:33:25 +01:00
Pamplemousse
8841faf4ae
prefer_linkage_name
fails if ctx->lang
is NULL
...
Signed-off-by: Pamplemousse <xav.maso@gmail.com>
2021-02-14 23:22:42 +01:00
pancake
0a155498bc
Fix c89 warnings
2021-02-11 16:01:48 +01:00
pancake
be2b804cf7
Honor anal.depth in a more consistent way ##anal ( #18328 )
...
* Speedup an unnecessarily slow riscv test
2021-02-10 13:01:31 +01:00
pancake
0cc2cdd200
Honor afbc in graph and disasm and improve output in JSON ##graph ( #18341 )
2021-02-09 14:23:25 +01:00
Khairul Azhar Kasmiran
e786676bc4
Reclassify some AVR instructions away from SWI ##anal
2021-02-07 01:12:36 +01:00
pancake
0131d7901a
Code cleanup in c55x and random dead assignments deleted
2021-02-06 03:30:53 +01:00
Alexis Ehret
2ad3b4daaa
Fix dead nested assignment in reflines.c
2021-02-06 03:30:53 +01:00
pancake
b6d1476674
Reduce stackframe in fcn_recurse ##anal
...
* This function is called recursively for each basic block
* Limits the size of functions that can be analized (anal.depth)
* The r2 -A Ch34 almost works now.
* Moving from stack to heap is not the right solution
2021-02-03 18:55:18 +01:00
condret
89ff9aaf6e
Implement esil syscalls #18029 ##anal ( #18144 )
2021-02-02 19:58:21 +01:00
pancake
9d7c56ab25
Fix binary mask shifting undefined behaviour issue in anal.arm64
2021-02-01 23:14:34 +01:00
ChD1
580bdf2c52
Fix some bugs in dex.c, marshal.c, panels.c and other code optimization and fixel ( #18297 )
2021-01-27 10:53:50 +01:00
Kamil Rytarowski
9d761f6a88
Avoid array subscript type issues ( #18295 )
...
Cast char to unsigned char for standard reasons and security purposes.
Fixes build issues on NetBSD.
2021-01-26 13:08:58 +01:00
Kamil Rytarowski
de01f2d7db
Define PYC_ROOT and WASM_ROOT ( #18290 ) ##build
...
Avoid passing -I as this is a non-portable construct.
Caught in pkgsrc on NetBSD.
2021-01-25 22:22:39 +01:00
pancake
51145a117a
Fix some of the last coverities related to UAF and OOBREAD
2021-01-25 03:08:33 +01:00
Qijia Liu
b8afdf8d7d
Fix memleak in db/formats/mangling/mangling
2021-01-25 02:37:21 +01:00
pancake
07b466f61b
Warn once about the missing anal.cc ##anal
...
* fix anoying warning on archs with dynamic or unknown regprofiles
2021-01-25 00:55:09 +01:00
Paul I
77455b1c64
Fix memleaks in ESIL op handlers ( #438 )
2021-01-25 00:34:58 +01:00
Giovanni
e55d7c033b
Patching AVR ao wrong output on rjmp instruction ( #415 )
...
* Patching AVR ao wrong output on rjmp instruction
* Fixed test output
* Add AVR RJMP test
Co-authored-by: Anton Kochkov <anton.kochkov@gmail.com>
2021-01-25 00:34:58 +01:00
pancake
148cdb9665
Fix UB with undeflow on anal.x86_cs
2021-01-25 00:32:45 +01:00
condret
a8b86d15e8
Some memory access sanitization for anal_x86.cs ##emu
2021-01-24 23:29:17 +01:00
pancake
c30bb618d2
Fix invalid left shift on dalvik parser
2021-01-24 19:54:26 +01:00
pancake
c889cbadf7
Fix build for capstone5 ##build ( #18273 )
2021-01-24 19:09:43 +01:00
pancake
ce4e941043
Fix HUGE bottleneck in the WebAssembly pseudo disassembler and analyzer ##disasm ( #18269 )
2021-01-24 18:30:36 +01:00
pancake
cd6a439151
Add support for RAnal.ESIL plugins ##esil ( #18206 )
2021-01-24 16:39:45 +01:00
pancake
a7bb374c62
Update libr/anal/esil_dfg.c
2021-01-22 01:22:24 +01:00
ChD1
c593041309
Fix some bugs in esil_dfg.c
2021-01-22 01:22:24 +01:00
aemmitt-ns
f3cce89d41
refactor arm64math and helpers, add L*,S2D,U2D
...
fix u2d to be unsigned
fix and improve formatting
one more format fix
add fmul with vector test
fix zig tests
2021-01-19 23:05:11 +01:00
aemmitt-ns
bff0adf088
add a ton of supporting code for vector instructions
...
achieve working vector instructions
2021-01-19 23:05:11 +01:00
aemmitt-ns
2dc88c63b7
add floating point instructions to arm64 esil
...
fix div by zero compiler issue
update arm64 register profile
fix floating LT,LTE, fix FCCMP,CCMP, add 128 bit vector regs
2021-01-19 23:05:11 +01:00
condret
d8c8851a42
Fix x86_cs cmpbs esil ##anal ##esil ( #18251 )
2021-01-19 17:23:36 +01:00