Commit Graph

30210 Commits

Author SHA1 Message Date
pancake
3c2c40897d
Move and update r2docker into dist/docker ##r2pm
* Update to Debian:11, add README for r2docker ##r2pm
* r2-docker is no longer installed. See r2pm -ci r2docker instead
2023-04-26 00:59:14 +02:00
pancake
c0c412b6fe Fix UB in signed type shift left on arm64 assembler ##asm 2023-04-25 21:23:58 +02:00
pancake
25d38bb99f Add test and fix oobread in the hfs parser ##fs 2023-04-25 20:06:28 +02:00
pancake
41a9cea596
Handle RArch.getRegProfile() from RAnal.setRegProfile ##arch 2023-04-25 19:00:48 +02:00
pancake
e9941bc6d1
Fix the wrong plugin used after failed arch.encoding ##arch
* Better fallback strategies
2023-04-25 18:59:23 +02:00
pancake
9fae879a0a Rename arch.arm plugin 'arch.arm.nz' ##arch 2023-04-25 14:28:41 +02:00
pancake
655d0d0e61 RAnal.cur can be now set to NULL ##anal 2023-04-25 14:26:31 +02:00
pancake
92983f21cf Autocomplete -e<tab> inside r2 ##shell 2023-04-25 13:58:37 +02:00
rgc
3b85115dd3
Deprecate r_str_cmp() ##api
* Use strcmp or r_str_startswith instead
2023-04-25 13:44:15 +02:00
CorruptedVor
af41019b29
Prefix tar flags with a dash for portability reasons ##r2pm
This breaks the tar I use, seems this "dashless" syntax is GNU-specific
2023-04-25 12:27:26 +02:00
Francesco Tamagni
71b67a3a17
Fix aae logic for mem read xrefs ##anal 2023-04-25 12:23:37 +02:00
pancake
f864a4c22c
Use plugin name instead of arch name to fallback ##arch 2023-04-25 12:23:10 +02:00
pancake
86fcf91ee1 Don't run semgrep on PRs 2023-04-25 11:44:59 +02:00
pancake
5d1bca84a7 Run Coverity only on the master branch 2023-04-25 11:42:12 +02:00
pancake
b3f58be128 Propagate endian settings ##arch 2023-04-25 11:29:06 +02:00
pancake
db9ba628ff Shorten path on invalid fatmachos fixing a recent null precondition check ##bin 2023-04-25 11:21:31 +02:00
pancake
ede1f1f504 Honor RArch.setBits via RAnal.setBits ##arch 2023-04-25 10:20:06 +02:00
pancake
7c9a05c407 Support fatmachos with slices using arch plugins ##arch
* Patch 'r_core_bin_set_arch_bits' worked only for anal ones
2023-04-25 01:50:42 +02:00
pancake
b422b095b4 Minor code quality improvements in core/cio.c 2023-04-25 01:43:41 +02:00
pancake
f49d00ad35 Improve automatch plugin with encoder support ##arch 2023-04-25 01:41:53 +02:00
pancake
0620d7b47f Resolve ${arch}.nz as fallback when finding an assembler peer ##arch 2023-04-25 01:31:27 +02:00
pancake
1834fc2e98 Boolify a little bit more the esil internal api 2023-04-25 00:36:31 +02:00
pancake
90e8510f3c Remove '#' sign before immediates in the snes9x disassembler ##arch 2023-04-25 00:36:31 +02:00
pancake
685c8d6503 Better use of preconditions and r_log in fatmach0 ##bin 2023-04-25 00:36:31 +02:00
pancake
3ff139e042 Fix infinite loading time in minidump file ##crash 2023-04-24 18:05:27 +02:00
Sylvain Pelissier
56687226c1 Use r_sys_getenv_asbool in r2pm 2023-04-24 13:51:19 +02:00
pancake
480df25764 Delete stale test/ravc2_git_branch_test 2023-04-22 23:41:38 +02:00
Ildar
6e70a4c79e Replace strtok by thread-safe r_str_tok_r 2023-04-22 20:52:23 +02:00
R
253990ebdd
Sync output from rax2 -r and r2's ? val ##shell 2023-04-22 16:06:51 +02:00
Ildar
6d3b1f1657 Cover r_str_tok_r function 2023-04-22 16:05:55 +02:00
Sylvain Pelissier
bce60971bf Restore R2PM_OFFLINE flag in r2pm 2023-04-22 11:58:53 +02:00
pancake
e2d7fa7822 Add elf hash planned for r2-5.9.0 ##hash 2023-04-21 10:31:02 +02:00
pancake
f58bfd7d86 Fix unaligned pointer access in sha256 ##crash 2023-04-21 00:18:02 +02:00
pancake
5650768823 Allow 'dcu main' even if there's a 'db main' already set ##debug 2023-04-20 22:23:28 +02:00
pancake
ae8613c51e Implement jq command as an alias for !jq ##shell 2023-04-20 22:17:45 +02:00
pancake
eefcb84e68 Implement dtj command to list debug traces in JSON format ##debug 2023-04-20 22:15:30 +02:00
pancake
f27fd3300b Fix null deref in dtd when the process is dead ##debug 2023-04-20 22:04:34 +02:00
Luc Tielen
5ba6676d8b Refactor loading of elf fields ##bin 2023-04-20 16:55:18 +02:00
Luc Tielen
91d67d6894
Refactor loading of elf libs ##bin 2023-04-20 16:51:33 +02:00
pancake
a309460b2e Fix division by zero in the HFS parser ##crash 2023-04-20 15:56:11 +02:00
Luc Tielen
19dc41dc7a Refactor elf loading of relocs ##bin 2023-04-20 14:47:45 +02:00
pancake
34e659dbac Remove unused variable 2023-04-20 12:13:52 +02:00
pancake
92dd4ac507 Fix oobread segfault in the grub's HFS parser ##crash
* Reproducer: d1193639-a30b-4b35-abf5-6ded4a8a396f
2023-04-19 21:32:35 +02:00
pancake
5e4a86f564 Fix ininite loop in the ext2 grub code (DDoS) ##crash 2023-04-19 19:40:49 +02:00
pancake
fa21d2b32e Fix 8 byte oobread on pkcs7 parser ##crash 2023-04-19 17:25:28 +02:00
Luc Tielen
093d583000 Refactor even more loading of elf sections ##bin 2023-04-19 07:22:22 +02:00
Luc Tielen
923df4761c Refactor elf loading of sections ##bin 2023-04-19 07:22:22 +02:00
pancake
872e02dff9
Branch prediction optimizations (3/3) ##performance 2023-04-18 17:48:13 +02:00
pancake
433917e551
Branch prediction optimizations (2/3) ##performance 2023-04-18 16:10:44 +02:00
pancake
b44f8d3f3c
Branch prediction optimizations (1/3) ##performance 2023-04-18 16:10:16 +02:00