Commit Graph

24665 Commits

Author SHA1 Message Date
pancake
504c095e89 Fix UAB in RConsCanvas when resizing 2022-09-13 01:48:24 +02:00
pancake
14daf84cb1 Prefer memleak than double free in mdmp 2022-09-13 01:48:24 +02:00
pancake
de0903184a Fix last coverity findings 2022-09-12 23:18:39 +02:00
pancake
de91b82f1a Add open command as a wrapper for the system launcher ##shell
* `start` on windows, `xdg-open` on Linux and `open` on mac
2022-09-12 22:05:25 +02:00
pancake
d477dd2859 Fix stack exhaustion bug in the c++ gnu demangler ##crash 2022-09-12 19:20:29 +02:00
pancake
46ae247470 Fix another crash in the protobuf parser ##fuzz 2022-09-12 18:56:50 +02:00
pancake
ada98b4dbb Fix oobread in protobuf parser ##crash 2022-09-12 18:52:50 +02:00
pancake
ea16c078d9 Fix oobread in r_str_is_printable_limited ##crash 2022-09-12 18:19:30 +02:00
pancake
bdc6a6117e Fix too much time spent loading corrupted dyldcaches ##fuzz 2022-09-12 17:45:06 +02:00
pancake
83749d8d7c Fix negative allocation in the dex parser ##fuzz 2022-09-12 17:44:48 +02:00
pancake
cbc943bd32 Fix infinite loop in dyldcache parser ##fuzz 2022-09-12 17:31:24 +02:00
pancake
3df30c7e9e Fix large allocation bug in wasm parser ##fuzz 2022-09-12 17:31:12 +02:00
pancake
dc9f7df3bd Fix build on some compilers 2022-09-10 12:04:37 +02:00
pancake
540dd30c85 Remove two global variables in the anal.ppc.cs plugin ##globals 2022-09-10 11:19:53 +02:00
pancake
8c99b9e05c Remove all globals in dex parser 2022-09-10 11:11:43 +02:00
pancake
629dc475dd Remove global in cons.rgb ##globals 2022-09-10 11:11:43 +02:00
pancake
f29759c4c9 Remove globals in bin.sms ##globals 2022-09-10 11:11:43 +02:00
pancake
0c26327f9d Remove all global variables in rahash2 ##tools 2022-09-10 11:11:43 +02:00
pancake
68292526ab
Fix some critical bugs spotted by coverity 2022-09-10 01:28:37 +02:00
pancake
b2022acb02 Fix #20202 - pd-55 showing invalid instructions ##disasm
* Depending on blocksize that command prints some invalid instructions
* Reverse disassembly is not 100% reliable if the code is not analyzed
2022-09-10 00:29:06 +02:00
pancake
6db7d19e72 Add linting to spot misuses of r_strbuf_appendf and fix them all ##refactor 2022-09-09 23:12:01 +02:00
pancake
8a2843bede Fix last memleaks spotted by coverity 2022-09-09 23:08:58 +02:00
pancake
399ca4c669 Define =SN for the sparc register profile and improve warning message ##analysis 2022-09-09 22:24:00 +02:00
pancake
998e9474e6 Fix UB bug in afi command causing random segfaults ##crash 2022-09-09 22:19:14 +02:00
condret
880a7744d3 Minor optimization of generated esil expressions ##refactor 2022-09-09 21:10:08 +02:00
pancake
1e57fabb3e Warn when bypassing the word bounds of numeric arguments in wo ##write 2022-09-09 13:50:15 +02:00
pancake
0affc893be New syntax for wo[x]([n]+[v]) to differentiate hex and numbers ##write 2022-09-09 13:50:15 +02:00
pancake
cd10051282 Fix #20387 - woa 1 confusing error message ##shell
* Better help messages and argument handling
2022-09-09 13:50:15 +02:00
pancake
b34220b3b7 Fix afi regression introduced in 5fb324c5ef 2022-09-09 13:21:24 +02:00
pancake
c302ecdf5a Fix bug introduced in 96ca94e892 for abj 2022-09-09 13:21:24 +02:00
pancake
f36c9c0797 Implement new toyish visualization command agt ##graph
* Render the list of functions or basic blocks in a fibonacci map layout
* Should improve to a full featured tree map and use better metrics
2022-09-09 13:21:24 +02:00
Nikhil Saxena
655ecfb659 Add 'pxu' mode to ##visual
* Unsigned integers in print format list
2022-09-09 12:34:30 +02:00
pancake
96ca94e892 Include bb instruction addresses in an array for abj ##analysis 2022-09-09 00:08:31 +02:00
pancake
a6004d8a35 Fix more tests to run outside x86-64 ##anal
* Hint oneliner to improve aanr
2022-09-08 23:39:28 +02:00
pancake
9129b7d6fb Implement aflx and aflx* commands to re-analyze function callers ##analysis 2022-09-08 23:39:28 +02:00
pancake
1d286ff1c7 Add tnf command to filter functions with the new noret column in afl, 2022-09-08 23:39:28 +02:00
pancake
48a6cc7049 Implement aflm. and aflm? to print the makefile-style function call summary ##anal 2022-09-08 23:39:28 +02:00
condret
7128cdcf51 Add warning for esil op $$ deprecation ##esil 2022-09-08 23:08:15 +02:00
condret
c8f12fde6d Remove some unused macros in anal_riscv_cs ##refactor 2022-09-08 23:08:15 +02:00
condret
5afaa27500 Remove occurences of $$ in riscv esil ##refactor 2022-09-08 23:08:15 +02:00
condret
1f2300094a Remove occurences of $$ in mips_gnu esil ##refactor 2022-09-08 23:08:15 +02:00
pancake
50b30dd603 Implement aggb command, like agfb but for agn/age ##graph 2022-09-08 20:49:36 +02:00
rax64
a8add36c26 Small fix in the arm64 assembler #asm 2022-09-08 19:24:09 +02:00
Richard Patel
a2485a375a Harden swift demangler ##crash 2022-09-08 12:38:29 +02:00
Francesco Tamagni
c644f1099c Fix boundary check in mach0 fixups reconstruction ##bin 2022-09-08 12:01:32 +02:00
pancake
2050ee90eb Fix #16492 - Handle - suffix in te and ts, add tests ##types 2022-09-07 17:53:02 +02:00
pancake
652cc054da
Fix two oobreads in coresymbolication and dyldcache ##bin 2022-09-07 15:31:55 +02:00
pancake
88efd68266
Fix tms320 on big-endian hosts
* Inspired by rizin's 1619d94329ab0665083b5f5aef9030f33146bd33
* Author:     Florian Märkl
* AuthorDate: Mon Aug 15 19:53:55 2022 +0200
2022-09-07 12:08:53 +02:00
pancake
62d565e143 Fix a few GCC 12 warnings from #20087 2022-09-07 11:58:28 +02:00
condret
e8af4bade5 Remove occurences of $$ in bf and mips_cs esil ##refactor 2022-09-07 10:52:08 +02:00