23205 Commits

Author SHA1 Message Date
pancake
bf6185ea96 FIx 32bit windows ##build 2019-11-05 15:32:52 +01:00
David CARLIER
6ac2e30735 CPU affinity API introduction ##core 2019-11-05 10:21:13 +01:00
SjRNMzU
0dad5d2a05 Analyse HIOS and LOOS symbol types by default. (#15411) ##bin 2019-11-05 02:58:28 +01:00
yossizap
c233bf3584 Automatically set the debug plugin when opening debug uris (#15403) ##io 2019-11-05 02:55:41 +01:00
pancake
a4d79c21c7 Honor cfg.editor in 'vi' instead of always using 'vi' ##core 2019-11-05 02:55:06 +01:00
pancake
3dea7683e4 Implement $foo:=,+=,-= and $foo to alias some flags commands ##core
* $foo:=123   f foo = 123
* $foo+=4     f foo @ foo + 4
* $foo        s foo
2019-11-05 02:55:06 +01:00
pancake
5ae3b786e0 Support 'f foo+=4' and 'f foo-=4' syntax for flags ##core 2019-11-05 02:55:06 +01:00
Khairul Azhar Kasmiran
1472f849e4 Rename "asan" to "sanitize" (#15412) ##build 2019-11-05 00:33:35 +01:00
Sergi Àlvarez i Capilla
74fb0efbe3 Strip bins and libs for the Debian package 2019-11-04 17:53:29 +01:00
GustavoLCR
36114b35f3 Fix attaching to a pid on Windows (#15406) ##debug 2019-11-04 11:05:55 +01:00
Khairul Azhar Kasmiran
16fa374db1 sys/meson.py: --asan accepts sanitizer list (#15405) 2019-11-04 00:38:20 -06:00
GustavoLCR
4716e50572 Fix #15407 - Fix using unexpected ACP for input on Windows (#15408) 2019-11-04 00:36:20 -06:00
condret
31d6b5764a Fill op->mnemonic in anal-gb 2019-11-03 07:23:27 +01:00
condret
711bbdd9e4 Use RPUSH in anal-gb 2019-11-03 07:23:27 +01:00
Jared
34fd50ec63 Clarifying yara-to-r2 integration documentation. (#15404) 2019-11-03 05:21:31 +01:00
Khairul Azhar Kasmiran
3d2b2311d8
Sync default sanitizer list of sys/asan.sh and sys/meson.py (#15397)
* Sync default sanitizer list of sys/asan.sh and sys/meson.py

* Keep signed-integer-overflow
2019-11-02 21:47:17 +08:00
condret
acc449c702 Hardening esil-dfg 2019-11-02 05:33:43 +01:00
yossizap
05b000bb13 Modified debug_native to handle break's thread switching behavior
The user was interrupted during continue and switched to a different
thread since DebugBreakProcess creates a thread that triggers a breakpoint.
With these changes the DebugBreak thread is recorded to skip the breakpoint
event afterwards.
2019-11-02 00:30:25 +01:00
yossizap
12391ae483 Modified r_debug_native_wait to avoid switching between threads for each event
The debugger should return to the requested thread after handling events
in other threads except for breakpoints.
2019-11-02 00:30:25 +01:00
Armin Weihbold
1015d9dfe4 Refactor drm to be ready for the YMM registers (#15394) 2019-11-01 02:56:14 +01:00
GustavoLCR
58579bd51b Fix Appveyor hang. (#15396) 2019-11-01 02:55:06 +01:00
Johannes
5d76b9ff99 fix linux x86 build (#15395) 2019-11-01 02:54:48 +01:00
pancake
4b2bf8dccd Fix assert 2019-10-30 23:33:33 +01:00
pancake
b763328a1d Fix build 2019-10-30 21:00:36 +01:00
pancake
194e90fc69 After release version bump 2019-10-30 20:24:23 +01:00
pancake
23540846db Add some asserts in rreg 2019-10-30 20:17:00 +01:00
Óscar Carrasco
bdeceab6e3 Insert arguments into types SDB on function analysis ##anal 2019-10-30 19:42:38 +01:00
yossizap
45782c7705 Fixed w32dbg breaking issues (#15386) ##debug
* Fixed w32dbg breaking issues and moved break_push to w32_dbg_wait to support stepping as well

Previously, breaking would only work during 'dc' because it was pushed
in debug.c specifically for continue. This change moves the
responsibility of pushing/popping w32_break_process_wrapper to
windows_debug.c instead to support calls to w32_dbg_wait from anywhere.
2019-10-30 18:58:34 +01:00
Khairul Azhar Kasmiran
dc65828446 sys/meson.py: Use -fsanitize=... instead of -lasan when linking (#15390) 2019-10-30 18:58:11 +01:00
yossizap
930ad29b00 Use pj api in drrj (#15391)
This also solves an issue with drrj in windows since the code relied
on iter->p to know if a comma should be prepended, but windows always
has it initialized so it was always prepended - invalidating the JSON.
2019-10-30 18:57:40 +01:00
Armin Weihbold
daf361fb93 Add support for printing xmm* as packed floats and doubles (#15378) ##debug 2019-10-30 13:07:09 +01:00
radare
f639c3b6a1
Fix build for 32bit Linux systems ##build (#15384) 2019-10-30 13:04:25 +01:00
dok
73ef6da100 Add utf-8 support in r_print_rangebar (#15389) ##print 2019-10-30 13:04:16 +01:00
Qian
83920bd908 Add ARM strd support (#15388) ##asm 2019-10-30 13:03:54 +01:00
pancake
0257d4be10 Add refs, xrefs and esil columns to pdt ##disasm 2019-10-29 18:37:27 +01:00
pancake
6d5f123799 Add asm.cmt.esil to show ESIL as comment ##disasm 2019-10-29 18:22:36 +01:00
pancake
eaf5826533 Fix build of the onefied shared lib ##build 2019-10-29 16:53:41 +01:00
TheGoddessInari
d42ed33f41 Make the generated r2.bat use bat path_relative syntax instead of hardcoding. (#15383) 2019-10-29 22:13:38 +08:00
GustavoLCR
293b244caa Fix hang when running dc in a task ##windows (#15380) 2019-10-29 11:31:03 +01:00
GustavoLCR
5da7f2476c Fix double-free in canvas.c (#15379) 2019-10-29 10:24:09 +01:00
Kamil Lorenc
6ad8b49b6c Fix links to Doxygen documentation (#15377) ##doc
stack.nl is no longer active
2019-10-28 22:56:46 +01:00
pancake
e97047299a Release v4.0.0 - Codename Krampack 4.0.0 2019-10-28 16:46:22 +01:00
radare
e0e593c94c
Show flagname and realname in json format for fnj and such ##json 2019-10-28 16:46:14 +01:00
Khairul Azhar Kasmiran
6190995828 sys/asan.sh: Use -fsanitize=... instead of -lasan when linking (#15375) ##build 2019-10-28 16:09:11 +01:00
radare
27e68f0005
Fix #14247 - fn.j/fnj. show all flags in current offset, not just one ##core (#15374) 2019-10-28 16:08:33 +01:00
radare
319839830f
Better pdi output when Cd is involved ##disasm 2019-10-28 11:45:02 +01:00
pancake
0ff8f24a05 Fix #15297 - Update ESIL help message ##esil 2019-10-28 11:30:13 +01:00
yossizap
29e2ffe476 Fix issues in windows thread switching (#15366)
* Fixed issues in windows thread switching by implementing thread attach for w32dbg =!pid

Previously the function attempted to OpenProcess even though the main
pid is already opened by __open and the fact that re-opening the main
pid wouldn't do anything. This way it attaches to new threads when
called by r_debug_select.

* Modified w32_continue to update rio->pi.dwThreadId after switching to the requested thread

Manually changing iop->pi.dwThreadId in io_w32dbg's =!pid created a
problematic scenario when w32_continue is called with the last event's
tid from dbg_wait. This solution makes sure iop->pi.dwThreadId keeps
being updated after events on other threads arrive and that w32_continue
actually uses the given tid.

* Modified w32_continue return values
2019-10-28 11:06:57 +01:00
pancake
cc7f17dec0 Fix build 2019-10-28 10:39:49 +01:00
pancake
5c3bd9fd47 Bring back the MASK_DISASM because not all nanal plugins support it yet 2019-10-28 10:16:44 +01:00