Commit Graph

30210 Commits

Author SHA1 Message Date
pancake
b7767dcc80 Fix UAF in RStr.replaceIcase() spotted by coverity ##util 2023-03-31 13:53:10 +02:00
pancake
a8143d8fb2 Migrate the pyc plugin ##arch 2023-03-30 16:14:41 +02:00
Luc Tielen
1e2c75cf65
Migrate msp430 plugin ##arch 2023-03-30 15:56:37 +02:00
Luc Tielen
48c272afc5 Ignore meson/ninja build artifacts 2023-03-30 15:54:30 +02:00
pancake
79ed7b39b6 Fix some oobread bugs in the ELF parser ##bin 2023-03-30 14:19:08 +02:00
Zhipeng Xue
887cda026b
Fix potential uninitialized value 2023-03-30 11:39:33 +02:00
pancake
471109294b Support JK scrolling (+-5 lines) in modals ##panels 2023-03-29 22:46:19 +02:00
pancake
5e5bbab90f Fix oobread in the msvc demangler ##crash 2023-03-29 21:55:48 +02:00
pancake
1c8d35b36f Fix archinfo for v810 ##arch 2023-03-29 20:15:10 +02:00
pancake
2175715b0a Add wip archinfo and wip regs and make mcs96 an arch plugin ##arch 2023-03-29 20:15:10 +02:00
pancake
df330b9107 Implement parsing optimization for dwarf5 ##dwarf 2023-03-29 18:09:52 +02:00
pancake
8a378cca41 Store column information in the addr2line database ##dwarf 2023-03-29 12:23:05 +02:00
semgrep.dev on behalf of @trufae
49f896e419 Add Semgrep CI 2023-03-29 10:22:52 +00:00
pancake
2eb635193c Add cmd.step config var to run a command after every debugger step ##debug 2023-03-29 11:36:35 +02:00
pancake
5b41faf4b1 Implement 'aoem' command to show memory refs via emulation ##esil 2023-03-29 11:36:35 +02:00
pancake
ec23985697 Filter zignature names before validation ##signatures 2023-03-29 11:21:01 +02:00
pancake
f5749b7732 Minor help improvements for afv and less eprintfs 2023-03-29 06:18:49 +02:00
pancake
8e15ae2b35 Fix two minor memory leaks 2023-03-28 23:05:32 +02:00
pancake
bed9f722b3 Fix uninitialized oobread in the elf parser 2023-03-28 22:57:33 +02:00
pancake
e2421ca83f Fix UAF in radiff2 when using R_LOG apis after freeing RCore 2023-03-28 22:57:33 +02:00
pancake
05af4fc3bf Make sys/sanitize be aware of the memory sanitize check ##build
* -fsanitize=address is only available on Linux/CLang
* Avoid infinite recursive loop when core-log is not initialized
2023-03-28 22:57:33 +02:00
Luc Tielen
43db095af7 Migrate ebc plugin ##arch 2023-03-28 20:32:59 +02:00
Luc Tielen
561032abe5
Migrate lh5801 plugin + add missing regprofile ##arch 2023-03-28 20:13:18 +02:00
pancake
a215f295a8 Migrate the pdp11 plugin ##arch 2023-03-28 15:42:28 +02:00
Luc Tielen
be83c2cee9 Migrate arc ##arch 2023-03-28 15:24:42 +02:00
pancake
648f28f7e2 Fix uninitialized memory bug in RCons 2023-03-28 11:29:58 +02:00
pancake
70a78f0943 Initial steps to support column details in dbginfo ##bin 2023-03-28 06:58:15 +02:00
pancake
1e0243be4b Optimize dwarf parser reducing getsection for strp ##bin
* Down loading times from 20 minutes to 20s
2023-03-28 06:58:15 +02:00
pancake
bcc7a40a4e
Remove global in the DWARF parser ##bin 2023-03-27 20:58:19 +02:00
Luc Tielen
80197aa2ac Support wcu command for new io cache ##io 2023-03-27 15:26:01 +02:00
Luc Tielen
bc96eae13c Implement wcf command for new io cache ##io 2023-03-27 15:26:01 +02:00
pancake
635c434337 Add rasm2 -N to mimmic the r2 -N flag ##shell 2023-03-27 15:21:13 +02:00
pancake
459e071510 Use r2 -NN from r2r and extend the env for rasm2/rabin2 ##shell 2023-03-27 15:21:13 +02:00
pancake
d7e70604ba
More ELF cleanups on the symbol allocation logic ##bin 2023-03-27 15:20:42 +02:00
pancake
8c73bc6d89 Use more R_LOG instead of eprintfs in some commands ##shell 2023-03-27 14:52:32 +02:00
pancake
195a40edc3 Add search.badpage to customize badpage scan ##search 2023-03-27 13:32:54 +02:00
pancake
dd08b5ccf3 Fix null deref in dte ##shell 2023-03-27 13:28:25 +02:00
pancake
c1663224fd Support big endian value search analysis (aav) ##anal
* Inspired by 2762beba68
2023-03-27 12:52:04 +02:00
tsunekoh
2d0a4eab55 Make main function detection for 64bit PE Arm64 2023-03-25 18:14:20 +01:00
pancake
73795bd161
Minor cleanup in the ELF parser ##bin 2023-03-24 17:00:04 +01:00
Luc Tielen
22d8cbf482 Fix segmentation fault when listing cache entries before init ##io 2023-03-24 13:39:47 +01:00
Luc Tielen
7378b2e543 Fix usage of cache in pde command ##io 2023-03-23 21:03:51 +01:00
Luc Tielen
92727d8008 Prevent multiple initializations of cache ##io 2023-03-23 21:03:51 +01:00
Luc Tielen
19792b9058 Fix cloning of cache ##io 2023-03-23 21:03:51 +01:00
Luc Tielen
0560990e10 Retain order of writes to cache during clone ##io 2023-03-23 21:03:51 +01:00
Francesco Tamagni
60aad9b0b1
Fix Mach-O symbol parsing in dyldcache ##bin
This change correctly computes the offset to reach the symbol info from
each actual binary in the mutiple sub-caches scenario.
2023-03-23 18:41:09 +01:00
pancake
44cb7d98e3 Fix null deref in signatures when using corrupted analysis info ##anal
* r2 -c aab -c zg libc.x86.so
2023-03-23 18:34:03 +01:00
Luc Tielen
8e9e7e9668
Fix list bug in new cache ##io
* Change written flag to a bool in new cache ##io

We now keep track of which entries of the IO cache are already written,
just like in the previous implementation.
2023-03-23 15:03:38 +01:00
pancake
b601497c3a
Hide meaningless AnalOp fields in ao/aoj ##anal 2023-03-23 12:06:23 +01:00
pancake
9608c125ec Expose the value of arm's ADD in op.val ##arch 2023-03-23 10:46:56 +01:00