Dennis Goodlett
9921f8c1d5
Add JSON output to zb commands ##signatures
2021-12-12 11:46:58 +01:00
Dennis Goodlett
25fa4328db
Cleanup public API for ##search ( #19477 )
...
* Remove unsed API
* Remove r_search_update_i
* Implementation of r_search_update_i was just returning r_search_update.
* Remove unused r_search_xrefs_update
* Remove r_search_magic_update from public API
* Move update functions out of public API
* Remove unused r_search_bmh API
* Rename search update functions
* Add R_IPI to internal functions
2021-12-12 11:46:46 +01:00
pancake
e65e385e53
Add test for the objc crash
2021-12-10 00:45:23 +01:00
pancake
49f40816d3
Fix indent issues, pass out buffer size and fix disasm return value
2021-12-09 09:51:29 +01:00
gogo
2f950f5ebe
add registers sreg, adcl and adch
...
replace spaces by tabs and add registers rampz and eind
remove comments from avr analysis plugin
add some registers to the register list
add more registers
add more registers
ajust register sizes
list all remininders full registers
analyze the binary
check for environment variable to fix tests
Use r_str_get() instead of manual string null checks in AVR plugin
move sreg instruction in numerical order
split the .assemble function with new files assemble.c and assemble.h
reassemble new instructions with operand spl and sreg
can reassemble old hex input as well as new input with register names. Register sph added.
use r_strbuf apis
Add file disassemble.c to meson
Fix is_register_found is ONLY set to true when current_register is != NULL
Fix size logic on return value.
Modify tests
fix review
2021-12-09 09:51:29 +01:00
Francesco Tamagni
5450345e9b
Support Mach-O DYLD_CHAINED_PTR_64_OFFSET format ##bin
2021-12-09 01:18:02 +01:00
pancake
24430ebdf6
Fix #18967 - Fix emulation for the mov-pc thumb instruction ##esil
2021-12-06 02:20:38 +01:00
pancake
08f66e3daa
Fix #19464 - incorrect assembly for adrp on arm64 ##asm
2021-12-05 16:29:11 +01:00
pancake
3da46ed758
Fix #19463 - io write error reporting regression ##io
2021-12-05 12:41:29 +01:00
pancake
862fe33631
Handle more ELF relocs for ARM binaries ##bin
...
* Handle more ELF relocs for ARM binaries ##bin
Inspired by cd6bde4aeb
2021-12-05 04:58:12 +01:00
pancake
12c44332a2
Check for subcommands of iz to improve output on invalid input ( #19467 )
...
* Minor count fix and r_diff include moved into r_util
2021-12-05 04:43:31 +01:00
pancake
1964777a05
Fix the CI ( #19462 )
2021-12-03 01:38:51 +01:00
pancake
dafa685c24
Fix invalid pointer read issue in dwarf parser ##crash ( #19459 )
...
* Exploited by tests_65179, tests_65180 and tests_64901
* Fix out of bounds issue causing memory corruption in unit test
2021-12-02 12:20:30 +01:00
Richard Liu
1f123e41e4
Fix infinite loop in r_str_replace ##util
...
* Add check for empty `key`, since `r_str_replace` does not check for
empty `key` and will loop indefinitely.
* Add test case for this (occurs with highlight grep)
2021-11-30 11:08:47 +01:00
pancake
8e2e9c73e4
Fix so-1 in runofthemill ( #19445 )
2021-11-28 01:50:29 +01:00
pancake
6c186b5029
Honor rabin2 -p to change io->va
2021-11-22 11:25:56 +01:00
aviciano
5a0bc927e7
Fix #16178 - Rename the r_anal_fcn* apis to r_anal_function*
2021-11-21 20:18:46 +01:00
pancake
ec0b1e60f6
Fix broken project test ( #19425 )
2021-11-19 01:01:46 +01:00
Lazula
2255bf8b5d
Many indentation style fixes
...
* Change several 8-space indents to tabs
* Apply tab indent style when breaking long lines
* Move operators from EOL to start of next line
* Fix ternary formatting
2021-11-18 10:43:52 +01:00
Dennis Goodlett
cef64fbbb0
Add binary search alg to pvector ##util ( #19414 )
2021-11-16 23:56:21 +01:00
pancake
075c0c0108
Do not show vars that aren't accessed ( #19403 )
2021-11-13 21:12:10 +01:00
Dennis Goodlett
b7a3516820
Fix bugs in types validator ##signatures ( #19392 )
2021-11-09 09:06:17 +01:00
pancake
4aa0293958
raw -> range ( #19387 )
2021-11-08 12:03:39 +01:00
pancake
9fcf40eab8
Fix assert crash in unit test ( #19386 )
2021-11-08 10:11:08 +01:00
condret
60529bf868
Add unit tests for new rbtree API
2021-11-08 03:01:27 +01:00
Dennis Goodlett
c4b45e3a18
Fix broken unit test in hex ( #19379 )
2021-11-06 08:07:04 +01:00
Dennis Goodlett
70ddf62757
Fix afv outputing commands when not in "*" mode ( #19381 )
2021-11-06 08:06:34 +01:00
condret
21f8e7a7e7
Fix bug in "om"-command
2021-11-06 02:47:11 +01:00
Sergi Àlvarez i Capilla
693fcaaaea
Disable conflictive tests to make master green
2021-11-05 16:25:34 +01:00
Sergi Àlvarez i Capilla
23da5e315f
Fix unit test
2021-11-05 15:15:09 +01:00
RHL120
59b5ec4e3c
Fix a problem serializing vartypes ##projects
...
That was causing some functions to not be reloaded after saving the project
2021-11-05 11:26:55 +01:00
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