Commit Graph

32541 Commits

Author SHA1 Message Date
pancake
0738d61eb3 ai 2024-09-27 03:16:30 +02:00
pancake
88e2ff3b1b Initial import of the rapatch2 tool ##shell 2024-09-27 02:59:21 +02:00
pancake
71c98b18d5
Make -p/-P available from the r2 shell and better subcommand handling ##shell 2024-09-26 21:10:28 +02:00
satk0
82017e2eea Fix s390 plugin for cs6 2024-09-26 14:40:17 +02:00
satk0
126b57c646 Fix arm plugin for cs6 2024-09-26 14:40:17 +02:00
pancake
82c0374583 Update cs5 and next pinned commits to the latest 2024-09-26 14:40:17 +02:00
pancake
7821a3c1fc
Unify aea/aeA command logic and a little cleanup 2024-09-26 10:24:49 +02:00
pancake
d25f859dfb Fix last covs 2024-09-26 09:45:29 +02:00
pancake
2fba90530f
Enforce valid value for asm.offset.relto ##config 2024-09-25 19:48:19 +02:00
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
2797a41c2e Remove libr_shlr.a special-case for Emscripten ##build
It is no longer needed.
2024-09-23 13:22:34 +02:00
Ole André Vadla Ravnås
8fa7d4f599 Simplify the WASM PARTIALLD flags ##build 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
7db5912491 Revive binr/rules.mk for WASM builds ##build 2024-09-23 13:22:34 +02:00
Ole André Vadla Ravnås
c818672996 Fix EXT_SO for the WASM config ##build
The `.` should not be part of the variable.
2024-09-23 13:22:34 +02:00
Ole André Vadla Ravnås
f39cfbf8fe Fix libr_shlr.a rule when building with Emscripten ##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
Ole André Vadla Ravnås
50b54573c7 Omit -pie 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
b27b22ea3c Ignore WASM build artifacts 2024-09-23 13:22:34 +02:00
satk0
909aa376f8 Fix preconfigure.bat setuptools installation ##build
Some checks failed
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
build / macos-acr (arm64, 13) (push) Has been cancelled
build / macos-acr (x86_64, 12) (push) Has been cancelled
build / ios (cydia32) (push) Has been cancelled
build / ios (true, cydia) (push) Has been cancelled
build / w32-meson (push) Has been cancelled
build / w64-static-2022 (push) Has been cancelled
build / w64-static (push) Has been cancelled
build / w64-meson (push) Has been cancelled
CI / macos-test (push) Has been cancelled
CI / macos-rpath (push) Has been cancelled
CI / w64-make (push) Has been cancelled
build / check_release (push) Has been cancelled
build / release (push) Has been cancelled
2024-09-21 23:31:03 +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
satk0
4569208cfd Install setuptools if needed in preconfigure.bat ##build 2024-09-21 19:22:50 +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