Commit Graph

29066 Commits

Author SHA1 Message Date
pancake
b757488cf8 More linting rules 2022-10-09 01:04:13 +02:00
pancake
36d13a1165 Fix sh asan issue 2022-10-09 00:55:18 +02:00
pancake
4d7c7b67de Handle JK0 keys in VT ##visual 2022-10-09 00:21:38 +02:00
pancake
ba2abf29f0 Implement new 'pcq' command, like pc, but inline-include-friendly ##print 2022-10-09 00:04:25 +02:00
Quentin Kaiser
5c82e51884 Fix r_bin_elf_get_stripped for ELF files without sections.
ELF files without sections were automatically considered as not "not
stripped". Given that static symbols and MiniDebugInfo are stored in
dedicated sections (.symtab, .strtab, and .gnu_debugdata, respectively)
an ELF file without any section would have a difficult time providing
that information.
2022-10-08 22:37:16 +02:00
pancake
9b58cd500a Fix oobreads in sh, arc and alpha crashing the asan-ci 2022-10-08 19:23:00 +02:00
pancake
cac5b5882c Fix UAF on quit exposed by r2frida ##crash 2022-10-08 19:17:59 +02:00
pancake
8b5f4af674 Implement asm.flags.right option ##disasm 2022-10-08 19:17:59 +02:00
pancake
899bd1a911
Add flags under the asm.str flag prefix when doing /az ##search 2022-10-08 18:54:48 +02:00
pancake
65db9866c1 Implement the new pieb command as an alias for pie $Fi ##print 2022-10-08 17:50:59 +02:00
condret
9250240fc0 Update doc/fortunes.fun 2022-10-07 16:22:33 +02:00
pancake
7ee4000ce3 Honor cmd.vprompt and scr.notch in VT ##visual 2022-10-07 16:17:28 +02:00
pancake
cbcd1281bd Fix remaining tests 2022-10-07 16:17:28 +02:00
pancake
d0de591dc7 R_BIN_NM -> R_BIN_LANG ##api 2022-10-07 16:17:28 +02:00
pancake
34b0caa32d Include fields in the ic output ##bin 2022-10-07 16:17:28 +02:00
pancake
2b3c6500cc Enable the swift metadata parser by default and import classinfo ##bin 2022-10-07 16:17:28 +02:00
pancake
df32ab437f Add lang field for classes, symbols and methods, expose it via ic ##bin 2022-10-07 16:17:28 +02:00
condret
ccbd36e885 Start implementing mem access support for esil dfg 2022-10-07 03:10:02 +02:00
pancake
18cdcd3808 Redirect RLog messages into the Corelog ##logs 2022-10-06 23:34:27 +02:00
pancake
0c0effcd1b RStr.wrap() supports ansi and use it in VT ##visual 2022-10-06 22:05:46 +02:00
condret
853f296461 Rename EsilDFGRegVar to EsilDFGVar and introduce EsilDFGVarType ##refactor 2022-10-06 21:06:20 +02:00
pancake
f7bde37f60 Add dummy parse.evm plugin to fix portability of test ##disasm 2022-10-06 20:32:30 +02:00
pancake
ccd79d9e36 Add a dummy bpf pseudo plugin ##disasm
* rename Parse.justify() to Str.fixSpaces()
* Fixes portability of testsuite
2022-10-06 20:32:30 +02:00
pancake
29362b4c71 Handle -HH in r2pm for verbose env listing and remove unused R2PM_GITSKIP ##r2pm 2022-10-06 20:32:30 +02:00
pancake
220bb2515b Fix asm tests for latest arm64 on capstone5-next 2022-10-06 20:32:30 +02:00
pancake
fac19dcc2a Add RParse.justify() to easily fix commas and spaces ##disasm 2022-10-06 20:32:30 +02:00
pancake
22bec6b0e0 Also trim the trailing spaces on the x86 pseudo 2022-10-06 20:32:30 +02:00
pancake
ccd4fd7911 Fixes pull/install/uninstall on windows ##r2pm 2022-10-06 20:32:30 +02:00
pancake
72903225b2 Better spacing in arm.pseudo parse plugin ##disasm
* Ensure proper spacing after commas and no trailing space
2022-10-06 20:32:30 +02:00
pancake
361a6ea47a Fix arm64 plugin to work well with latest arm64 changes in capstone ##arch 2022-10-06 20:32:30 +02:00
pancake
f5cda53a1e Use the latest capstone5-next with updated aarch64 support ##arch 2022-10-06 20:32:30 +02:00
pancake
e1ba0de188 Fix race condition in x86.esil generation, fix crappy C
* last gcc reported warnings in this code
* it was not really possible to overflow the buffer
* but the global variable and sprintf+strcpy code was pure crap
2022-10-06 17:06:43 +02:00
pancake
44d1fcf05b Honor bin.minsz in /az is no argument is provided ##search 2022-10-06 16:33:05 +02:00
pancake
bc229b8f77 Implement /azq to search for assembly strings and add tests ##search 2022-10-06 16:33:05 +02:00
pancake
ba39542666 Implement the new /az command to find assembly constructed strings ##search 2022-10-06 16:33:05 +02:00
pancake
0749272434 Warn about unpatched relocs when no bin.cache is set for macho fixups ##bin
* Use R_LOG for elf and rel fileformats
2022-10-06 14:15:45 +02:00
pancake
712f9f8d94 Code cleanup using RStrBuf instead of Rbuf in the java demangler 2022-10-06 14:00:02 +02:00
pancake
8aeae89831 Fix console history log path regression ##cons 2022-10-06 13:10:19 +02:00
Francesco Tamagni
49f9dddf47 Keep structs aligned 2022-10-06 12:07:49 +02:00
Francesco Tamagni
d67e569ace Add support for 32bit Mach-O fixups ##bin 2022-10-06 12:07:49 +02:00
pancake
c21bb3b999 Add base64 support to the T and T* commands ##logs 2022-10-06 12:06:28 +02:00
pancake
ee8b803c4e Implement Tv command and use it from VT ##visual
* Visual textlogs are now a thing!
2022-10-06 12:06:03 +02:00
pancake
9f6afce36d Fix return code when doing r2pm -U 2022-10-06 12:05:30 +02:00
pancake
2fc42f9a7d Initial implementation of ?ie ##shell
* Require scr.interactive in `?ip`
2022-10-06 11:48:33 +02:00
pancake
23ff2b4247 Add missing help for the '?i?' command ##shell 2022-10-06 11:42:20 +02:00
pancake
228afa6344 r2pm -Ui can be combined now and fix extras package building ##r2pm 2022-10-05 23:18:38 +02:00
pancake
dfa4e4096e Honor R2PM_DBDIR env var ##r2pm 2022-10-05 22:58:45 +02:00
pancake
b59112bc6c Honor -f in r2pm -U to force clean the r2pm db ##r2pm
* Dont copy files up and down, just use the repo
2022-10-05 22:58:45 +02:00
pancake
2e61d2b4f4 Add RStr.ansiStrip() and RStr.insert() ##util 2022-10-05 22:12:52 +02:00
pancake
48378ddab9 Fix memleak in the reloc fixups patcher 2022-10-04 19:00:55 +02:00