109 Commits

Author SHA1 Message Date
Guillaume Valadon
a8ad435c10 Typos fixed (#7970) 2017-07-20 10:44:43 +02:00
pancake
20f7ac66cc Bring back drx on XNU, buggy but at least does something 2017-05-27 03:57:30 +02:00
SkUaTeR
beb80cfc16 Fixes for MSVC 2017-05-09 23:53:20 +02:00
Ren Kimura
ce5758b739 Add reverse singlestep command 'dsb' (#7116) 2017-03-25 16:00:25 +01:00
pancake
93eb47ccac Update SDB fixing stack exhaustion in merge sort and enhance indentation scripts 2017-02-12 22:44:13 +01:00
Elia Geretto
31e8d7cb68 Fix various memory leaks (#6272)
* Fix bits_ranges memory leak in anal.c
* Fix anal->reg memory leak and prevent use after free in plugin.c
* Fix reg->allregs memory leak in reg.c
* Fix dbg->plugins memory leak in debug.c
* Fix io->plugin_default memory leak in io.c
* Fix plugin_free not deallocating plugin in bin.c
* Adapt to style guidelines
* Fix memory leak in r_bin_object_free and resolve double free
* Fix o->kv memory leak in r_bin_object_set_items
* Fix memory leak pushing arena on reg init
* Fix io->plugin_default memory leak in io.c
* Adapt to style guidelines
* Fix pfile memory leak in radare2.c
* Add braces to if in bin.c
2016-12-01 09:09:59 +01:00
pancake
a7e281b524 Enhanced drpi and use gpr as default arena for flags 2016-11-15 16:20:10 +01:00
pancake
94d47c79bb Completely remove all references to list.h 2016-10-27 13:33:27 +02:00
pancake
3654e5f33b Fix regression in reg.type=flg 2016-08-14 19:12:52 +02:00
pancake
f60597b2ee Fix ar 1 to honor RReg.Type.flg 2016-08-14 02:23:47 +02:00
Jeffrey Crowell
7436b51095 add r_reg_32_to_64 for @condret
closes #5206
2016-06-25 00:03:44 -04:00
pancake
2138ca700c Fix #5019 - registers are now accessible by index 2016-05-31 14:11:09 +02:00
Sven Steinbauer
547f8bbc5c Infer fixes Round 2 (#4993) 2016-05-24 22:22:15 +02:00
pancake
1f82c105fb Fix doublefree and regprofile for FreeBSD 2016-05-04 13:28:53 +02:00
NaveenBoggarapu
4c04b98b47 few memory leaks fixed 2016-04-13 21:55:48 +02:00
pancake
740e43eadd Fix some segfault and consistencies 2016-04-04 01:59:30 +02:00
Mizari
59d614edf1 Added drw/arw command + r_reg_arena_set_bytes 2016-03-22 11:48:42 +01:00
pancake
7bef915a8d Implement arC/drC to show comments in regprofiles 2016-01-09 03:14:18 +01:00
pancake
4e6be05f62 ARM's SP is r13 and add LR in r14 2015-12-31 14:10:11 +01:00
pancake
a4fc08b401 More auto-indentation enhancements 2015-12-08 23:55:23 +01:00
pancake
cffa44b2f7 Add ara command and fix RReg.arena.push/pop implementation 2015-11-24 00:58:03 +01:00
pancake
5c99eb0c3f Uppercase register aliases 2015-10-31 01:59:01 +01:00
pancake
b08add890a Fix the 80/96/128 fpu reg value issue 2015-10-22 13:38:30 +02:00
pancake
35f97e3862 Add register profile for AVR 2015-10-13 23:01:30 +02:00
pancake
49975ccf95 Fix #3286 - Use stdbool.h 2015-09-14 02:08:31 +02:00
pancake
f776f5a515 Implement RReg API for long double and packed registers 2015-08-23 03:58:49 +02:00
Álvaro Felipe Melchor
b52cfe422e Fix #2759 2015-06-16 22:47:47 +02:00
pancake
c047506f21 Some cleanup for regset issues and update the regprofile 2015-05-21 02:31:01 +02:00
pancake
9392424e30 Fix #2397 and #2398 - honor syscall args in dcs on linux-x86-64 2015-04-18 10:35:57 +02:00
pancake
bd4db7b966 Initialize swapped stack arena and implement 'aeis' ESIL stack emulation helper 2015-01-27 12:46:15 +01:00
Kamil Rytarowski
aadbd0f868 Fix GCC warnings: array subscript has type 'char'
Reported at NetBSD-current/amd64
GCC 4.8.4 (nb1 20141012)
2014-12-04 03:26:08 +00:00
Julien Nabet
e20728ec15 cppcheck: fix 1 'else if' cond matches previous cond + test indice before using it 2014-11-16 18:13:06 +01:00
pancake
42232354a7 Add 'ai' - address info, Enhace 'ad' (support patterns and sequences)
- ai shows: exec,read,write,flag,func,stack,heap,reg
- Add r_reg_regset_get()
- Implement r2.cmdj in r2.js
2014-10-15 02:24:22 +02:00
LemonBoy
27e9d2e938 Do not allow duplicate registers in the profiles. Free the RRegItem properly. Fix the line count in the parser. Fix the w32 debug profile. 2014-09-14 22:45:09 +02:00
pancake
7029eab6af Enforce register arena, better fit size. Fix native mips reg profile size 2014-09-14 02:52:30 +02:00
pancake
63f00d0b0f Implement working ESIL backend for Brainfuck. Requires manual init 2014-09-13 02:24:50 +02:00
LemonBoy
61eaa5cafc Settle the pointer ownership issue once for all 2014-09-13 00:30:15 +02:00
pancake
dda441f9c3 Fix thelemon notes 2014-09-11 00:41:33 +02:00
pancake
d93563909d Fix latest coverity issues 2014-09-10 02:21:10 +02:00
LemonBoy
7833b0427d Rewrite register profile parser to make it cleaner and more robust
- Make all the reg profiles heap-allocated for consistency
- Fail gracefully when the profile has errors
- Minor fixups
2014-09-08 17:41:22 +02:00
Jonathan Neuschäfer
be7cba651d fix instability in r_reg_free_internal
This is a partial revert of 0814a6d4e ("Fix memleak in r_reg_free").
2014-08-26 03:45:14 +02:00
pancake
a8994d0f63 Fix crash in rreg deinit 2014-08-25 04:27:25 +02:00
pancake
0814a6d4e2 Fix memleak in r_reg_free 2014-08-25 01:18:35 +02:00
pancake
131aaa487f Fix more ESIL instructions for x86 2014-08-08 02:11:23 +02:00
pancake
ea384ec166 Add regdiff test program and fix the api 2014-07-03 13:48:35 +02:00
pancake
ab05fbd9d3 Fix r_reg_next_diff (thanks defragger!) 2014-06-27 15:33:25 +02:00
pancake
e321c0e62c Add RReg bufdiffing apis to retrieve list of modified regs 2014-06-26 12:18:45 +02:00
pancake
a69f56ffe6 Fix all latest coverity issues except the rsa-find ones 2014-06-24 01:01:27 +02:00
pancake
7fafaf6c94 Fix parsing some corrupted RReg profiles, cache profile reloading, fix arena fit 2014-06-23 18:13:41 +02:00
pancake
5c209802a7 More work on arm-thumb-capstone + esil 2014-06-19 04:03:11 +02:00