Commit Graph

5530 Commits

Author SHA1 Message Date
pancake
95845b0c90 Add support for LE/BE 24 bit registers ##reg
* Required for STM8, UNIVAC and others
* https://en.wikipedia.org/wiki/24-bit_computing
2023-05-02 13:51:57 +02:00
Luc Tielen
6501345848 Migrate xcore plugin ##arch 2023-05-01 20:19:27 +02:00
Luc Tielen
96bc36135f Migrate m68k_cs plugin ##arch 2023-05-01 19:27:50 +02:00
Luc Tielen
08d339acc2 Migrate 6502_cs plugin ##arch 2023-05-01 16:32:19 +02:00
Luc Tielen
4dd203c40d Migrate m68k_cs plugin ##arch 2023-05-01 15:27:37 +02:00
Luc Tielen
65196c2616
Refactor / improve loading of ELF symbols + imports ##bin 2023-04-28 18:02:54 +02:00
Luc Tielen
d9cb35b33b Migrate loongarch plugin ##arch 2023-04-28 15:28:22 +02:00
pancake
af6c84188a Fix R_SYS_ARCH name for native s390x ##build 2023-04-27 11:48:33 +02:00
rgc
3b85115dd3
Deprecate r_str_cmp() ##api
* Use strcmp or r_str_startswith instead
2023-04-25 13:44:15 +02:00
pancake
f49d00ad35 Improve automatch plugin with encoder support ##arch 2023-04-25 01:41:53 +02:00
pancake
e2d7fa7822 Add elf hash planned for r2-5.9.0 ##hash 2023-04-21 10:31:02 +02:00
pancake
433917e551
Branch prediction optimizations (2/3) ##performance 2023-04-18 16:10:44 +02:00
Luc Tielen
7ee8fb77a2 Refactor mach0 loading of relocs ##bin 2023-04-17 18:36:18 +02:00
Ildar Sadykov
2874ef7125
Implement r_str_tok_r without breaking abi
* reduce the strtok usage
2023-04-17 00:52:31 +02:00
pancake
db1d06da6b Migrate s390.cs and fix the abidiff suppression rules ##arch 2023-04-14 11:26:23 +02:00
Luc Tielen
3f153abffe
Refactor loading of mach0 sections ##bin 2023-04-13 18:20:09 +02:00
pancake
60f8492f2b Rename R_CONST to R_TAG and add unit tests for them ##api 2023-04-12 22:37:12 +02:00
pancake
d31d72491b Migrate the ppc.gnu plugin ##arch 2023-04-12 21:05:09 +02:00
pancake
9a43f62e53 Define RISCV breakpoint instructions ##debug 2023-04-12 00:27:43 +00:00
Luc Tielen
06b6f85581 Migrate m68k_gnu plugin ##arch 2023-04-12 17:53:32 +02:00
Luc Tielen
3e812278b5
Refactor loading of mach0 symbols ##bin
* Use RVector instead of handmade
* Replace sdb with ht for performance in mach0 parser
* Mark flacky test as broken
2023-04-12 16:51:30 +02:00
Luc Tielen
47d88743bd
Migrate S390 GNU plugin ##arch 2023-04-12 15:59:51 +02:00
pancake
caf010de2a
Fix SocketNotificationRetrieveEvents already defined issue ##build 2023-04-11 16:59:34 +02:00
pancake
4968d69f18
Migrate the hppa.gnu ##arch 2023-04-09 23:20:32 +02:00
pancake
5bf6f11c9c Add experimental zign.mangled to not use demmangled symbol names ##signatures 2023-04-09 18:07:50 +02:00
pancake
ce02212bfe Migrate the sparc.gnu plugin ##arch 2023-04-09 01:48:18 +02:00
Luc Tielen
58cc69f0dd Migrate the brainfuck ##arch 2023-04-01 11:38:31 +02:00
Luc Tielen
98c025ff79
Migrate h8300 plugin ##arch 2023-03-31 14:53:40 +02:00
pancake
a8143d8fb2 Migrate the pyc plugin ##arch 2023-03-30 16:14:41 +02:00
Luc Tielen
1e2c75cf65
Migrate msp430 plugin ##arch 2023-03-30 15:56:37 +02:00
pancake
2175715b0a Add wip archinfo and wip regs and make mcs96 an arch plugin ##arch 2023-03-29 20:15:10 +02:00
pancake
5b41faf4b1 Implement 'aoem' command to show memory refs via emulation ##esil 2023-03-29 11:36:35 +02:00
Luc Tielen
43db095af7 Migrate ebc plugin ##arch 2023-03-28 20:32:59 +02:00
Luc Tielen
561032abe5
Migrate lh5801 plugin + add missing regprofile ##arch 2023-03-28 20:13:18 +02:00
pancake
a215f295a8 Migrate the pdp11 plugin ##arch 2023-03-28 15:42:28 +02:00
Luc Tielen
be83c2cee9 Migrate arc ##arch 2023-03-28 15:24:42 +02:00
Luc Tielen
80197aa2ac Support wcu command for new io cache ##io 2023-03-27 15:26:01 +02:00
pancake
c1663224fd Support big endian value search analysis (aav) ##anal
* Inspired by 2762beba68
2023-03-27 12:52:04 +02:00
Luc Tielen
8e9e7e9668
Fix list bug in new cache ##io
* Change written flag to a bool in new cache ##io

We now keep track of which entries of the IO cache are already written,
just like in the previous implementation.
2023-03-23 15:03:38 +01:00
pancake
c04e689f66
Partial fixes for better register profile and arch switching handling ##debug
* Debugger file descriptor handling checks improved
2023-03-22 12:18:18 +01:00
pancake
8af31a5d8d Move the esil #! r2 command as an op instead of parse ##esil 2023-03-20 09:34:38 +01:00
pancake
1286246f25
Migrate arm.v35 ##arch 2023-03-17 08:23:37 +01:00
pancake
33c6303319 Minor fix in tagged pointer macro 2023-03-16 20:45:29 +01:00
pancake
cf004aff20
Add --with-new-io-cache configure and meson flags ##build
* That's an ABI breaking change optimizing io.cache=1
2023-03-14 15:29:53 +01:00
Murphy
d589162571
Migrate cr16 ##arch 2023-03-13 17:25:43 +01:00
pancake
c6c5d1ba17 Implement qword to better display patched relocs in macho ##bin 2023-03-13 13:09:40 +01:00
Murphy
4e43e320cd Migrate cris from anal to ##arch 2023-03-12 20:38:02 +01:00
Lazula
06a8789780
Remove all char* casts in free ##cleanup
* Fix dwarf demangle logic
* dwarf_process.c * type.c * pyc_dis.c * dex.c
* emit_arm.c * qjs_core.c * axml.c * engine.c
* cconfig.c * core.c * asn1_str.c
2023-03-09 18:40:24 +01:00
pancake
78222a3e45
Apply macho relocs on the swizzled buffer if bin.cache is not set ##bin 2023-03-09 13:02:26 +01:00
pancake
bead2f39aa
WIP abi breaking fix to make plugin loading O(1) 2023-03-07 19:28:19 +01:00