Commit Graph

27513 Commits

Author SHA1 Message Date
pancake
c7f9503e72 Add aaep and extend aep to support pin specific commands ##esil
* Implemented few basic libc calls in pure r2 commands
2022-03-16 15:33:03 +01:00
pancake
cffad47c88 Improve help message for psz, aek, aae, aep, aer and aex commands ##shell 2022-03-16 15:33:03 +01:00
pancake
02f9dd1839 Add w64-static builds in the CI ##windows 2022-03-16 00:48:50 +01:00
pancake
37acc9d87f Add 'configure.bat static' argument to build r2blob.static.exe ##windows 2022-03-16 00:48:50 +01:00
pancake
4ba0af5d1d Fix meson -Dblob=true builds for static ##windows 2022-03-16 00:48:50 +01:00
pancake
87d238c515 Fix r2blob for windows ##windows 2022-03-16 00:48:50 +01:00
pancake
7d534a29be uaf 2022-03-15 23:25:12 +01:00
pancake
f8a35da205
Dont use != NULL as its implicit in C, even for bool casts ##refactor
$ find binr libr -name "*.c" -exec sed -i -e 's/ != NULL//g' {} \;
2022-03-15 19:54:04 +01:00
pancake
d759ee6a07 Fix title glitch in release-notes script 2022-03-15 19:53:02 +01:00
pancake
f544c625bd Fix UAF in mdmp parser 2022-03-15 19:49:05 +01:00
pancake
64d30e30cd Update README 2022-03-15 19:41:11 +01:00
pancake
4648f448e1 Fix some static meson blob dependency leftovers ##build 2022-03-15 19:29:16 +01:00
pancake
4bed905d8a
Fix msvc warnings (#19827) 2022-03-15 19:27:34 +01:00
Sergi Àlvarez i Capilla
43a2ee3686 Improve the way asm.nbytes plays with asm.flags.inbytes ##disasm 2022-03-15 17:43:36 +01:00
Sergi Àlvarez i Capilla
7ccf9fbd6b Fix buffer overflow in asm.nbytes, add hard limit to 64 ##crash 2022-03-15 17:43:36 +01:00
pancake
16b3ff90b0
Fix #19489 - Implement assembler for jrcxz ##asm 2022-03-15 17:42:48 +01:00
pancake
7370759fa0
Fix some bugs spotted by CodeQL 2022-03-15 15:22:25 +01:00
Sergi Àlvarez i Capilla
842b89a3cb Add fPIC to user.sh builds 2022-03-15 12:22:38 +01:00
Sergi Àlvarez i Capilla
00dd54d44f Fix recently-introduced memleak in panels 2022-03-15 11:55:14 +01:00
Sergi Àlvarez i Capilla
ae65a86282 Update to the latest yxml from git 2022-03-15 11:51:26 +01:00
Sergi Àlvarez i Capilla
cedcd24508 Update tests 2022-03-15 11:40:03 +01:00
Sergi Àlvarez i Capilla
f44932aafa Add afiq for quiet functino info and refactor the anal/abi.inc ##analysis 2022-03-15 11:40:03 +01:00
Sergi Àlvarez i Capilla
d07bcfa8b2 Add help for 'pie?', add pieq and add ninstr in afi[j] ##analysis 2022-03-15 11:40:03 +01:00
Sergi Àlvarez i Capilla
b5311e975f Improve panels interactions with decompiler frame ##visual 2022-03-15 11:08:27 +01:00
pancake
b57590c3b3 Use R_SYS_BITS by default in rasm2 ##tools 2022-03-14 13:10:47 +01:00
pancake
d8d2fc7bca Record seek history when cliking around in panels ##visual 2022-03-14 12:42:16 +01:00
pancake
20ed8c14bd Fix blank decompiler issue when clicking randomly in panels ##visual 2022-03-14 12:42:16 +01:00
Lazula
d507bda91c Remove R_EMPTY and R_EMPTY2 2022-03-13 11:26:10 +01:00
Lazula
3fc98d4e7f
Check for .git extension in upstream remote in install scripts (#19808) 2022-03-11 13:16:53 +01:00
pancake
63d4172d94
Fix last covs, mainly memleaks and update one test 2022-03-11 13:14:46 +01:00
Dennis Goodlett
e6537cef6c
Sanitize function names for prototypes ##analysis 2022-03-10 22:24:29 +01:00
Sergi Àlvarez i Capilla
9dea9a21e9 Fix asan oobread in anal.vax 2022-03-10 18:45:05 +01:00
Sergi Àlvarez i Capilla
f3a9b51ba6 Update capstone5 reference commit 2022-03-10 18:29:49 +01:00
pancake
2aaa5b4e21
Unify asm.z80 into anal.z80 ##analysis
* Clarify license conflict with the z80 plugin
* That's -50LOC (but can be more)
2022-03-10 18:18:15 +01:00
pancake
7ce6ae4ad1
Initial import of the code tokenizer ##print
* Integrated in pdg~:) .. the happy filter
* Needs more testing, and nobody tests unmerged branches. so here we go
2022-03-10 18:16:53 +01:00
pancake
b2cb721bf0
Restrict local vars and args in a 8KB range, otherwise skip ##analysis (#19811)
* Update and verify tests accordingly, new output is better
* Optimize function emulation by reusing bbdata
2022-03-10 16:45:59 +01:00
Lazula
619d9cb8cc
Add ddf command ##debug 2022-03-10 07:47:30 +01:00
aandersonl
947cae8599 Adds afva in all fcns flags (if any) ##analysis
* Analyze vars only if variable `anal.vars` is set adds some tests for variable/arguments analysis fix in anal/mips
* Fix get_config as boolean and use expressions for analyze all functions
2022-03-09 16:56:07 +01:00
Sergi Àlvarez i Capilla
9b124ff09e Skip afva on functions with signature registered ##analysis 2022-03-09 16:56:07 +01:00
Lazula
90ce9c795e
Fix dd command and update tests accordingly ##debug
* Add quotes around filename for dd command
* Account for string argument size in r_core_syscall()
* Fix command comments for dd
* Use a constant static stack size in r_core_syscall()
* Allow passing an address of the filename in memory for dd
* Change consumeBuffer() to print_buffer_hex()
* Improve dsue error message
* Update egg tests
* buf ownership is transferred to egg, dont free
2022-03-09 10:20:49 +01:00
Lazula
abf8041130 Improve scr.prompt.flag to include offset and hex delta 2022-03-09 09:11:32 +01:00
pancake
6a4dd942f8
Add help for the CL command ##bin 2022-03-08 13:55:55 +01:00
Sergi Àlvarez i Capilla
035e68e3f1 Cache file_exists when iterating over the source files ##bin
* Speedup large loading times for files with DWARF info
* Only speedups the cases where the files doesnt exist
* Need to refactor file_slurp_random_line() into str for better times
2022-03-08 13:04:24 +01:00
pancake
97f0bf300d
Complete DWARF4 register mappings ##bin 2022-03-08 12:44:14 +01:00
Sergi Àlvarez i Capilla
f72b7b5a50 Do not perform var/arg analysis on Java/Dalvik ##anal
* Fix almost an infinite loop on a clusterfuzzed dex file
2022-03-07 18:11:07 +01:00
pancake
a5489ebff3 Update tests accordingly 2022-03-07 17:18:53 +01:00
pancake
7b52e66c9c Skip wired-to-ground registers in dr= ##debug 2022-03-07 17:18:53 +01:00
pancake
a46f5e291f Fix drj in debug mode ##debug 2022-03-07 17:18:53 +01:00
pancake
5385336573 Add missing eiz/riz registers for x86 and x64 ##analysis
* ESIL was already correct, but the regprofile was missing those
2022-03-07 17:18:53 +01:00
Dennis Goodlett
5690f1c1e7 Add mermaid output to all ag commands ##anal 2022-03-05 09:48:57 +01:00