Commit Graph

28176 Commits

Author SHA1 Message Date
pancake
23223ee6f2
Add @@F (alias for @@c:afla) inverse recursive function list ##shell 2024-09-25 18:51:49 +02:00
pancake
f21ec14ed0
More a subcommand refactorings 2024-09-25 18:06:00 +02:00
pancake
2578ff0ac5 Permit setting eval var values ending with a dot ##core 2024-09-24 19:10:49 +02:00
pancake
acd1d8f426 Add scr.css and scr.css.prefix used in 'ecc' for now ##cons 2024-09-24 19:10:49 +02:00
pancake
39cd603d63 Handle invalid subcommands and refactor 'ec' ##shell 2024-09-24 18:50:42 +02:00
Ole André Vadla Ravnås
61f235d532 Emit span instead of font in the scr.html filter ##cons
The font HTML element is deprecated.
2024-09-24 12:04:15 +02:00
Juho Kuisma
1e305473b7
Fix rahash2 -B behavior ##crypto
Previously `rahash2 -B` always printed an extra block at the end, which matched
the checksum of an empty file. The line causing the bug has been left in the
sources commented out, at least for now, in case this causes some other regression.
2024-09-24 12:03:34 +02:00
pancake
a30b405b5d Fix duplicated symbol addTarget 2024-09-23 18:24:19 +02:00
pancake
37b2cc2baf Fix mingw build 2024-09-23 14:31:43 +02:00
Ole André Vadla Ravnås
fac4486d2c Ignore arc4random_uniform detection with Emscripten ##build
We somehow detect it as being present when it isn't. This needs further
investigation, but for now we will work around it.
2024-09-23 13:22:34 +02:00
Ole André Vadla Ravnås
5145b55020 Fix Darwin WHOLEFLAG detection ##build 2024-09-23 13:22:34 +02:00
Ole André Vadla Ravnås
5236e1c276 Fix fragile Emscripten detection ##build 2024-09-23 13:22:34 +02:00
Ole André Vadla Ravnås
c12ebb72b6 Ensure the correct $(AR) is used for V35 libraries ##build 2024-09-23 13:22:34 +02:00
Ole André Vadla Ravnås
847044b873 Omit -soname when building with Emscripten ##build
To avoid warnings, as it's not supported.
2024-09-23 13:22:34 +02:00
Ole André Vadla Ravnås
9795d3de20 Omit -g when building with Emscripten ##build
To avoid warnings when combined with optimization flags such as -Oz.
2024-09-23 13:22:34 +02:00
pancake
41bdbca7d6 Show comments associated to an esil emulated reference ##disasm 2024-09-21 20:53:01 +02:00
pancake
12aa74b026 Fix ic+ argument handling, no space needed 2024-09-21 20:06:33 +02:00
pancake
e1cd8e0b12 Accept '@ expressions that dont start with '0x' ##shell 2024-09-21 16:46:24 +02:00
pancake
7567def15a Fix log level details in r2pipe output ##shell 2024-09-21 16:25:28 +02:00
pancake
b7c1a5d68d Use RCore.returnInvalidCommand the remaining root commands ##shell 2024-09-21 16:25:28 +02:00
pancake
5ee0bcad2a Make the handling of invalid subcommands more consistent ##shell 2024-09-21 16:25:28 +02:00
pancake
0189d66dc9 Fix #23357 - Add missing flag registers for the freebsd profile ##debug
Some checks failed
build / linux-static (push) Failing after 1s
build / check_abi_compatibility (push) Has been skipped
build / linux-acr-rpm-64 (push) Failing after 1s
build / linux-acr-deb (amd64) (push) Failing after 1s
build / linux-acr-deb (arm64, aarch64-linux-gnu) (push) Failing after 1s
build / linux-acr-deb (i386, multilib) (push) Failing after 1s
build / android-acr (16, arm) (push) Failing after 1s
build / android-acr (aarch64) (push) Failing after 1s
build / android-meson (x86_64) (push) Has been skipped
CI / linux-acr-oldlibsbug (push) Failing after 1s
CI / linux-nocs (push) Failing after 1s
CI / linux-acr-gperf (push) Failing after 1s
CI / linux-sys-capstone (push) Failing after 1s
CI / linux-acr-resymlink (push) Failing after 1s
CI / linux-test (push) Failing after 1s
CI / linux-static-meson (push) Failing after 1s
CI / linux-rpath (push) Failing after 1s
CI / linux-meson-spaces (push) Failing after 1s
CI / linux-tinyasan-fuzz (push) Failing after 1s
CI / linux-asan-fuzz (push) Failing after 1s
CI / w32-mingw (push) Failing after 1s
CI / w64-mingw (push) Failing after 1s
Code scanning - action / CodeQL-Build (push) Failing after 1s
Coverity Scan / latest (push) Failing after 1s
tcc / ubuntu-tcc-newabi (push) Failing after 1s
tcc / ubuntu-tcc-test (push) Failing after 1s
tcc / ubuntu-tcc-nodbg (push) Failing after 1s
tcc / r2pm-tcc (push) Failing after 1s
tcc / ubuntu-tcc-syslibs (push) Failing after 1s
Semgrep / Scan (push) Failing after 0s
2024-09-20 16:57:50 +02:00
pancake
940fb912c7
Refactor and check numeric arguments when adding flags 'f' ##shell 2024-09-20 16:45:51 +02:00
pancake
992012d021 Fix bug when calling dr8 in the debug.io ##debug
Some checks failed
build / tarball (push) Failing after 1s
build / linux-static (push) Failing after 1s
build / check_abi_compatibility (push) Has been skipped
build / linux-acr-rpm-64 (push) Failing after 1s
build / linux-acr-deb (amd64) (push) Failing after 1s
build / linux-acr-deb (arm64, aarch64-linux-gnu) (push) Failing after 1s
build / linux-acr-deb (i386, multilib) (push) Failing after 1s
build / android-acr (16, arm) (push) Failing after 1s
build / android-acr (aarch64) (push) Failing after 1s
build / android-meson (x86_64) (push) Has been skipped
CI / linux-acr-oldlibsbug (push) Failing after 1s
CI / linux-nocs (push) Failing after 1s
CI / linux-acr-gperf (push) Failing after 1s
CI / linux-sys-capstone (push) Failing after 1s
CI / linux-acr-resymlink (push) Failing after 1s
CI / linux-test (push) Failing after 1s
CI / linux-static-meson (push) Failing after 1s
CI / linux-rpath (push) Failing after 1s
CI / linux-meson-spaces (push) Failing after 1s
CI / linux-tinyasan-fuzz (push) Failing after 1s
CI / linux-asan-fuzz (push) Failing after 1s
CI / w32-mingw (push) Failing after 1s
CI / w64-mingw (push) Failing after 1s
Code scanning - action / CodeQL-Build (push) Failing after 1s
Coverity Scan / latest (push) Failing after 1s
tcc / ubuntu-tcc-newabi (push) Failing after 1s
tcc / ubuntu-tcc-test (push) Failing after 1s
tcc / ubuntu-tcc-nodbg (push) Failing after 1s
tcc / r2pm-tcc (push) Failing after 1s
tcc / ubuntu-tcc-syslibs (push) Failing after 1s
2024-09-20 13:59:30 +02:00
pancake
bb0bb01046 Improved syntax error handling on tmpseek expressions ##shell 2024-09-20 11:43:17 +02:00
Azox
321cc6c633
Fix /cp segfault on missing key ##crash 2024-09-20 11:15:03 +02:00
pancake
b05148df18 Don't line-scroll on new-abi builds when lots of vars ##visual
Some checks failed
build / linux-static (push) Failing after 0s
build / check_abi_compatibility (push) Has been skipped
build / linux-acr-rpm-64 (push) Failing after 0s
build / linux-acr-deb (amd64) (push) Failing after 0s
build / linux-acr-deb (arm64, aarch64-linux-gnu) (push) Failing after 0s
build / linux-acr-deb (i386, multilib) (push) Failing after 0s
build / android-acr (16, arm) (push) Failing after 0s
build / android-acr (aarch64) (push) Failing after 0s
build / android-meson (x86_64) (push) Has been skipped
CI / linux-acr-oldlibsbug (push) Failing after 0s
CI / linux-nocs (push) Failing after 0s
CI / linux-acr-gperf (push) Failing after 0s
CI / linux-sys-capstone (push) Failing after 0s
CI / linux-acr-resymlink (push) Failing after 0s
CI / linux-test (push) Failing after 0s
CI / linux-static-meson (push) Failing after 0s
CI / linux-rpath (push) Failing after 0s
CI / linux-meson-spaces (push) Failing after 0s
CI / linux-tinyasan-fuzz (push) Failing after 0s
CI / linux-asan-fuzz (push) Failing after 0s
CI / w32-mingw (push) Failing after 0s
CI / w64-mingw (push) Failing after 0s
Code scanning - action / CodeQL-Build (push) Failing after 0s
Coverity Scan / latest (push) Failing after 0s
tcc / ubuntu-tcc-newabi (push) Failing after 0s
tcc / ubuntu-tcc-test (push) Failing after 0s
tcc / ubuntu-tcc-nodbg (push) Failing after 0s
tcc / r2pm-tcc (push) Failing after 0s
tcc / ubuntu-tcc-syslibs (push) Failing after 0s
Semgrep / Scan (push) Failing after 1s
* Fixing the stuck bug in visual disasm
2024-09-19 21:58:36 +02:00
pancake
700c6ee72b
Minor fixes for the dalvik.ns plugin 2024-09-19 18:58:20 +02:00
Keegan Saunders
9eb1cf34bd Initial import of the dalvik.ns plugin ##arch 2024-09-19 15:56:29 +02:00
pancake
061ae96791 Handle ^C in afr ##analysis 2024-09-19 15:22:35 +02:00
pancake
472993e8b8
Initial support to describe RBuffer instances ##util
Some checks failed
build / tarball (push) Failing after 0s
build / linux-static (push) Failing after 0s
build / check_abi_compatibility (push) Has been skipped
build / linux-acr-rpm-64 (push) Failing after 0s
build / linux-acr-deb (amd64) (push) Failing after 0s
build / linux-acr-deb (arm64, aarch64-linux-gnu) (push) Failing after 0s
build / linux-acr-deb (i386, multilib) (push) Failing after 0s
build / android-acr (16, arm) (push) Failing after 0s
build / android-acr (aarch64) (push) Failing after 0s
build / android-meson (x86_64) (push) Has been skipped
CI / linux-acr-oldlibsbug (push) Failing after 0s
CI / linux-nocs (push) Failing after 0s
CI / linux-acr-gperf (push) Failing after 1s
CI / linux-sys-capstone (push) Failing after 0s
CI / linux-acr-resymlink (push) Failing after 0s
CI / linux-test (push) Failing after 0s
CI / linux-static-meson (push) Failing after 0s
CI / linux-rpath (push) Failing after 0s
CI / linux-meson-spaces (push) Failing after 0s
CI / linux-tinyasan-fuzz (push) Failing after 0s
CI / linux-asan-fuzz (push) Failing after 1s
CI / w32-mingw (push) Failing after 0s
CI / w64-mingw (push) Failing after 0s
Code scanning - action / CodeQL-Build (push) Failing after 0s
tcc / ubuntu-tcc-newabi (push) Failing after 1s
tcc / ubuntu-tcc-test (push) Failing after 0s
tcc / ubuntu-tcc-nodbg (push) Failing after 0s
tcc / r2pm-tcc (push) Failing after 0s
tcc / ubuntu-tcc-syslibs (push) Failing after 0s
Coverity Scan / latest (push) Failing after 0s
2024-09-19 12:53:40 +02:00
pancake
9ea449cee4
Assume x27 as global pointer only in dart binaries ##analysis 2024-09-19 11:59:15 +02:00
pancake
203c82f478 Fix some emulated reference hints ##visual
* Breaks a little of the visual karma
2024-09-19 11:36:50 +02:00
pancake
56d341417c Detect Dart ELFs ##bin 2024-09-19 08:03:22 +02:00
pancake
19b45a9e22 Assume x27 is a fixed global pointer for arm64 ##analysis 2024-09-19 07:58:04 +02:00
pancake
caff5d5ed0
LOADs not LEAs for arm64 ##analysis 2024-09-19 07:57:42 +02:00
pancake
d8e4ea47db Implement test -s ##shell
Some checks failed
build / linux-static (push) Failing after 0s
build / check_abi_compatibility (push) Has been skipped
build / linux-acr-rpm-64 (push) Failing after 0s
build / linux-acr-deb (amd64) (push) Failing after 0s
build / linux-acr-deb (arm64, aarch64-linux-gnu) (push) Failing after 1s
build / linux-acr-deb (i386, multilib) (push) Failing after 0s
build / android-acr (16, arm) (push) Failing after 0s
build / android-acr (aarch64) (push) Failing after 0s
build / android-meson (x86_64) (push) Has been skipped
CI / linux-acr-oldlibsbug (push) Failing after 0s
CI / linux-nocs (push) Failing after 0s
CI / linux-acr-gperf (push) Failing after 0s
CI / linux-sys-capstone (push) Failing after 0s
CI / linux-acr-resymlink (push) Failing after 0s
CI / linux-test (push) Failing after 0s
CI / linux-static-meson (push) Failing after 0s
CI / linux-rpath (push) Failing after 0s
CI / linux-meson-spaces (push) Failing after 0s
CI / linux-tinyasan-fuzz (push) Failing after 0s
CI / linux-asan-fuzz (push) Failing after 0s
CI / w32-mingw (push) Failing after 0s
CI / w64-mingw (push) Failing after 0s
Code scanning - action / CodeQL-Build (push) Failing after 0s
Coverity Scan / latest (push) Failing after 0s
tcc / ubuntu-tcc-newabi (push) Failing after 0s
tcc / ubuntu-tcc-test (push) Failing after 0s
tcc / ubuntu-tcc-nodbg (push) Failing after 0s
tcc / r2pm-tcc (push) Failing after 0s
tcc / ubuntu-tcc-syslibs (push) Failing after 0s
Semgrep / Scan (push) Failing after 0s
2024-09-19 00:55:42 +02:00
pancake
92df21a6d5
Fix invalid esil for add+shift on arm64 ##esil
Some checks failed
build / linux-csnext (push) Failing after 0s
build / tarball (push) Failing after 0s
build / linux-static (push) Failing after 0s
build / check_abi_compatibility (push) Has been skipped
build / linux-acr-rpm-64 (push) Failing after 0s
build / linux-acr-deb (amd64) (push) Failing after 0s
build / linux-acr-deb (arm64, aarch64-linux-gnu) (push) Failing after 0s
build / linux-acr-deb (i386, multilib) (push) Failing after 0s
build / android-acr (16, arm) (push) Failing after 0s
build / android-acr (aarch64) (push) Failing after 0s
build / android-meson (x86_64) (push) Has been skipped
CI / linux-acr-oldlibsbug (push) Failing after 0s
CI / linux-nocs (push) Failing after 0s
CI / linux-acr-gperf (push) Failing after 0s
CI / linux-sys-capstone (push) Failing after 0s
CI / linux-acr-resymlink (push) Failing after 0s
CI / linux-test (push) Failing after 0s
CI / linux-static-meson (push) Failing after 0s
CI / linux-rpath (push) Failing after 0s
CI / linux-meson-spaces (push) Failing after 0s
CI / linux-tinyasan-fuzz (push) Failing after 0s
CI / linux-asan-fuzz (push) Failing after 0s
CI / w32-mingw (push) Failing after 0s
CI / w64-mingw (push) Failing after 0s
Coverity Scan / latest (push) Failing after 0s
tcc / ubuntu-tcc-newabi (push) Failing after 0s
tcc / ubuntu-tcc-test (push) Failing after 0s
tcc / ubuntu-tcc-nodbg (push) Failing after 0s
tcc / r2pm-tcc (push) Failing after 0s
tcc / ubuntu-tcc-syslibs (push) Failing after 0s
2024-09-18 13:36:25 +02:00
pancake
725c2a1d15
Dynamically build the word grep list, breaking the ABI ##cons
Some checks failed
build / linux-static (push) Failing after 1s
build / check_abi_compatibility (push) Has been skipped
build / linux-acr-rpm-64 (push) Failing after 1s
build / linux-acr-deb (amd64) (push) Failing after 1s
build / linux-acr-deb (arm64, aarch64-linux-gnu) (push) Failing after 1s
build / linux-acr-deb (i386, multilib) (push) Failing after 1s
build / android-acr (16, arm) (push) Failing after 1s
build / android-acr (aarch64) (push) Failing after 1s
build / android-meson (x86_64) (push) Has been skipped
CI / linux-acr-oldlibsbug (push) Failing after 1s
CI / linux-nocs (push) Failing after 1s
CI / linux-acr-gperf (push) Failing after 1s
CI / linux-sys-capstone (push) Failing after 1s
CI / linux-acr-resymlink (push) Failing after 1s
CI / linux-test (push) Failing after 1s
CI / linux-static-meson (push) Failing after 1s
CI / linux-rpath (push) Failing after 1s
CI / linux-meson-spaces (push) Failing after 1s
CI / linux-tinyasan-fuzz (push) Failing after 1s
CI / linux-asan-fuzz (push) Failing after 1s
CI / w32-mingw (push) Failing after 1s
CI / w64-mingw (push) Failing after 1s
Code scanning - action / CodeQL-Build (push) Failing after 1s
Coverity Scan / latest (push) Failing after 1s
tcc / ubuntu-tcc-newabi (push) Failing after 1s
tcc / ubuntu-tcc-test (push) Failing after 1s
tcc / ubuntu-tcc-nodbg (push) Failing after 1s
tcc / r2pm-tcc (push) Failing after 1s
tcc / ubuntu-tcc-syslibs (push) Failing after 1s
Semgrep / Scan (push) Failing after 0s
2024-09-17 19:37:09 +02:00
pancake
87bab44344 Fix memory leak in RLangSession.fini ##leaks 2024-09-17 17:48:21 +02:00
pancake
0cc50d5518 Use thread-safe ttyname_r API, which also fixes a memory leak from glibc 2024-09-17 17:41:11 +02:00
pancake
9293b8250d
Deprecate the IS_DIGIT/IS_UPPER/IS_LOWER, we have posix ##api 2024-09-17 17:05:59 +02:00
pancake
6a0390367a Reduce calls to RConfig.get in the macho parser ##bin 2024-09-17 16:38:25 +02:00
pancake
ec289b4cf1 Fix invalid free in 'icc' ##crash 2024-09-17 15:54:03 +02:00
Lzu Tao
2295a1f340 Fix and <reg16>, <reg16> ##asm 2024-09-17 13:40:31 +02:00
Lzu Tao
25758fa5f6 Fix and sil, <mem8> ##asm 2024-09-17 13:40:31 +02:00
Lzu Tao
e54aecc935 cleanup: Remove +9 hack for extended regs ##asm,x86 2024-09-17 13:39:14 +02:00
Lzu Tao
02af12d23c asm: replace search loop for cr[0-7] with token[2] - '0' 2024-09-17 13:39:14 +02:00
Lzu Tao
d976b65274 Fix #23326: handle sil/dil and r[0-9]b extended regs
Some checks failed
build / tarball (push) Failing after 0s
build / linux-static (push) Failing after 0s
build / check_abi_compatibility (push) Has been skipped
build / linux-acr-rpm-64 (push) Failing after 0s
build / linux-acr-deb (amd64) (push) Failing after 0s
build / linux-acr-deb (arm64, aarch64-linux-gnu) (push) Failing after 0s
build / linux-acr-deb (i386, multilib) (push) Failing after 0s
build / android-acr (16, arm) (push) Failing after 0s
build / android-acr (aarch64) (push) Failing after 0s
build / android-meson (x86_64) (push) Has been skipped
CI / linux-acr-oldlibsbug (push) Failing after 0s
CI / linux-nocs (push) Failing after 0s
CI / linux-acr-gperf (push) Failing after 0s
CI / linux-sys-capstone (push) Failing after 0s
CI / linux-acr-resymlink (push) Failing after 0s
CI / linux-test (push) Failing after 0s
CI / linux-static-meson (push) Failing after 0s
CI / linux-rpath (push) Failing after 0s
CI / linux-meson-spaces (push) Failing after 0s
CI / linux-tinyasan-fuzz (push) Failing after 0s
CI / linux-asan-fuzz (push) Failing after 0s
CI / w32-mingw (push) Failing after 0s
CI / w64-mingw (push) Failing after 0s
Code scanning - action / CodeQL-Build (push) Failing after 0s
Coverity Scan / latest (push) Failing after 0s
tcc / ubuntu-tcc-newabi (push) Failing after 0s
tcc / ubuntu-tcc-test (push) Failing after 0s
tcc / ubuntu-tcc-nodbg (push) Failing after 0s
tcc / r2pm-tcc (push) Failing after 0s
tcc / ubuntu-tcc-syslibs (push) Failing after 0s
2024-09-17 08:34:39 +02:00
Lzu Tao
72ef1eea27 chore: add FIXME about pre-existing hacks 2024-09-17 08:34:39 +02:00
pancake
b9fbf3082d Fix large swift symbol demangling issue ##bin
Some checks failed
build / linux-static (push) Failing after 0s
build / check_abi_compatibility (push) Has been skipped
build / linux-acr-rpm-64 (push) Failing after 0s
build / linux-acr-deb (amd64) (push) Failing after 0s
build / linux-acr-deb (arm64, aarch64-linux-gnu) (push) Failing after 0s
build / linux-acr-deb (i386, multilib) (push) Failing after 0s
build / android-acr (16, arm) (push) Failing after 0s
build / android-acr (aarch64) (push) Failing after 0s
build / android-meson (x86_64) (push) Has been skipped
CI / linux-acr-oldlibsbug (push) Failing after 0s
CI / linux-nocs (push) Failing after 0s
CI / linux-acr-gperf (push) Failing after 0s
CI / linux-sys-capstone (push) Failing after 0s
CI / linux-acr-resymlink (push) Failing after 0s
CI / linux-test (push) Failing after 0s
CI / linux-static-meson (push) Failing after 0s
CI / linux-rpath (push) Failing after 0s
CI / linux-meson-spaces (push) Failing after 0s
CI / linux-tinyasan-fuzz (push) Failing after 0s
CI / linux-asan-fuzz (push) Failing after 0s
CI / w32-mingw (push) Failing after 0s
CI / w64-mingw (push) Failing after 0s
Code scanning - action / CodeQL-Build (push) Failing after 0s
Coverity Scan / latest (push) Failing after 0s
tcc / ubuntu-tcc-newabi (push) Failing after 0s
tcc / ubuntu-tcc-test (push) Failing after 0s
tcc / ubuntu-tcc-nodbg (push) Failing after 0s
tcc / r2pm-tcc (push) Failing after 0s
tcc / ubuntu-tcc-syslibs (push) Failing after 0s
Semgrep / Scan (push) Failing after 0s
2024-09-16 17:15:22 +02:00
pancake
c1efcc0fe6 Use better demangling environment defaults in rabin2 2024-09-16 16:39:32 +02:00
pancake
f6bde12409 Check if value for rasm2 -c asm.cpu is valid and warn the user ##tools 2024-09-16 14:47:07 +02:00
pancake
5bde26512f Add 'test' command with -f, -x and -d flags ##shell 2024-09-16 14:18:39 +02:00
pancake
808126e67b Fix #23313 - overlapping maps after aeim ##io 2024-09-16 14:11:24 +02:00
pancake
13776e4924 Clarify bin.demangle.libs -> bin.demangle.pfxlib ##bin 2024-09-16 13:34:41 +02:00
condret
7d6c66697a Minor optimization in r_graph ##util
Some checks failed
build / tarball (push) Failing after 0s
build / linux-static (push) Failing after 0s
build / check_abi_compatibility (push) Has been skipped
build / linux-acr-rpm-64 (push) Failing after 0s
build / linux-acr-deb (amd64) (push) Failing after 0s
build / linux-acr-deb (arm64, aarch64-linux-gnu) (push) Failing after 0s
build / linux-acr-deb (i386, multilib) (push) Failing after 0s
build / android-acr (16, arm) (push) Failing after 0s
build / android-acr (aarch64) (push) Failing after 0s
build / android-meson (x86_64) (push) Has been skipped
CI / linux-acr-oldlibsbug (push) Failing after 0s
CI / linux-nocs (push) Failing after 0s
CI / linux-acr-gperf (push) Failing after 0s
CI / linux-sys-capstone (push) Failing after 0s
CI / linux-acr-resymlink (push) Failing after 0s
CI / linux-test (push) Failing after 0s
CI / linux-static-meson (push) Failing after 0s
CI / linux-rpath (push) Failing after 0s
CI / linux-meson-spaces (push) Failing after 0s
CI / linux-tinyasan-fuzz (push) Failing after 0s
CI / linux-asan-fuzz (push) Failing after 0s
CI / w32-mingw (push) Failing after 0s
CI / w64-mingw (push) Failing after 0s
Code scanning - action / CodeQL-Build (push) Failing after 0s
tcc / ubuntu-tcc-newabi (push) Failing after 0s
tcc / ubuntu-tcc-test (push) Failing after 0s
tcc / ubuntu-tcc-nodbg (push) Failing after 0s
tcc / r2pm-tcc (push) Failing after 0s
tcc / ubuntu-tcc-syslibs (push) Failing after 0s
Coverity Scan / latest (push) Failing after 0s
2024-09-16 12:48:28 +02:00
pancake
ef93c84095 Honor quiet mode to not set noisy flags in /azs ##search 2024-09-16 12:45:40 +02:00
pancake
5c1e26ae12 Fix #23322 - assembler for 'mov r(number), [reg+delta]' ##arch 2024-09-16 12:16:45 +02:00
pancake
2befe4433c Use more likely hints in the flags api 2024-09-16 11:11:56 +02:00
pancake
aed1fb15b0 Improvements in the flags.zones code 2024-09-16 11:11:56 +02:00
pancake
91a9d46464 Handle name in flags.tags.unset and minor optimization 2024-09-16 11:11:56 +02:00
pancake
3845b50d59 Slow flag check was not even compiling, remove the code 2024-09-16 11:11:56 +02:00
pancake
f4b343de0d Improve swift demangler via cmd as well as handle bad sysenv ##bin
Some checks failed
build / linux-static (push) Failing after 0s
build / linux-acr-rpm-64 (push) Failing after 0s
build / check_abi_compatibility (push) Has been skipped
build / linux-acr-deb (amd64) (push) Failing after 0s
build / linux-acr-deb (arm64, aarch64-linux-gnu) (push) Failing after 0s
build / linux-acr-deb (i386, multilib) (push) Failing after 0s
build / android-acr (16, arm) (push) Failing after 0s
build / android-acr (aarch64) (push) Failing after 0s
build / android-meson (x86_64) (push) Has been skipped
CI / linux-acr-oldlibsbug (push) Failing after 0s
CI / linux-nocs (push) Failing after 0s
CI / linux-acr-gperf (push) Failing after 0s
CI / linux-sys-capstone (push) Failing after 0s
CI / linux-acr-resymlink (push) Failing after 0s
CI / linux-test (push) Failing after 0s
CI / linux-static-meson (push) Failing after 0s
CI / linux-rpath (push) Failing after 0s
CI / linux-meson-spaces (push) Failing after 0s
CI / linux-tinyasan-fuzz (push) Failing after 0s
CI / linux-asan-fuzz (push) Failing after 0s
CI / w32-mingw (push) Failing after 0s
CI / w64-mingw (push) Failing after 0s
Code scanning - action / CodeQL-Build (push) Failing after 0s
Coverity Scan / latest (push) Failing after 0s
tcc / ubuntu-tcc-newabi (push) Failing after 0s
tcc / ubuntu-tcc-test (push) Failing after 0s
tcc / ubuntu-tcc-nodbg (push) Failing after 0s
tcc / r2pm-tcc (push) Failing after 0s
tcc / ubuntu-tcc-syslibs (push) Failing after 0s
Semgrep / Scan (push) Failing after 0s
2024-09-16 01:30:38 +02:00
Dennis Goodlett
7b41be3094 Move lua bin parser code to ##bin formats
Some checks failed
build / linux-static (push) Failing after 0s
build / check_abi_compatibility (push) Has been skipped
build / linux-acr-rpm-64 (push) Failing after 0s
build / linux-acr-deb (amd64) (push) Failing after 0s
build / linux-acr-deb (arm64, aarch64-linux-gnu) (push) Failing after 0s
build / linux-acr-deb (i386, multilib) (push) Failing after 0s
build / android-acr (16, arm) (push) Failing after 0s
build / android-acr (aarch64) (push) Failing after 0s
build / android-meson (x86_64) (push) Has been skipped
CI / linux-acr-oldlibsbug (push) Failing after 0s
CI / linux-nocs (push) Failing after 0s
CI / linux-acr-gperf (push) Failing after 0s
CI / linux-sys-capstone (push) Failing after 0s
CI / linux-acr-resymlink (push) Failing after 0s
CI / linux-test (push) Failing after 0s
CI / linux-static-meson (push) Failing after 0s
CI / linux-rpath (push) Failing after 0s
CI / linux-meson-spaces (push) Failing after 0s
CI / linux-tinyasan-fuzz (push) Failing after 0s
CI / linux-asan-fuzz (push) Failing after 0s
CI / w32-mingw (push) Failing after 0s
CI / w64-mingw (push) Failing after 0s
Code scanning - action / CodeQL-Build (push) Failing after 0s
Coverity Scan / latest (push) Failing after 0s
tcc / ubuntu-tcc-newabi (push) Failing after 0s
tcc / ubuntu-tcc-test (push) Failing after 0s
tcc / ubuntu-tcc-nodbg (push) Failing after 0s
tcc / r2pm-tcc (push) Failing after 0s
tcc / ubuntu-tcc-syslibs (push) Failing after 0s
Semgrep / Scan (push) Failing after 1s
2024-09-14 20:50:44 +02:00
Dennis Goodlett
11f1e56426 Move lua header parser to bin/format ##bin 2024-09-14 20:50:44 +02:00
Dennis Goodlett
d656b65c85 Remove lua53_data global from lua ##bin 2024-09-14 20:50:44 +02:00
Dennis Goodlett
ff07c63042 Remove more usage of globals 2024-09-14 20:50:44 +02:00
Dennis Goodlett
3f3d6a7840 Remove many cases of lua53_global in lua ##bin 2024-09-14 20:50:44 +02:00
Dennis Goodlett
e84c51f9a9 Refactor lua ##bin plugin 2024-09-14 20:50:44 +02:00
pancake
b46f70a4bf Fix #23298 - Breakpoints recoil not working on FreeBSD ##debug
Some checks failed
build / linux-static (push) Failing after 0s
build / check_abi_compatibility (push) Has been skipped
build / linux-acr-rpm-64 (push) Failing after 0s
build / linux-acr-deb (amd64) (push) Failing after 0s
build / linux-acr-deb (arm64, aarch64-linux-gnu) (push) Failing after 0s
build / linux-acr-deb (i386, multilib) (push) Failing after 0s
build / android-acr (16, arm) (push) Failing after 0s
build / android-acr (aarch64) (push) Failing after 0s
build / android-meson (x86_64) (push) Has been skipped
CI / linux-acr-oldlibsbug (push) Failing after 0s
CI / linux-nocs (push) Failing after 0s
CI / linux-acr-gperf (push) Failing after 0s
CI / linux-sys-capstone (push) Failing after 0s
CI / linux-acr-resymlink (push) Failing after 0s
CI / linux-test (push) Failing after 0s
CI / linux-static-meson (push) Failing after 0s
CI / linux-rpath (push) Failing after 0s
CI / linux-meson-spaces (push) Failing after 0s
CI / linux-tinyasan-fuzz (push) Failing after 0s
CI / linux-asan-fuzz (push) Failing after 0s
CI / w32-mingw (push) Failing after 0s
CI / w64-mingw (push) Failing after 0s
Code scanning - action / CodeQL-Build (push) Failing after 0s
Coverity Scan / latest (push) Failing after 0s
tcc / ubuntu-tcc-newabi (push) Failing after 0s
tcc / ubuntu-tcc-test (push) Failing after 0s
tcc / ubuntu-tcc-nodbg (push) Failing after 0s
tcc / r2pm-tcc (push) Failing after 0s
tcc / ubuntu-tcc-syslibs (push) Failing after 0s
Semgrep / Scan (push) Failing after 0s
2024-09-13 20:24:20 +02:00
pancake
245779383e
Fix a 1 byte overflow in r2cmd and improve logic checks ##crash
Some checks failed
build / tarball (push) Failing after 0s
build / linux-static (push) Failing after 0s
build / check_abi_compatibility (push) Has been skipped
build / linux-acr-rpm-64 (push) Failing after 0s
build / linux-acr-deb (amd64) (push) Failing after 0s
build / linux-acr-deb (arm64, aarch64-linux-gnu) (push) Failing after 0s
build / linux-acr-deb (i386, multilib) (push) Failing after 0s
build / android-acr (16, arm) (push) Failing after 0s
build / android-acr (aarch64) (push) Failing after 0s
build / android-meson (x86_64) (push) Has been skipped
CI / linux-acr-oldlibsbug (push) Failing after 0s
CI / linux-nocs (push) Failing after 0s
CI / linux-acr-gperf (push) Failing after 0s
CI / linux-sys-capstone (push) Failing after 0s
CI / linux-acr-resymlink (push) Failing after 0s
CI / linux-test (push) Failing after 0s
CI / linux-static-meson (push) Failing after 0s
CI / linux-rpath (push) Failing after 0s
CI / linux-meson-spaces (push) Failing after 0s
CI / linux-tinyasan-fuzz (push) Failing after 0s
CI / linux-asan-fuzz (push) Failing after 0s
CI / w32-mingw (push) Failing after 0s
CI / w64-mingw (push) Failing after 0s
Code scanning - action / CodeQL-Build (push) Failing after 0s
Coverity Scan / latest (push) Failing after 0s
tcc / ubuntu-tcc-newabi (push) Failing after 0s
tcc / ubuntu-tcc-test (push) Failing after 0s
tcc / ubuntu-tcc-nodbg (push) Failing after 0s
tcc / r2pm-tcc (push) Failing after 0s
tcc / ubuntu-tcc-syslibs (push) Failing after 0s
2024-09-13 17:54:09 +02:00
pancake
2f4f8edda6 Add f-0x f-? and other flag removal missing commands ##shell
Some checks failed
build / linux-static (push) Failing after 0s
build / check_abi_compatibility (push) Has been skipped
build / linux-acr-rpm-64 (push) Failing after 0s
build / linux-acr-deb (amd64) (push) Failing after 0s
build / linux-acr-deb (arm64, aarch64-linux-gnu) (push) Failing after 0s
build / linux-acr-deb (i386, multilib) (push) Failing after 0s
build / android-acr (16, arm) (push) Failing after 0s
build / android-acr (aarch64) (push) Failing after 0s
build / android-meson (x86_64) (push) Has been skipped
CI / linux-acr-oldlibsbug (push) Failing after 0s
CI / linux-nocs (push) Failing after 0s
CI / linux-acr-gperf (push) Failing after 0s
CI / linux-sys-capstone (push) Failing after 0s
CI / linux-acr-resymlink (push) Failing after 0s
CI / linux-test (push) Failing after 0s
CI / linux-static-meson (push) Failing after 0s
CI / linux-rpath (push) Failing after 0s
CI / linux-meson-spaces (push) Failing after 0s
CI / linux-tinyasan-fuzz (push) Failing after 0s
CI / linux-asan-fuzz (push) Failing after 0s
CI / w32-mingw (push) Failing after 0s
CI / w64-mingw (push) Failing after 0s
Code scanning - action / CodeQL-Build (push) Failing after 0s
tcc / ubuntu-tcc-newabi (push) Failing after 0s
tcc / ubuntu-tcc-test (push) Failing after 0s
tcc / ubuntu-tcc-nodbg (push) Failing after 0s
tcc / r2pm-tcc (push) Failing after 0s
tcc / ubuntu-tcc-syslibs (push) Failing after 0s
Coverity Scan / latest (push) Failing after 0s
Semgrep / Scan (push) Failing after 1s
2024-09-12 18:58:29 +02:00
pancake
c3ba414ea2 Fix tiny memleak in /xn 2024-09-12 17:19:40 +02:00
Valentin Obst
beebec98bf libr/mips: Fix ESIL of movn and movt
Some checks failed
build / linux-static (push) Failing after 0s
build / check_abi_compatibility (push) Has been skipped
build / linux-acr-rpm-64 (push) Failing after 0s
build / linux-acr-deb (amd64) (push) Failing after 0s
build / linux-acr-deb (arm64, aarch64-linux-gnu) (push) Failing after 0s
build / linux-acr-deb (i386, multilib) (push) Failing after 0s
build / android-acr (16, arm) (push) Failing after 0s
build / android-acr (aarch64) (push) Failing after 0s
build / android-meson (x86_64) (push) Has been skipped
CI / linux-acr-oldlibsbug (push) Failing after 0s
CI / linux-nocs (push) Failing after 0s
CI / linux-acr-gperf (push) Failing after 0s
CI / linux-sys-capstone (push) Failing after 0s
CI / linux-acr-resymlink (push) Failing after 0s
CI / linux-test (push) Failing after 0s
CI / linux-static-meson (push) Failing after 0s
CI / linux-rpath (push) Failing after 0s
CI / linux-meson-spaces (push) Failing after 0s
CI / linux-tinyasan-fuzz (push) Failing after 0s
CI / linux-asan-fuzz (push) Failing after 0s
CI / w32-mingw (push) Failing after 0s
CI / w64-mingw (push) Failing after 0s
Code scanning - action / CodeQL-Build (push) Failing after 0s
Coverity Scan / latest (push) Failing after 0s
tcc / ubuntu-tcc-newabi (push) Failing after 0s
tcc / ubuntu-tcc-test (push) Failing after 0s
tcc / ubuntu-tcc-nodbg (push) Failing after 0s
tcc / r2pm-tcc (push) Failing after 0s
tcc / ubuntu-tcc-syslibs (push) Failing after 0s
Semgrep / Scan (push) Failing after 9s
2024-09-11 22:25:05 +02:00
satk0
1855633f6a Make ppc plugin cs6 compatible ##arch 2024-09-11 22:24:47 +02:00
pancake
43c83dc30e Fix asm.pseudo for archs with dots ##disasm 2024-09-10 15:21:58 +02:00
pancake
c20856d8c7 Better pseudo support for tricore ##arch 2024-09-10 15:21:58 +02:00
pancake
44a23da378 Fix stm8 pseudo return ##decompiler 2024-09-10 12:57:20 +02:00
pancake
72bec87125 Use dir.plugins config var instead of hardcoded R2_LIBDIR in libs.c 2024-09-10 12:17:31 +02:00
Marcel Alexandru Nitan
d236be6bbe Add gruvbox (dark) theme ##cons 2024-09-09 21:32:54 +02:00
pancake
19da5ae92b Fix another assert in the tricore.cs because of capstone bugs ##crash 2024-09-09 18:22:56 +02:00
pancake
001b96feb3 Implement /xn command to search for repeated patterns ##search 2024-09-09 18:12:11 +02:00
pancake
23a0ff3178 Better error reporting for the dash command ##shell 2024-09-09 09:04:26 +02:00
pancake
f1a8e51941 Safely walk the instruction operands in tricore.cs for ADD
* Fixes an assert in capstone #2476
2024-09-08 21:51:23 +02:00
pancake
d4dc008f49 Fix ano help 2024-09-08 20:58:58 +02:00
pancake
2b8bd307fe Fix null deref bug in the swift demangler ##crash 2024-09-08 15:38:07 +02:00
satk0
4526967221 Make mips plugin cs6 compatible ##arch 2024-09-07 23:17:48 +02:00
Valentin Obst
f6894d145b
Fix #23286 - Add ESIL translation for the MIPS movn instruction ##esil 2024-09-06 23:36:08 +02:00
pancake
a45c085164 Show invalid command when trying to run 'j' ##shell 2024-09-06 20:46:05 +02:00
pancake
c58413346f Expose asm.cpu options for bpf, not just depend on asm.bits ##arch 2024-09-06 20:21:09 +02:00
pancake
63e6b8d56a Add missing license field for bin.xtr.pemixed 2024-09-06 20:21:09 +02:00
pancake
467b99d5f5 Honor asm.syntax=regnum for the arm.cs plugin ##arch 2024-09-06 20:21:09 +02:00
pancake
9929b46cfb Update the tiled webui ##webui 2024-09-06 15:57:28 +02:00
pancake
f1be525052 Implement horizontal graph scrolling for macOS ##cons 2024-09-06 13:21:51 +02:00
pancake
60761d3d9d Support horizontal scrolling with control+wheel ##cons 2024-09-06 12:59:09 +02:00
Sylvain Pelissier
f7041c2b94
Reduce false positives in certificate scan ##search 2024-09-06 09:14:05 +02:00
pancake
8e107e3c72 Dont shift left signed types as reported in bug8 from #23278 ##crash 2024-09-06 01:36:38 +02:00
pancake
a67e3aab8f Fix large left shift in buf.sleb as reported in bug7 from #23278 ##crash 2024-09-06 01:36:26 +02:00
pancake
1e5dee681d Fix another left shift UB in uleb aka bug5 from #23278 ##crash 2024-09-06 01:36:12 +02:00
pancake
18cafbe3ed Fix addition overflow in ELF relocs as reported in #23278 (bug4) ##crash 2024-09-06 01:06:10 +02:00
pancake
1c64535e1f
Fix large left int shift in TE as reported in #23278 ##crash
* te.c:71:62: runtime error: left shift of 232 by 24 places cannot be represented in type 'int'
2024-09-06 01:05:46 +02:00
pancake
4d9c22a9d6 Fix multiplication overflow in PE as reported in #23278 ##crash 2024-09-06 00:13:23 +02:00
satk0
4593759163
Use the compatibility header to support capstone6 for ARM ##arch 2024-09-06 00:13:09 +02:00
pancake
6b7c9eeab1 Fix UB in uleb128 left shift reported in #23278 ##crash 2024-09-06 00:04:08 +02:00
pancake
7a120e6f17
Make rasm2 flags more coherent (-s,-S,-o,-O) ##tools 2024-09-05 16:21:11 +02:00
Dennis Goodlett
19677ffa78
Start refactoring lua ##bin 2024-09-05 14:27:55 +02:00
pancake
f433dec74d Fix .ascii and .asciiz directives for rasm2 ##tools 2024-09-05 13:09:09 +02:00
pancake
3e169c2b7e Fix #23277 - invalid allocation on verdef struct for ELF ##crash 2024-09-04 18:19:06 +02:00
pancake
2e2f7aa6a8 Fix leaks in =l 2024-09-04 07:47:41 +02:00
pancake
63f8f998c9
Sometimes functions end up asserting with empty names ##crash 2024-09-03 18:33:08 +02:00
pancake
ce9f8ad847 Fix ESIL for TST and AND v850 instructions ##analysis 2024-09-03 18:05:46 +02:00
pancake
73dcc9ef11 Better error message for printf 2024-09-03 17:37:55 +02:00
pancake
36946c4116 Implement the /xv[s] value array search command ##search 2024-09-03 12:39:43 +02:00
pancake
f06c7887d8 More fixes for the =l background webserver sessions ##web 2024-09-03 11:01:37 +02:00
pancake
17808f33db Implement asm.var.summary=4 and =? for help ##disasm 2024-09-03 11:01:37 +02:00
pancake
2952926a96
Initial implementation of the http sessions ##web (#23272) 2024-09-03 01:15:00 +02:00
pancake
c90a0dcf8c Also export scr.color via R2_COLOR env var ##shell 2024-09-02 15:44:49 +02:00
pancake
f415c27c1e
Handle multiline comments in pdsf ##print 2024-09-01 18:12:11 +02:00
pancake
1d6e1a66e1 More ESIL for tricore.cs ##arch 2024-09-01 15:33:34 +02:00
kcdq
c0b426bb3c
TriCore Registers Profile fix for arch "tricore" and "tricore.cs" ##arch
* Others TriCore CPU could require some adjustments on special registers.
2024-09-01 11:26:40 +02:00
pancake
4e47b8841d Implement asm.var.summary=3 ##disasm 2024-09-01 05:10:06 +02:00
pancake
fd442710f5 Fix a leak in the ano command 2024-08-31 22:15:34 +02:00
pancake
10583c9a66 Fix assert in the omni command ##crash 2024-08-31 18:54:51 +02:00
Sylvain Pelissier
14ba8a0778 Display strings with 'ps' until first non-printable character instead of escaping ##print 2024-08-31 18:48:10 +02:00
pancake
bf9540ab1e Add help for omp? subcommands ##shell 2024-08-31 18:41:12 +02:00
Sylvain Pelissier
e3687f0905
Add space character ascii.sdb.txt ##charset 2024-08-31 17:19:39 +02:00
pancake
e26327fc4d Sync $R2_FILE with 'o.' output ##shell 2024-08-31 16:51:50 +02:00
pancake
bea3250f56 Implement basic ESIL for movh and lea in tricore ##arch 2024-08-31 11:47:23 +02:00
pancake
daac4a36a1 Implement opex support for tricore.cs ##arch 2024-08-31 11:47:23 +02:00
pancake
59bffa36e2 Add basic calling convention register profile hints for TriCore ##arch 2024-08-31 11:47:23 +02:00
pancake
ede5b6973f Improve cfg analysis for tricore and tricore.cs ##arch 2024-08-31 11:47:23 +02:00
pancake
f17783877f Use hex and detect invalid instructions for tricore.gnu ##arch 2024-08-31 01:18:31 +02:00
pancake
948a38fa14 Implement asm.cpu for tricore.cs ##arch 2024-08-31 01:18:31 +02:00
pancake
5e342c0613
Improvements for the x86.pseudo ##decompiler 2024-08-31 00:06:03 +02:00
Marcel Alexandru Nitan
2a6cd2fb8d Fix ragg2 for arm targets by using the correct gcc ##ragg 2024-08-31 00:05:14 +02:00
pancake
d3b8528a85 Implement r_str_lstr API for R2_600 2024-08-30 23:27:57 +02:00
pancake
cfba7395e7 Improve the pseudo for stm8 ##decompiler 2024-08-30 14:42:54 +02:00
pancake
a433fb274c Sort help for the triple-at modifier @@@ ##shell 2024-08-30 13:31:45 +02:00
pancake
59a986a23c Add missing setuid/setgid signature type definition ##types 2024-08-30 11:08:35 +02:00
pancake
6d2b80305b Save and restore annotations ##projects 2024-08-30 02:32:42 +02:00
pancake
9c2b8e3793
Fix null format when displaying unknown argument types ##decompiler 2024-08-30 02:21:43 +02:00
pancake
6ebc339039 Expose the supported tricore cpu submodels ##arch 2024-08-30 01:01:21 +02:00
pancake
a5e3ff2403 Initial pseudo disasm support for tricore ##arch 2024-08-30 00:51:28 +02:00
pancake
d96d253adc Implement opcode details for tricore.gnu ##arch 2024-08-30 00:51:28 +02:00
pancake
cb90be5bfc Initial implementation of the ano command for annotations ##disasm 2024-08-30 00:03:03 +02:00
pancake
324e550812 Expose and honor the R2PM_GITURL envvar ##r2pm 2024-08-29 20:15:35 +02:00
pancake
c6c9f2e804 Expose the bin.baddr via env var when running programs 2024-08-29 19:32:22 +02:00
pancake
8f2d4095d9
Fix radareorg/radare2-pm#164 - Verboser database/package upgrade r2pm -U / r2pm -UU ##tools 2024-08-29 19:30:25 +02:00
pancake
dae0c7d430 Fix last covs 2024-08-29 15:59:46 +02:00
pancake
fdcc2e206c Improve handling of jump tables on arm64 ##analysis 2024-08-29 15:34:27 +02:00
pancake
f91d9f8475 Use usercomment color for argument type+name listing ##disasm 2024-08-28 21:57:46 +02:00
pancake
9998e1db3b
Improved function argument emulation listing ##disasm
* Honor anal.cc, reduce the amount of -1, depends on emu.str
2024-08-28 21:04:57 +02:00
pancake
e9a66a5abb
Implement agD for testing dom graph ##analysis 2024-08-28 18:34:58 +02:00
pancake
011c17ff6e Implement afsQ for better disasm scrolling ##visual 2024-08-27 20:15:25 +02:00
pancake
fef899840d Implement support for the latest switch tables on Swift/arm64 ##analysis 2024-08-27 18:09:13 +02:00
pancake
a740f175e1 Expose imm value on ADD/SUB arm64 instructions ##analysis 2024-08-27 18:09:13 +02:00
pancake
200ceb83b7 Implement ESIL and reg details for BRAA instructions on arm64 ##analysis 2024-08-27 18:09:13 +02:00
pancake
e91b2c369c Default jumptable word size is 32bit if not defined ##analysis 2024-08-27 18:09:13 +02:00
pancake
050a6faedd
Add CCCrypt for more platforms, add missing definition and use more R_RETURN 2024-08-27 16:11:51 +02:00
pancake
97cc15172a
Add type definition for CCCrypt import for ios-arm64 ##analysis 2024-08-27 12:39:04 +02:00
pancake
874839ba2d
Move all arch/p/pseudo/* into the right places ##refactor 2024-08-26 22:17:56 +02:00
pancake
931ac48e52 Remove r2pm -HH, use r2pm -H (without argument), same as r2 and in sync with doc ##tools 2024-08-26 21:26:19 +02:00
satk0
bc8ce26395
Fix #23012 - Make pduoj json consistent with pdj ##disasm 2024-08-26 21:22:19 +02:00
pancake
3e20c012e0
Fix the q; function signature bug in Vdf ##visual 2024-08-26 19:12:20 +02:00
pancake
1744c8863b Fix omn help message 2024-08-26 19:08:05 +02:00
pancake
19e25c0689 Fix segfault when deallocating arch plugins ##crash 2024-08-26 11:08:50 +02:00
pancake
4e3003cf34 More checks for ranged canal on invalid memory ##analysis 2024-08-26 11:01:26 +02:00
pancake
dff5accb26 Move the bpf pseudo plugin logic 2024-08-26 10:20:34 +02:00
pancake
2c718ab8a5
Add asm.parser.null.pseudo plugin ##arch 2024-08-26 09:08:11 +02:00
condret
4adde5fa53 mcs96 massaging 2024-08-24 14:41:11 +00:00
pancake
ce0f27e505
Fix command injection bug in search hit bug exposed by bad asm string ##search 2024-08-23 19:19:38 +02:00
pancake
28105c5ac3 Fix comment for asm.str 2024-08-23 18:47:50 +02:00
pancake
48bb148e35
Find longer computed strings with /az ##search 2024-08-23 11:15:01 +02:00
pancake
38ce4c7f1d
Append unmangled part of the swift symbol to avoid dupes ##bin
* Improve demangling of some constructions previously unhandled
2024-08-22 22:46:29 +02:00
pancake
4bdd4244cd Dont mix @e:scr.null in r2.cmd() ##r2js 2024-08-22 17:58:21 +02:00
pancake
cdfe867299 r2ai-decai -> decai 2024-08-22 17:58:21 +02:00
pancake
a92b24081b Move the abspath logic from cmd to the syscmd api 2024-08-21 16:27:56 +02:00
pancake
9f4f0297ff Honor ~ in cat ##shell 2024-08-21 13:31:58 +02:00
pancake
eb051a521f Add comments (to replace flags) for asm strings ##search 2024-08-21 09:26:17 +02:00
pancake
873d98afb2 Detect decai and r2jadx decompilers in cmd.pdc=? 2024-08-21 09:21:30 +02:00
pancake
811ae3af84 Implement -H command as an alias for r2 -H ##shell 2024-08-20 23:03:46 +02:00
pancake
743967ffd5 Colorize more stdint types in the ~:)) operator ##cons 2024-08-20 16:32:45 +02:00
pancake
2b2fa3fde0 Fix sdiv and ldrsb pseudo for arm ##decompiler 2024-08-20 14:31:26 +02:00
pancake
cc041f6e0e Implement afsq command and use it to fix a glitch ##visual 2024-08-20 13:07:28 +02:00
pancake
37e1edab5f Add the latest MACH0 platform values ##bin 2024-08-20 13:00:24 +02:00
pancake
5c47761ca7 Fix linting complains 2024-08-19 22:23:38 +02:00
pancake
9f2cc5e101 Fix null deref in Lcj ##crash 2024-08-19 22:12:18 +02:00
pancake
48f3d80244 Handle 'decai' and suggest to install ##shell 2024-08-19 19:04:20 +02:00
pancake
e382b998a7 Initial pavement for RCorePriv opaque struct ##api 2024-08-19 13:27:24 +02:00
pancake
0d8ed01c9b Implement /azj and add a test ##search 2024-08-19 13:03:51 +02:00
pancake
3b3d36f789 Fix few memleaks introduced recently in r2pm 2024-08-19 11:32:07 +02:00
pancake
0b9fe83605 Fix more bugs in /ck tire ##search 2024-08-19 10:40:04 +02:00
Sylvain Pelissier
1bd04b57c3
Honor user env variables ##r2pm 2024-08-19 08:33:23 +02:00
pancake
1e1053af22
Better bin.str.(min/max) defaults ##bin 2024-08-17 20:29:40 +02:00
pancake
b3b7cc0650 Fix oobread in /ck for search/tire ##search 2024-08-17 20:19:58 +02:00
John Sebastian Peterson
9f803c2fbd
Support horizontal scrolling swipe in Termux ##cons 2024-08-17 19:43:20 +02:00
condret
a05afbde3e
Improve addr wrap support in r_itv as stated by the comment ##io
* as a test create an itv starting at ut64_max - 1 with size of 8. then check if 4 is included
2024-08-17 13:41:03 +02:00
Sylvain Pelissier
19b7eeba38
Add CRC search to magic ##search 2024-08-17 13:39:25 +02:00
Sylvain Pelissier
3270166fa3
Add ed25519 private key search ##search 2024-08-14 17:39:14 +02:00
pancake
6e93ca7b80 Ignore NEVER bit in branch instructions on SPARC ##analysis
* This caused some bad analysis on capstone < v5.0.2
* Aka workaround for a third-party bug
2024-08-08 13:13:05 +02:00
pancake
c89fa80427 Fix SPARC call instruction branches ##analysis 2024-08-08 12:33:39 +02:00
pancake
64d534783c Expose the ELF hash algorithm in rahash2 -a elf ##crypto 2024-08-08 11:57:05 +02:00
pancake
b84601c452 Make dynsym and hash sections wordable ##bin 2024-08-08 11:45:43 +02:00
pancake
178286feac Improve sparc.cs disasm replacing +- with - ##disasm 2024-08-08 11:43:59 +02:00
condret
b0ab249dfd harden buf_cache 2024-08-08 09:38:11 +02:00
condret
13af8b5aa5 Fix io.cache ##io 2024-08-08 09:38:11 +02:00
condret
79b678a390 Fix esil_cfg 2024-08-08 09:38:11 +02:00
pancake
e387de70e4 Fix windows and wasm builds 2024-08-08 06:47:21 +02:00
pancake
fc8d6a9e35 Use WIFEXITED for system call 2024-08-07 12:50:10 +02:00
pancake
d079f5e249 Pseudo for arm64 replacing xzr with zero ##decompiler 2024-08-07 11:37:07 +02:00
pancake
6057b59693 Fix 'r2pm -r false' because exit(system("false")) is a lie ##shell 2024-08-06 18:16:52 +02:00
pancake
bcfa40c478
Add test and fix for the arm64 varsub issue ##disasm 2024-08-05 21:25:05 +02:00
pancake
22e4bf4ece Expose mem delta on store variables ##analysis 2024-08-05 19:11:21 +02:00
pancake
da67e7408b Fix unmatching brace in pdc output ##decompiler 2024-08-05 18:42:11 +02:00
pancake
68c0d46733 Fix last covs 2024-08-05 18:41:41 +02:00
pancake
c4fa97b7bd Improve Ve glitches on small terminals ##visual 2024-08-05 17:19:36 +02:00
pancake
6e9c65de28
Implement prj.history to save/load the per-project command history ##projects 2024-08-05 13:45:47 +02:00
satk0
060d976412
Replace other r_return_* uses and update DEVELOPERS.md ##refactor 2024-08-05 13:31:58 +02:00
pancake
361b8b0c15
!! for session history, !. for history save ##shell 2024-08-05 13:06:19 +02:00
satk0
ebd8bf9042
Replace r_return_val_if_fail with uppercase alternative 2024-08-05 12:26:32 +02:00
pancake
df188d8c21
Reimplement internal cfg.editor line editor ##cons 2024-08-05 10:34:12 +02:00
pancake
28a25c98a0 Few fixes for the line editor ##cons 2024-08-04 18:16:04 +02:00
pancake
4c12ff6fbd Honor cfg.editor when there's a comment in V; ##visual 2024-08-04 14:49:36 +02:00
pancake
ebc1067011 Fix null deref in panels 2024-08-04 13:05:43 +02:00
pancake
5be9cdd59c
Fix bug in V;! not bringing back the mouse ##visual 2024-08-04 12:57:37 +02:00
pancake
bb575f247d
Implement RBin.attr(str2bits) ##bin 2024-08-04 12:39:35 +02:00
satk0
aac8f3306b
Deprecate r_str_new and R_STR_DUP ##refactor 2024-08-04 12:21:44 +02:00
pancake
43cc6b7052 Implement RBinPlugin Commands in the new abi via i: ##bin 2024-08-04 12:07:46 +02:00
pancake
d2725b7bd0
Improved default function names ##analysis 2024-08-02 13:00:12 +02:00
pancake
2848e1d62b Remove esil stop global for newabi 2024-08-01 23:33:15 +02:00
pancake
c6faf1b1ff Some cleanup and minor refactoring for the f commands 2024-08-01 13:56:44 +02:00
pancake
6ab1a8db78 Add anal.flagends to stop a functions when flags are found ##analysis 2024-08-01 12:07:23 +02:00
Sylvain Pelissier
9edf6a6a98
Initial support for Ed25519 signatures ##crypto 2024-07-31 12:46:55 +02:00
Lars Haukli
82f6234beb
Fix aac on rebased files ##analysis
* Use r_bin_file_get_vaddr
2024-07-29 22:01:23 +01:00
Claudio Jeker
cdf4e18dd0
Adjust OpenBSD code to set the process state to be less wrong ##debug
Use the p_stat of the main thread to decide in which state the process is.
For multi-threaded applications this is still not quite correct but at
least this compiles on OpenBSD-current.

See also 290aac5691
2024-07-27 07:02:11 +01:00
pancake
9c6a2a7858
Refactor 'aaa' into a separate command 2024-07-24 19:12:48 +02:00
Francesco Tamagni
da4f9e705d
Fix aae behaviour on invalid instructions ##analysis
This prevents a scenario in which an invalid instruction also
invalidated the next ones, causing missing references.
2024-07-23 23:02:18 +02:00
pancake
5eec711f58 Fix move cursor right with arrow keys issue in dietline ##shell 2024-07-23 16:21:47 +02:00
pancake
5170fd452b
Optimize RAnalOp.setBytes with extra sauce for NEWABI ##analysis 2024-07-23 10:32:31 +02:00
pancake
5dd8795850
Return earlier when bin.classes is false ##bin 2024-07-22 22:37:49 +02:00
pancake
c534ed6a71
Use callAt instead of cmdAt for section formats ##bin 2024-07-22 21:24:11 +02:00
Francesco Tamagni
a766ec884b Avoid over-unsetting fixed arch / bits ##core 2024-07-22 21:15:08 +02:00
pancake
a9215b1644 Add anal.fixed.* (move anal.gpfixed and add arch/bits ones) ##core 2024-07-22 18:30:58 +02:00
Francesco Tamagni
2ba8d835fe Don't ask sections if fixed arch / bits set ##core
Avoids unnecessary iteration of all the sections to get the value of
bits and arch, in case they're fixed.
2024-07-22 17:43:04 +02:00
pancake
63241f1a05 Fix #23064 - Implemented iclc command ##bin 2024-07-22 15:47:39 +02:00
pancake
d7baeb6cce Remove 200 lines from tcc again 2024-07-21 21:25:47 +02:00
pancake
b635ccbde9 Fix parsing dmp binaries on big endian systems ##bin 2024-07-21 19:16:03 +02:00
pancake
26778a3fb2 Fix asm.emu derefenced word issue on big endian ##disasm 2024-07-21 18:34:17 +02:00
Xavi Artigas
a14cd58c44
Fix incorrect parsing of MZ headers in big-endian machines ##bin 2024-07-20 18:02:25 +02:00