Commit Graph

31962 Commits

Author SHA1 Message Date
pancake
2237eafbc8 Fix #22742 - Implement R_X86_64_TPOFF64 reloc type for ELF ##bin 2024-03-28 21:46:35 +01:00
pancake
f90bd76800 Fix 'reloc conversion failed' on some ELFs ##bin 2024-03-28 20:52:05 +01:00
pancake
be56e1f936
Fix #22737 - Honor endianness in ih for elf + tests ##bin 2024-03-28 20:05:47 +01:00
pancake
8f1752bee0 Fix sys/static.sh --meson on macOS 2024-03-27 22:30:58 +01:00
pancake
e4b1438e1c A little bit more verbose plugin loading debug logs 2024-03-27 21:00:36 +01:00
pancake
fdf663af7b Support using the question mark in rlang plugin calls ##shell 2024-03-27 20:38:54 +01:00
pancake
6080089cf4 Fix segfault when loading a python rlang plugin after a qjs one ##crash 2024-03-27 20:35:25 +01:00
pancake
366ab4d54b Minor code cleanup for the esil compiler 2024-03-27 18:55:55 +01:00
pancake
7f00cb03f1
Initial implementation of the ESIL compiler in the ae! command ##esil 2024-03-27 03:12:02 +01:00
pancake
65cb16e916 Dim symbol and section count to avoid future coff issues ##crash
* Add extra if0 checks for my future self
2024-03-26 23:26:51 +01:00
pancake
a72f663ba0 Add null terminator in symbol name union, fixes two tests ##crash 2024-03-26 23:26:51 +01:00
pancake
cb190f0170 Add test for the fuzzed coff file ##crash 2024-03-26 23:26:51 +01:00
pancake
cd657d6c36 Fix missaligned union field access in coff parser 2024-03-26 23:26:51 +01:00
pancake
d0b6e8a1b5
Slowly improving the coff parsing (part2) 2024-03-26 21:49:39 +01:00
pancake
786558442b
Slowly improving the coff parsing (part1) 2024-03-26 20:53:12 +01:00
pancake
8d51c071a6 Minor optimization by avoiding one unnecessary clearline in the dietline ##cons 2024-03-26 16:19:00 +01:00
pancake
d76b921c26 Fix #22750 - char is now unsigned on android 2024-03-26 16:18:31 +01:00
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