Commit Graph

1812 Commits

Author SHA1 Message Date
Luc Tielen
5bae28e7cc Add sort function RVec, const correctness ##util 2023-07-07 17:39:28 +02:00
Luc Tielen
b1851d273c Migrate rv32ima plugin ##debug 2023-07-06 17:00:51 +02:00
Luc Tielen
2400ded5e9 Migrate gdb plugin ##debug 2023-07-06 17:00:51 +02:00
Luc Tielen
afaf16f66d Migrate winkd plugin ##debug 2023-07-06 17:00:51 +02:00
Luc Tielen
1759db5e9b Migrate qnx plugin ##debug 2023-07-06 17:00:51 +02:00
Luc Tielen
3ab2344798 Implement review remarks 2023-07-06 17:00:51 +02:00
Luc Tielen
6b41cd4b18 Migrate bochs plugin ##debug 2023-07-06 17:00:51 +02:00
Luc Tielen
e85941beb4 Store current debug plugin session, migrate plugin ##debug 2023-07-06 17:00:51 +02:00
Luc Tielen
3dc5ad4ed0 Improve naming for callback functions to reduce confusion ##debug 2023-07-06 17:00:51 +02:00
Luc Tielen
21d5ad44d0 Add cleanup of plugins ##debug 2023-07-06 17:00:51 +02:00
Luc Tielen
1cbda579df Redesign plugins to have user data ##debug 2023-07-06 17:00:51 +02:00
pancake
c3d900ad76 Honor 'rsym.' flag prefix ##analysis 2023-07-05 23:53:32 +02:00
Luc Tielen
3dd73c404f Add meta section to debug plugins 2023-07-05 15:50:53 +02:00
Luc Tielen
41e8939e94 Rename r_cons_strcat -> r_cons_print 2023-07-05 15:50:53 +02:00
Luc Tielen
a40d2e8006 Fix removing core plugins from Lc after L- ##core 2023-06-27 11:45:23 +02:00
pancake
f5518549ad Fix caller to RTable.toString() memory leaks 2023-06-23 18:07:04 +02:00
pancake
3e4951179a Fix warning 2023-06-17 11:29:19 +02:00
Luc Tielen
5fda141d1d Migrate arm_cs plugin ##arch 2023-06-16 22:23:09 +02:00
pancake
d706352241 Pick snreg outside the aae loop and other minor esil-590 related fixes 2023-06-16 18:24:30 +02:00
Luc Tielen
428d50708d Migrate the AVR plugin ##arch
* Remove leftovers from migrating old plugins
* Wire up esil callback for plugins
* Add workaround for showing registers for AVR
* Put 590 comment to cleanup esil from anal struct
* Make asm depend on crypto also
2023-06-15 16:07:10 +02:00
pancake
1d6ccf8a11 Fix tests 2023-06-15 12:26:49 +02:00
Luc Tielen
86b7f47db9
Remove several R2_590 ifdefs ##abi 2023-06-13 13:38:23 +02:00
pancake
f40ce7e9e6
RAnalValue no longer refs an RRegItem ##analysis
* Highly reduce memory usage, faster analysis and fix some memleaks and uafs
2023-06-09 12:05:43 +02:00
pancake
e56c1ee7fe Fix reading and parsing /proc/pid/maps from remote gdb on android ##debug
* Tested on Android12 / arm64
2023-06-08 11:35:01 +02:00
pancake
4a53f2b2c0 Dont enable debug tracing from type propagation ##analysis 2023-06-06 12:52:23 +02:00
pancake
cc37f0c606
Fix #21813 - parsing reg profiles from android-gdbserver ##debug 2023-06-01 12:26:26 +02:00
pancake
983ba627e2 Initial import of the rv32ima debug plugin ##debug
* https://github.com/cnlohr/mini-rv32ima
2023-05-18 01:27:09 +02:00
pancake
4c6d3bdd49
Update to the latest capstone for new sh and tricore ##arch 2023-05-16 11:34:10 +02:00
pancake
9729701f6d Apply all patches from pkgsrc to build for NetBSD/powerpc 2023-05-16 09:47:36 +02:00
pancake
45349cb227 Add support for 4bit registers ##arch
* RReg.setValue() support 4bit for writing
* Some bug fixes and list PC/SP when bits dont match
2023-05-06 13:16:15 +02:00
pancake
791545c474 Fix 64bit column register listing glitch ##debug 2023-05-02 13:10:36 +02:00
pancake
0620d7b47f Resolve ${arch}.nz as fallback when finding an assembler peer ##arch 2023-04-25 01:31:27 +02:00
Ildar
6e70a4c79e Replace strtok by thread-safe r_str_tok_r 2023-04-22 20:52:23 +02:00
pancake
eefcb84e68 Implement dtj command to list debug traces in JSON format ##debug 2023-04-20 22:15:30 +02:00
pancake
f27fd3300b Fix null deref in dtd when the process is dead ##debug 2023-04-20 22:04:34 +02:00
pancake
6741634429 Fix double free in debug traces 2023-04-13 16:42:13 +02:00
pancake
6ff7ee9dda Fix status register in the regprofile for darwin-arm64 ##debug 2023-04-13 11:52:36 +02:00
pancake
9a43f62e53 Define RISCV breakpoint instructions ##debug 2023-04-12 00:27:43 +00:00
pancake
07df4144eb Native debugger for OpenBSD and NetBSD on arm64 ##debug 2023-04-10 09:19:30 +02:00
pancake
d8420d4dca Improve brainfuck VM using ESIL and arch restrictions ##arch
* Instruction size must be 0xff instead of 32, to handle long jumps
* Registers are 32bit, so internal stack must use 32bit words
* Fix loop logic using simplified conditionals
2023-04-01 11:38:31 +02:00
pancake
2eb635193c Add cmd.step config var to run a command after every debugger step ##debug 2023-03-29 11:36:35 +02: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
894adc0dde Fix null deref in fuzzed omt command ##crash 2023-03-06 14:43:29 +01:00
pancake
6562542998 Remove some unsafe sprintf/strcpy 2023-02-20 23:20:53 +01:00
pancake
39f42922d8 Fix setting registers in linux/rv64 ##debug 2023-02-14 19:58:30 +01:00
pancake
9ea93c5aaa Fix retrieving registers on Linux/RV64 ##debug 2023-02-14 19:56:20 +01:00
pancake
699f9d8651 Add lint for ==' to improve code readability 2023-01-16 13:43:38 +01:00
pancake
49d609c86b Update to the latest tinycc in the CI ##build 2023-01-11 00:18:13 +01:00
pancake
d195f7cdbc Remove the need for ios-include.tar.gz ##build 2023-01-11 00:18:13 +01:00
pancake
c3a1fe170d Initial implementation of lang.s assembly scripting ##lang 2023-01-11 00:18:13 +01:00