1174 Commits

Author SHA1 Message Date
Dennis Goodlett
7c27574b5c
Simplify deserialization of byte ##signatures
* New API to get fist hex bytes in str ##util
2021-11-05 10:13:56 +01:00
Dennis Goodlett
b00d8c6e0f
Add more information to var ##signatures 2021-11-03 12:59:06 +01:00
thymol0
ccd00acfad Add test for the aaft+esilwrite crash 2021-11-03 00:15:57 +01:00
Sergi Àlvarez i Capilla
49cdf48c37 Use r_str_ndup in another bound check in dwarf ##bin 2021-11-02 18:44:08 +01:00
Sergi Àlvarez i Capilla
287bf14425 Remove sigstk test 2021-11-02 12:17:27 +01:00
pancake
f209fcb903
Improve debug message when misleading a function name ##anal 2021-11-02 11:48:28 +01:00
Dennis Goodlett
5be4f6c092
Add serialization API for vars ##anal 2021-11-02 11:04:35 +01:00
Sergi Àlvarez i Capilla
65527b88ba asm.fcnlines was renamed to asm.lines.fcn in 2018 🤦 2021-10-30 14:11:15 +02:00
condret
afbc4d33a6 Remove r_cont_rbtree tests 2021-10-28 19:48:46 +02:00
Sergi Àlvarez i Capilla
39f6f65fe7 apk:// is the new apkall:// (add AndroidManifest.xml) ##io 2021-10-27 16:07:26 +02:00
Sergi Àlvarez i Capilla
e9765d5ec8 Handle allbins in im, iM, iT, iC, iV, iz ##bin 2021-10-27 12:30:37 +02:00
condret
51902d70a8 Kill esil [] and =[] in anal_x86_cs 2021-10-27 01:11:32 +02:00
pancake
05e76eb6bf
Implement multidex and proper multibin in apkall:// ##bin
* Add testcase for multidex apk using apkall://
2021-10-26 22:51:40 +02:00
condret
5bc6054323 Fix io bank related tests 2021-10-25 18:41:23 +02:00
pancake
f6010a4ba1
Improve default theme ##cons (#19304) 2021-10-25 00:24:33 +02:00
pancake
40da7d2e2c Remove pwd in test 2021-10-25 00:11:40 +02:00
pancake
abb4d2b16f
Add ci commands to compare two rbinobject data ##diff
* Add cis, cii and cil
* Compare imports, symbols and libs
2021-10-24 23:52:57 +02:00
pancake
d3cd324a08
Implement 'ob *' to select all bins and honor in is,ii,ir,il ##bin
* Adds RCore.allbins and r_core_bin_files() helper function
* WIP: more i subcommands needs to be updated to support this
* Added a simple test case for `is`
2021-10-24 22:51:05 +02:00
Sylvain Pelissier
f51e3506f1
extras Video core 4 test (#19291)
* Add Video Core 4 test
* Update Makefile test with vc4 test
2021-10-24 00:16:21 +02:00
pancake
da7de83b41
Remove unused binheap api (#19275) 2021-10-21 15:13:02 +02:00
Sergi Àlvarez i Capilla
1beac82451 Extra bound checks for the pv3 test 2021-10-21 13:13:45 +02:00
Sergi Àlvarez i Capilla
b936b15a80 Improve error message when search.from > search.to 2021-10-21 12:41:50 +02:00
pancake
d5230a0e05
Use the heap when the cached block is not enough for pv (#19270)
* Fix 'b 3;pv4' bug and adds a test
2021-10-21 11:11:55 +02:00
Jose Antonio Romero
082ded9571 Add MSX rom/bin parser plugin and test ##bin 2021-10-20 11:55:50 +02:00
condret
8bd0a65169 Fix "om" related tests 2021-10-20 00:45:29 +02:00
Sergi Àlvarez i Capilla
96e42a5dbd Fix sixref test 2021-10-18 22:22:53 +02:00
Dennis Goodlett
bc11b1e536
Fix sign unit tests (#19255) 2021-10-18 21:28:30 +02:00
Dennis Goodlett
e7df8ad3c7
Simplify types storage in r_sign ##signatures (#19245) 2021-10-18 20:42:05 +02:00
pancake
dea41ee3c6
Honor (min|max)-opsz and buffer bounds in aar ##anal
* Speedup aar from 120s to 7s
2021-10-16 13:14:59 +02:00
Sergi Àlvarez i Capilla
b9978c24f5 Hide the 'no calling conventions' warning and add =R0 for x86 ##anal 2021-10-15 02:51:24 +02:00
Sergi Àlvarez i Capilla
b903404895 Improve the reg profile for python ##anal 2021-10-15 02:51:24 +02:00
Sergi Àlvarez i Capilla
677bbb2d5a avr requires aeim before aaaa to not assert ##anal 2021-10-14 18:50:16 +02:00
pancake
64225f30db
New 'avg' command and RAnal.global to manage global variables ##anal
* Tied to the flags and meta instances
2021-10-14 12:40:55 +02:00
Dennis Goodlett
d3863dded9 Add return type to zj ##signatures 2021-10-14 01:45:03 +02:00
condret
2633480437 Fix tests for RAnalVar function relocation ##anal 2021-10-13 22:11:18 +02:00
pancake
a1fade1a98
Remove ctype.c 2yo deadcode ##types
* lets maintain the tcc fork instead which already works
* this code is incomplete and not used anywhere
2021-10-13 09:28:10 +02:00
Antoni Viciano
88d8b622bf Fix #19094 - RBinOptions renamed to RBinFileOptions 2021-10-10 20:52:46 +02:00
Sergi Àlvarez i Capilla
57fbf3960e Fix pdi~invalid bug, at least when bbsize > 32 ##disasm 2021-10-08 21:52:19 +02:00
Lazula
0747bcd8e2 Fix new defects in various files
* Remove unnecessary NULL check in __demangleAs()
* Remove unnecessary NULL check in r_io_fd_seek()
* Add missing break in ARM32 COFF case and fix test
* Add missing NULL checks for r_io_bank_get() result
* Add missing NULL checks in r_bin_demangle()
* Add missing NULL check for r_io_submap_new() result
* Fix improper failure check in risv_assemble()
* Add missing break in open command
* Document fall-through case in dalvik anal
2021-10-08 01:31:17 +02:00
Dennis Goodlett
8665744819
Auto-rename name collisions in ##signatures 2021-10-07 08:21:25 +02:00
condret
08499ea67f Adopt new "om" command output in tests 2021-10-06 23:03:19 +02:00
Lazula
d1631b8d34 Multiple alias improvements
* Add proper hashtable functions in RCmdAlias to prevent memory leaks
* Fix off-by-one error in alias name processing
* Don't allow 0-length aliases
* Fix memory leak in r_cmd_alias_set_raw() when malloc fails and add
  null checks to other alias set functions
* Document intended use of strlen() result for buffer size
2021-10-06 22:24:42 +02:00
Sergi Àlvarez i Capilla
fe4b40bab2 Fix flaggified swift test 2021-10-05 10:52:36 +02:00
Sergi Àlvarez i Capilla
6969ee42ee Sync swift demangler syntax with Apple one and force trylib=0 in r2r.c 2021-10-05 10:10:32 +02:00
pancake
f427fc77cd
Improve swift demangler and add bin.demangle.trylib config ##bin
- May fix the macos testsuite as long as latest macOS comes with libSwift
2021-10-05 09:05:49 +02:00
Lazula
f166d98704
Mark fixed tests as not broken and change incorrect x86_32 tests (#19163) 2021-10-04 20:58:50 +02:00
Lazula
b14c523bae Improve alias string detection 2021-10-04 18:04:00 +02:00
pancake
690f6e6f8f
Boolify RIO.close() ##refactor 2021-10-04 14:47:22 +02:00
Lazula
25fc71570c Overhaul alias system
Aliases now use a hashtable. Aliases are now either commands or data.
Data aliases may be strings or raw bytes.

* Expand alias API
* Remove remote aliases - remote commands can still be aliased normally
* Update alias help text
* Fix an alias test and add new tests
* Add r_str_escape_raw() for null-safe escaping of unprintable characters
* Remove command to print alias without newline
* Fix dif command opening files as strings
2021-10-04 09:30:37 +02:00
pancake
4a4946cd89
Initial implementation of the HUNK file parser ##bin 2021-09-29 12:34:44 +02:00