23188 Commits

Author SHA1 Message Date
Florian Märkl
de59bada55 Fix warnings in or1k_disas.c 2019-12-16 00:30:45 +01:00
GustavoLCR
07b5e062f2 Fix #15545 - Fix NULL derefs after r_file_slurp() fails 2019-12-15 23:38:38 +01:00
GustavoLCR
7e4157bc2b Fix format string in windows_message.c 2019-12-15 23:37:54 +01:00
Paul I
9a4578a915 Replace some strstr() calls with strchr() 2019-12-15 23:37:27 +01:00
Florian Märkl
5870b5df85 Fix Alignment Check in aae on bit change 2019-12-15 23:36:44 +01:00
yossizap
6f546149cf Fixed gdbr warnings and a dpt crash after debug was over ##debug (#15636)
RDebugPid not being initialized with NULL resulted in a free on an invalid
pointer after gdbr_threads_list failed.
2019-12-15 04:45:11 -06:00
yossizap
28cac248a6 Added an event to signal the end of the debug session ##debug 2019-12-15 10:46:48 +01:00
Paul I
1d3698bc96 Fix memleak in r_anal_free() (#15631) 2019-12-15 02:38:37 +01:00
Paul I
829c6bc59f Fix heap-buffer-overflow bug in get_src_regname() (#15630) 2019-12-14 18:59:54 +01:00
Khairul Azhar Kasmiran
bb870f1d2f r2r.v: Fix test skipping (#15629) 2019-12-14 18:26:26 +01:00
Khairul Azhar Kasmiran
db558bd38b r2r.v: Move threads into r2r (#15628) 2019-12-14 03:36:52 -06:00
Anton Kochkov
e11b2a9145
Some Coverity defect fixes (#15626) 2019-12-13 11:25:19 -06:00
Francesco Tamagni
902426c8bb Add 64-bit iOS SEP xtr plugin ##bin 2019-12-13 15:49:35 +01:00
yossizap
eadbbaf3fd Fix 'oo' rebasing when leaving debug and add 'doc' to exit ##debug
Not all of the data was rebased after reopening the original file and
there was warning message from set_baddr which isn't needed here.
Switched to __rebase_everything instead of the old methods that were used.
2019-12-13 15:49:20 +01:00
Khairul Azhar Kasmiran
5ac505f119 r2r.v: Support running of just 1 cmd testfile (#15616) 2019-12-13 15:48:40 +01:00
Khairul Azhar Kasmiran
1d0c3290b1
r2r.v: Fix invocation of json tests (#15624) 2019-12-13 21:18:40 +08:00
Anton Kochkov
a43cc2664d
Fix AppVeyor (#15623) 2019-12-13 04:58:16 -06:00
pancake
49e523937e Refix magic's bgets() 2019-12-12 18:11:52 +01:00
pancake
e7ae25fbfb Fix another infite loop in RMagic.loadBuffer() 2019-12-12 18:04:12 +01:00
pancake
8a8a28e4cf Fix bread in RMagic.loadBuffer() 2019-12-12 17:52:50 +01:00
radare
376943c6d4
Loading json tests is not the same as running them (#15618) 2019-12-12 17:14:28 +01:00
radare
f680995474
Introduce the r_magic_load_buffer() api and boolify a bit ##search (#15617) 2019-12-12 17:12:33 +01:00
Florian Märkl
631cb78fc3 Fix first r_anal_op call after asm.bits change ##anal 2019-12-11 18:57:32 +01:00
Francesco Tamagni
aa52c1762e Add PIE flag check in kernelcache detection ##bin
In this way 64-bit SEP kernels aren’t wrongly detected as XNU kernel caches.
2019-12-11 18:56:52 +01:00
Francesco Tamagni
9fd379faff Rename or1k insns global (#15613)
As in certain build configurations it conflicts with the Capstone’s symbol of the same name, raising errors in the linking phase.
2019-12-11 18:56:14 +01:00
yossizap
79abeea09a Silence drr warning on UT64_MAX registers ##debug (#15611)
The warning:
WARNING: r_core_anal_hasrefs_to_depth: assertion 'core && value != UT64_MAX'
failed (line 2062)
This way registers like 'orax' will simply have an empty reference like before,
just without an annoying warning when there really is nothing to telescope.
{"reg":"orax","value":"0xffffffffffffffff","ref":""}
2019-12-11 13:20:29 +01:00
radare
55e5260bd2
Implement asm, fuzz and json test runner in r2r.v ##test 2019-12-10 17:36:44 +01:00
Khairul Kasmiran
2b79446157 Use ONE_STREAM=1 instead and assume it sets scr.onestream 2019-12-10 14:26:38 +01:00
GustavoLCR
56d8a0b233 Improve SP based var analysis ##anal
* Name variables based on their offset from the start of the stack frame

* Fix tests
2019-12-10 00:15:25 +01:00
GustavoLCR
9a3482710d Fix ms cc wrong argument analysis ##anal 2019-12-10 00:15:25 +01:00
pancake
91f6a310f0 Fully implement the asm test runner in r2r.v
- Must use the native api to speedup
- TODO: Multiple cores to run in parallel
2019-12-09 23:59:35 +01:00
Florian Märkl
7355d8c1f4 Fix N and V results in 6502 BIT ESIL (#15562) 2019-12-09 16:54:22 +01:00
Anton Kochkov
bb974bb86a r2r.v - better portability 2019-12-09 20:48:48 +08:00
pancake
a51d201e4f Fix some more asm tests and use the same warning style for r2r.v 2019-12-09 11:55:21 +01:00
Khairul Azhar Kasmiran
9bbc63ffa0 Fix crash on oom when command line is too long. Aim to fix #15543 2019-12-09 11:40:56 +01:00
pancake
b45a76ee37 Initial implementation of the asm/dis tests support in the V suite 2019-12-09 11:35:46 +01:00
Florian Märkl
7ed45aef31 Remove broken Threading Code from main for #12996 (#15554) 2019-12-09 10:27:14 +01:00
yossizap
9fca7b1f58 Fixed an issue with detached child breakpoint inheretence ##debug (#15561)
Previously, forked children would instantly die if the fork was stepped
over using a breakpoint which is accessible to the child process.
2019-12-09 09:52:53 +01:00
xarkes
204a999d02 Removed deprecation messages (#15557)
Moved the information in the help messages
2019-12-09 00:09:52 +01:00
Florian Märkl
e866f8f21f Add RIntervalTree data structure ##util (#15541)
* Add RRangeTree
* Inclusive/Exclusive
* Add r_interval_tree_delete and r_interval_tree_resize
* Fix r_interval_tree_all_at()
2019-12-09 00:07:10 +01:00
yossizap
b961008fc9 Added oodf\doof to enable rebasing for remote debug ##debug (#15560) 2019-12-09 00:05:48 +01:00
Vane11ope
38d74f0cc4 Fix a bug of the tab (#15559) 2019-12-09 00:04:38 +01:00
Florian Märkl
ae61aa8e37
Imports Tests from radare2-regressions (#15546) 2019-12-08 15:31:14 +01:00
GustavoLCR
e43c9e7caf Fix some warnings (#15549) 2019-12-08 12:49:58 +01:00
Khairul Azhar Kasmiran
a82297adc1 Fix signed integer overflow in r_asm_massemble (#15551) 2019-12-08 08:08:29 +01:00
GustavoLCR
54c8929a3c Fix #14197 - Don't highlight control chars on hud filter (#15552) ##cons 2019-12-07 20:33:38 +01:00
Florian Märkl
03ef082668 Fix r_type_del() for typedefs (Fix #15337) ##anal (#15553) 2019-12-07 20:33:10 +01:00
Florian Märkl
021ad4d59b Fix an int Overflow in r_asm_massemble() for #15543 2019-12-06 19:32:29 +01:00
Florian Märkl
a3b67403cd Fix length type in r_str_trim_tail() 2019-12-06 19:32:29 +01:00
fcasal
c2f01218f2 Rebase Breakpoints for PIEs ##debug (#12801) 2019-12-06 10:52:26 +01:00