Commit Graph

30046 Commits

Author SHA1 Message Date
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
pancake
6707694da2 Mark asm.cpu for 5.9 2023-03-23 10:19:07 +01:00
pancake
941b63be15 Implement wao nop for riscv ##arch
* All this logic must be moved into the arch plugins
2023-03-23 10:19:07 +01:00
pancake
c654dc7a5c Implement wao recj for arm64 ##write 2023-03-23 10:19:07 +01:00
pancake
39b7822a2b Fix tests 2023-03-22 17:47:00 +01:00
Yedidyah Bar David
fd822ef523
Fix #21375 also for linux-arm-64.sdb syscalls with meson ##build
Signed-off-by: Yedidyah Bar David <didi@redhat.com>
2023-03-22 12:19:20 +01:00
pancake
c04e689f66
Partial fixes for better register profile and arch switching handling ##debug
* Debugger file descriptor handling checks improved
2023-03-22 12:18:18 +01:00
theNKCode
7dd19cff68 Referenced https:// instead of http:// everywhere as per requirement 2023-03-22 06:58:25 +01:00
pancake
71440e8264 Update capstone 2023-03-22 06:57:52 +01:00
pancake
b8d6a1d60d Add http:// in counters.sh 2023-03-22 04:03:31 +01:00
pancake
e8ac805d4d
Fix memcpy bug in the new cache ##io 2023-03-22 03:59:36 +01:00
pancake
6bcdd19676 Better markdown for test/README 2023-03-22 00:11:21 +01:00
echel0n
508a630704 fix segfault when bin->symbols is NULL #21503 2023-03-21 19:08:00 +01:00
pancake
ef8ec63747
Blind ELF fixes ##bin 2023-03-21 14:44:36 +01:00
pancake
66d67346de Add a line for fixing directory permissions in INSTALL.md 2023-03-21 12:37:08 +01:00