Commit Graph

27047 Commits

Author SHA1 Message Date
pancake
d24bf5b654 More build fixes, googlefuzz integration, add r_asm_cpus() api via the wip 'al' command 2021-12-17 00:15:38 +01:00
pancake
ef355145c1 Build fixes 2021-12-16 23:26:19 +01:00
pancake
9986b6e464
Remove asm.ebc and merge disasm into the anal ##refactor 2021-12-16 18:27:45 +01:00
pancake
ea2c017c3a
Use api9 for android-arm builds to bring back Kitkat support ##build 2021-12-16 18:24:35 +01:00
pancake
3ad5693518
Initial implementation of r2pm.c ##r2pm 2021-12-16 12:47:40 +01:00
Dennis Goodlett
847f567be7
Add longest field to RSearch ##search 2021-12-16 12:47:23 +01:00
junchao-loongson
fb7778c395
Add basic support for loongarch ##ports 2021-12-16 12:46:18 +01:00
Dennis Goodlett
df32fd1725
Add r_search_upate_read API ##search 2021-12-16 12:45:48 +01:00
Sergi Àlvarez i Capilla
e95d1d9999 After release version bump 2021-12-16 12:45:03 +01:00
Sergi Àlvarez i Capilla
1703da75e2 Release 5.5.4 2021-12-15 10:16:39 +01:00
Lazula
b37999ad39
Check for an existing upstream remote in install scripts ##build 2021-12-15 10:12:43 +01:00
Lazula
6cc9402ee9
Fix formatting for some esil function calls (#19503) 2021-12-15 08:59:00 +01:00
pancake
03732b1312
Dont depend on case-sensitive FS to load the DLL sdbs ##bin (#19502) 2021-12-14 17:19:51 +01:00
Sergi Àlvarez i Capilla
87f28192a8 Fix master werror issue adding a default switch block 2021-12-14 16:26:03 +01:00
Sergi Àlvarez i Capilla
0f6ec113d2 Fix bug in panels spotted by codeql 2021-12-14 12:26:06 +01:00
Sergi Àlvarez i Capilla
cc217494b2 Disable the disassembler logic in the asm plugin for 8051 ##asm
* Avoid compile+link the same code twice for asm & anal
2021-12-14 10:16:58 +01:00
Sergi Àlvarez i Capilla
350c269901 Bind anal into rasm2 2021-12-14 00:32:45 +01:00
gogo2464
720f7f86c7
Handle registers on push on 8051 ##assembler 2021-12-13 23:45:18 +01:00
Sergi Àlvarez i Capilla
f50678328b Address dead code in widechar search spotted by coverity 2021-12-13 23:43:29 +01:00
Sergi Àlvarez i Capilla
4982055f30 Fix the last covs reported in pyc/avr/aao 2021-12-13 23:07:41 +01:00
Claudemirovsky
aceedaefea
Fix libr_lang linking issue ##build 2021-12-13 11:24:23 +01:00
gogo2464
fbb32d6875
Avoid UB in 8051 assembler and improve error message 2021-12-12 22:53:42 +01:00
pancake
2ddcdea581 Use cs_disasm_iter in anal.x86.cs to use less heap ##analysis 2021-12-12 21:48:09 +01:00
pancake
2e49776cce Use cs_disasm_iter to save few allocations ##disasm 2021-12-12 21:48:09 +01:00
pancake
2b66ea66ea Do not remake on modules with d/ ##build 2021-12-12 21:47:07 +01:00
gogo2464
d6d100938c
Handle jbc [reg] in 8051 assembler ##asm 2021-12-12 20:43:30 +01:00
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
Lazula
22ed7d5143 Remove unused read_buffer_only argument from r_core_print_disasm() 2021-12-11 10:57:48 +01:00
Lazula
ae9c54c28e Fix pD reading too many bytes during retry 2021-12-11 10:57:48 +01:00
pancake
e65e385e53 Add test for the objc crash 2021-12-10 00:45:23 +01:00
Sergi Àlvarez i Capilla
1499a9337f Fix last covs related to the py marshall code 2021-12-09 18:00:58 +01:00
Sergi Àlvarez i Capilla
58e59dbb0b Build for android with acr, meson doesnt seems to work 2021-12-09 12:43:40 +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
pancake
fdc9f4c36c
Fix #19476 - heap overflow in aao ##crash 2021-12-09 01:53:00 +01:00
pancake
7b9ac97299 Fix #19478 - null deref in symbols file ##bin 2021-12-09 01:25:51 +01:00
Francesco Tamagni
5450345e9b
Support Mach-O DYLD_CHAINED_PTR_64_OFFSET format ##bin 2021-12-09 01:18:02 +01:00
condret
89e162dab7 Fix crash and cleanup argparsing in omf command 2021-12-08 09:23:19 +01:00
pancake
79effabdf5 Release 5.5.2 2021-12-06 12:07:22 +01:00
Dennis Goodlett
56c35e0015
Update defines how data is free'd ##search 2021-12-06 12:06:25 +01:00
gordon-quad
2858090865
Fix #19473 - Support libc filename w/o version for heap analysis ##debug 2021-12-06 02:21:25 +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
e9b8b4fb66
Use null plugin when using unexistent asm plugin ##asm
* Fixes anal disasm warnings and related problems
2021-12-05 11:53:31 +01:00
pancake
e61c796fa4 Fix #19389 - Fix autocompletion for 'm <tab>' 2021-12-05 11:28:59 +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
150a4e385a Add help for r2pm -uu 2021-12-05 02:44:22 +01:00