3939 Commits

Author SHA1 Message Date
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
pancake
0dbc4ee537 Add missing files and remaining patches from import 2021-01-19 05:37:17 +01:00
wargio
3de5f99e68 AVR: Fixed profile, (null) instruction and anal ##rizin 2021-01-19 05:37:17 +01:00
Alexis Ehret
a3f05a9b1a Fix dead increments in places 2021-01-19 05:37:17 +01:00
wargio
085125b4ba Fixed ACR build scripts to build AVR disassembler and anal plugins 2021-01-19 05:37:17 +01:00
wargio
cfcf4f86ac Fixed AVR anal plugin warning due unpopulated mnemonic ##rizin 2021-01-19 05:37:17 +01:00
Giovanni
5ffe3e4240 Fixing clang flow warnings (#321) ##rizin 2021-01-19 05:37:17 +01:00
GustavoLCR
c972d6a523 Fix #rizin302 - Fix function modification detection false ##rizin 2021-01-19 05:37:17 +01:00
Alexis Ehret
21c98d60ac Remove all dead assignment detect by clang sa (#310) ##rizin 2021-01-19 05:37:17 +01:00
Allen McIntosh
4ca278c2cb Fix r_anal_diff_fcn() so that case where only one function has NULL name is not treated the same as two functions with equal names 2021-01-19 04:34:28 +01:00
pancake
ee5fca96ff Remove ESIL->REIL code and commands ##refactor
* Despite being working it was not complete, not in
* sync with latest ESIL, not tested and we now have
* esil{cfg,dfg} and reil didnt succeed so far.
2021-01-18 12:15:33 +01:00
condret
c8b64170c4 fix x86-cs rep/repe/repne esil expressions ##esil ##anal 2021-01-17 04:25:31 +01:00
pancake
edda7a408a Add CC, command previous CC, is now CCF ##meta 2021-01-15 10:56:58 +01:00
Liumeo
c631443b9b
Remove strncat usage (#18229) ##refactor 2021-01-14 17:24:23 +01:00
pancake
171b994831 Fix #18212 - Detect RISCV gdb servers ##debug 2021-01-13 13:30:07 +01:00
Liumeo
30afe39c5c
Fix aof and tcc db/formats/mach0/mach0
* Fix aof

* Fix tcc db/formats/mach0/mach0
2021-01-13 00:18:01 -05:00
pancake
45600080f5 Use r_str_newf instead of strncat in esil.dfg 2021-01-13 01:54:51 +01:00
aemmitt-ns
72f67e0612 use NAN changes 2021-01-13 01:23:15 +01:00
aemmitt-ns
cb3cfdb677 use unions instead of direct type-punning 2021-01-13 01:23:15 +01:00
aemmitt-ns
2e0ac73f0f fix divide by zero issue 2021-01-13 01:23:15 +01:00
pancake
1184610971
Fix the CI badge and fully rewrite all the workflows to make sense ##build
* Windows, Linux, Static, macOS, Android, iOS builds published for every commit
* Kept coverage, coverity, fuzzing tests, lgtm and -Werror jobs
* Kill the continuos, the over-engineered matrix and other empty or unnecessary tasks (250 vs 900LOC)
* Jobs TODO: fatmac, termux and rpm (centos) packages
2021-01-12 13:41:21 +01:00
aemmitt-ns
aabfa40134
Add floating point operations for emulation ##ESIL
* Add some big_num helpers
2021-01-11 19:21:46 +01:00
eagleoflqj
c96f1f64d0 Support arm32 esil stmib/ldmib ##esil 2021-01-09 21:22:34 +01:00
pancake
839f438b58 Refactor tcc and afcl commands, improve help and JSON ##types 2021-01-05 02:17:37 +01:00
pancake
cf91324937 Remove file.path and file.lastpath and add RProject ##projects 2021-01-03 10:54:00 +01:00
Liumeo
93166667da
Fix asan st overflow ##asan (#18149) 2021-01-01 23:33:34 +01:00
mrglm
493f0bf023 Fix #17039 ##anal ##json
Fix indentation for abj command
2020-12-31 22:58:06 +01:00
pancake
70b6d7fc8c
Use the Set API instead of hashtable in anal.block.automerge (#18130) 2020-12-29 04:25:14 +01:00
pancake
ab0337c224 Fix ASAN 2020-12-28 21:24:56 +01:00
pancake
fdddd234bc
Implement rax2 -I to convert from/to LONG and IP Address ##print 2020-12-28 21:04:48 +01:00
Liumeo
9478b3a957
Add test and update arm.winedbg (#18117) ##asm 2020-12-28 20:56:52 +01:00