Commit Graph

31745 Commits

Author SHA1 Message Date
pancake 9116caab2c Cleaning up the environment to workaround issues on some systems 2024-03-26 12:44:07 +01:00
pancake 325544a810 Implement 'wao recj' for 'tbz/tbnz' arm64 instructions ##arch 2024-03-25 19:27:47 +01:00
pancake 275e16719a
Fix #22745 - Fix Android static builds and autodetect NDK on Ubuntu ##build 2024-03-25 19:23:57 +01:00
pancake 56a53b96ae Use ascii instead of utf8 for the pie chart 2024-03-25 19:21:21 +01:00
pancake f1d94b0e59 Fix r2 symlink because lldb won't resolve them more than once 2024-03-25 19:11:35 +01:00
pancake 66edf036e6 Fix large offset passed to the pascal demangler ##crash
* Causes a negative memcpy, but it's not detected because size_t
2024-03-25 18:01:15 +01:00
pancake bbd430cb02
Add colors and improve the pie chart rendering a bit ##print 2024-03-25 17:35:58 +01:00
Vasilyy cbcbd5f020
Fix #22698 - Implement rax2 -j flag for json output ##tools 2024-03-25 17:26:19 +01:00
Sylvain Pelissier cb53db44f0 Add test for yara version 2024-03-25 05:45:50 +01:00
RoboSchmied 1b82a57694 Fix 8 typos
Signed-off-by: Michael Seibt <github@roboschmie.de>
2024-03-25 05:45:16 +01:00
Armin Weihbold 180fea967b
Fix the fix for dmh after ood ##debug 2024-03-22 23:23:23 +01:00
Francesco Tamagni fe6ab75db6 Add dyld shared cache rebase info v5 ##io 2024-03-22 17:35:38 +01:00
Francesco Tamagni de85a1ecf0 Fix LE sections sizes and add zerofills ##bin
When an object is larger than its own mapped pages, the remainder is
still mapped as zero-fill.
2024-03-22 12:41:27 +01:00
Francesco Tamagni 26fec0c650 Add pa sections iS. test 2024-03-22 10:44:28 +01:00
Francesco Tamagni b8e7e0d583 Use size or vsize consistently in iS. ##core
Now the size is virtual or physical consistently with the chosen
address. This makes it possible to get correct ouput for `iS.` on
addresses belonging to sections which have different `vsize` than
`size` (like for example bss sections).
2024-03-22 10:44:28 +01:00
pancake 116b4a51c1 Add base64 for CC (not only CCu) ##shell 2024-03-21 23:29:36 +01:00
pancake 8ab4d394a1
Fix CodeQL job by scaning only for C and C
Co-authored-by: pancake <pancake@nopcode.org>
2024-03-21 11:52:41 +01:00
pancake 757cbcef2f
Few more cleanups for rahash2 and add the strhash crypto plugin 2024-03-21 11:16:16 +01:00
pancake 44b6a981a3 Add magic number for the codeview debug info 2024-03-21 10:11:26 +01:00
Francesco Tamagni 685ae3272c Fix handling of LE cross-page relocs ##bin
This change fixes an issue for which whenever we encountered negative
`source` offset we gave up on the entire page missing out the rest of
the relocs on that page.

Instead negative means it is a cross-page fixup which is defined in
both pages (started N bytes before the beginning of the current page),
and we can also use this fact to avoid dupe relocs.
2024-03-21 08:30:18 +01:00
pancake 308bfbe7ac
To use r2pipe-ts we depend on nodejs, so ts scripts need node now ##lang
* Unless the R2_TSR2JS env var is set to 1
2024-03-21 07:31:25 +01:00
ReWithMe 43be88e4e3
Update README for clarity regarding sarif plugin (#22728) 2024-03-21 01:54:26 +01:00
Armin Weihbold 4bf463a996 adapt get_main_arena_offset_with_relocs to different libc versions ##debug 2024-03-20 21:39:39 +01:00
astralia 9127a15bec Rename rax2 -l to rax2 -n ##tools 2024-03-20 20:48:56 +01:00
astralia 0b4e450875 Rename rax2 -n/-N to rax2 -x/-c ##tools 2024-03-20 20:48:56 +01:00
astralia 961fe2c90c Rename rax2 -x to rax2 -X ##tools 2024-03-20 20:48:56 +01:00
Sándor Oroszi c1aa6d41d9 Fix entry point field name discrepancy in .ih* between 32bit and 64bit ELF ##bin
Fix #22720 - Different name for entry point field in rabin2 -H for 32bit and 64bit elfs
2024-03-20 20:45:08 +01:00
pancake 1a89246567 Upgrade to the latest capstone v5 commit from git 2024-03-20 15:39:24 +01:00
pancake 653eb3bfbb Update the radiff2 manpage 2024-03-20 01:17:13 +01:00
astralia 6c97a92e1d Update rax2 manpage and fix help ##doc 2024-03-19 14:27:31 +01:00
pancake 4eedc8a548 Fix uninitialized bug codesign parsing in mach0 2024-03-18 20:41:26 +01:00
pancake 3986df3a0b Fix UB in RCons.grep 2024-03-18 20:33:33 +01:00
pancake 194cd870f9 Add "b=" command as an alias for "b " ##shell
* Useful for oneliners like 'r2 -cb=32 -qcx /bin/ls'
2024-03-18 20:25:52 +01:00
pancake da7e2dc2bc Add r2pipe2.md RFC ##doc 2024-03-18 12:46:36 +01:00
pancake 148d9a301f
Support arm64 type 1026 relocs ##bin 2024-03-18 12:39:23 +01:00
pancake 453638891d
Move esil2c from core to libr.esil ##esil 2024-03-18 11:50:52 +01:00
pancake 8471613246 Add tests for the random_39855 files 2024-03-18 10:32:26 +01:00
pancake a8f1e83152
Fix CID#1540326 - string not null terminated (#22713) 2024-03-18 09:32:40 +01:00
pancake 6ab4b68013 Fix missing initialization in RSocket.run 2024-03-18 07:38:50 +01:00
pancake 0f93f7cb3d Missing initialization on RAnalOp struct 2024-03-18 07:38:50 +01:00
pancake 4b72abc8c5 Fix bug in r_str_scanf parsing %L formats 2024-03-18 07:29:38 +01:00
pancake 41d4a03363 Fix uninitialized value in RCons.mark 2024-03-18 07:26:15 +01:00
pancake a6752fec33 Do not do more work if the first check fails 2024-03-18 07:26:15 +01:00
pancake 378ee7d637 Fix very improbable uaf in block when ht initialization fails 2024-03-18 00:13:33 +01:00
pancake 2ab8d93994 Fix uninitialized s.proto in RSocket.proc 2024-03-18 00:01:11 +01:00
pancake e8e23e708d Fix double free in the io.gprobe plugin ##crash 2024-03-17 23:58:13 +01:00
pancake 222dbff091 New command 'aeae', like aea, but taking an esil expression as argument ##esil 2024-03-17 23:51:23 +01:00
pancake bb627ce0ac Fix #22552 - Fix variable access direction for arm64 store instruction ##analysis 2024-03-17 23:46:17 +01:00
pancake 4645fbc65b Fix scan coverity CI job 2024-03-17 23:07:45 +01:00
pancake 03ab4d12a5 r_core_visual_title is no longer public 2024-03-17 21:15:04 +01:00