Armin Weihbold
fbd68eb1ce
Fix drm[bwdq]
command, add xmm0h/l and xmm8-15 registers ( #15354 ) ##debug
2019-10-25 17:12:34 +02:00
Riccardo Schirone
7cd93eef9b
Fix the way linux debugging options are set ( #15323 ) ##debug
...
In linux_attach_single_pid there is a check to avoid calling PT_ATTACH
multiple times on an already traced pid, which is an operation that
should be done only one time. The old code supposedly tried to set the
options only the first time you attach to a process, however when
debugging a process through the io_ptrace plugin, the process uses
TRACEME and the code never set the options of ptrace to intercept the
process before dying, amongst other things.
This patch addresses this issue by just always setting ptrace options.
Those options could be changed by the user during the life of the debug
session, so it's not an operation that should be done only one time.
2019-10-24 01:47:37 +02:00
Florian Märkl
aad2a2c79e
Link sdb fully into r_util in meson ( #15338 ) ##build
2019-10-23 15:52:19 +02:00
David CARLIER
406e34d7f4
Checking pid if attached on FreeBSD implementation #io_ptrace ( #15311 )
2019-10-20 12:21:06 +02:00
Fritz Reese
852164211f
Fix #15304 - Fix radare2 build for kernels without THP support ( #15305 )
2019-10-19 01:49:01 +02:00
yossizap
d9fa409563
Added support to thread switching in linux and fix r_debug_select ##debug
2019-10-17 19:21:58 +02:00
yossizap
f6bda32cb9
Fixed ptrace 'Operation not permitted' errors ( #15287 ) ##debug
2019-10-16 13:08:38 +02:00
pancake
3be447f2c5
Fix debugger build for native GNU/Linux on RISC-V ##debug
2019-10-16 09:29:37 +00:00
dav1901
9de5481098
Fix few memory leaks and null dereferences ( #15271 )
2019-10-14 12:47:40 +02:00
yossizap
3b8b754cdf
Add current thread field to dptj ( #15268 ) ##json
2019-10-13 22:48:36 +02:00
yossizap
a9478c0bb0
Added "dptj" and "dptj " ( #15259 ) ##debug
2019-10-12 23:14:24 +02:00
Armin Weihbold
9b9103e00a
Enhance drm
command, add drm xmm0
functionality ( #15214 ) ##debug
...
* Add shorthand versions of `drm` - `drm[bwdq]`
* Add mmx register to linux-x64
2019-10-10 04:40:08 +02:00
Armin Weihbold
db1b79b125
Fix #13118 - drf st0 - fpu regs ( #15241 )
2019-10-10 04:37:37 +02:00
Armin Weihbold
a4954a221e
Fix drf
output formatting ##debug
2019-10-09 10:18:30 +02:00
David CARLIER
d4b9746c28
Implementing debug info per pid on NetBSD ##debug ( #15149 )
...
While at it fixing little code mistake about freeing const address.
2019-09-30 11:21:09 +02:00
David CARLIER
bc8b9d73e6
Using unused map debug field on macOS ##debug ( #15148 )
...
Storing max protection data for this purpose.
2019-09-30 11:19:01 +02:00
dodococo
9d7a72f9c6
Integrate table API for p-h ( #15083 ) ##table
...
* Added UTF8 and Curvy Support For Table API
* Added show footer with sum support
* Integrate star= command with table API
2019-09-24 10:46:06 +02:00
Paul I
78f2b12d0b
Fix potential memleaks ( #15057 )
2019-09-17 02:14:32 +02:00
Paul I
4eabb42f88
Fix potential bugs
2019-09-16 09:37:43 +02:00
Lev Aronsky
5137ef6daf
Fix gdb reg write byte order ( #15009 ) ##debug
...
* Added ba2 so that the gdbserver backend connects correctly
* Fixes to remote gdb register writes:
1. Byte order is target-defined. Use cfg.bigendian for now. Possibly get it from target later?
2. Register number should be hexadecimal.
2019-09-11 11:05:17 +02:00
Lev Aronsky
07be18193e
Added ba2 so that the gdbserver backend connects correctly ( #15003 )
2019-09-10 11:42:10 +02:00
David CARLIER
fb0d361da2
Improving slighty the process status check on Darwin ##debug ( #14997 )
2019-09-09 21:43:19 +02:00
GustavoLCR
5bb2417119
Fixes for Windows ( #14985 )
...
* Fix dbW help message
* Fix memleak on r_w32_print_windows
* Imitate unix gotoxy behavior on Windows
2019-09-08 02:53:25 +08:00
David CARLIER
1e3a4445b4
On Darwin, expose process path ##debug ( #14975 )
...
For platforms supporting the libproc api.
2019-09-07 22:25:59 +08:00
GustavoLCR
c2287003f9
Implement Windows message breakpoints
2019-09-07 11:25:01 +02:00
GustavoLCR
88989b95a8
Fix PDB autoload
...
* Let PDBs be found on the symstore
* Fix flags being set on the wrong offsets
* Fix memory leaks
2019-09-05 09:49:41 +02:00
GustavoLCR
a565a5ccce
Fix #12438 - Fixes for PDB ( #14874 )
...
* Fix use after free when autoloading pdb
* Use heap on td command
* Fix #12438 - Fix wrong 2 byte read for char value
2019-08-23 12:52:25 +08:00
00rsiere
fe9a03416f
Notify user on hardware breakpoint hit ##debug
2019-08-19 19:29:43 +02:00
radare
e1cf65332a
Use r_sandbox_fopen instead of fopen ( #14832 )
2019-08-18 17:19:53 +02:00
GustavoLCR
50392fd525
Fix register writing on Windows ( #14805 )
...
* Fix register writing on Windows
* Drop unecessary use of heap
2019-08-15 13:42:32 +08:00
David CARLIER
0626013ac7
Linux debug plugin, page promotion feature ##debug
...
* Linux debug plugin, page promotion feature proposal.
Providing new 'dmL' debugger sub command.
This is the only system having THP feature, others are more into
direct huge tlb equivalent ...
The system ought to be set in madvise mode and disabled on Android,
would not do any good in this environment if this is ever supported.
Once the syscall succeed, the address range ought to get the
little 'hg' VmFlags.
* interface changes
2019-08-03 06:09:07 -07:00
David CARLIER
4ea918ec92
XNU debug, tag the processes map from dm's command. ##debug
...
This is just to highlight them via command like vmmap.
2019-08-02 17:11:28 +02:00
sanguinawer
4cbf27a11a
Fix win32 compilation ( #14722 )
2019-07-31 21:57:50 +02:00
GustavoLCR
d5e3926b5d
Only suspend threads if dbg.threads=true on Windows ( #14689 )
2019-07-30 01:49:47 +02:00
Anton Kochkov
9677804b8e
Windows native debugger refactoring ##debug ##windows
...
* Windows native debugger refactoring
Massive win32 native debugging code refactoring
and corresponding fixes.
* Fix hang after killing process
2019-07-29 11:19:26 +08:00
GustavoLCR
6664b2ba39
More fixes to WinDbg ( #14675 ) ##debug ##windbg
...
* Fix seeking (stepping now works)
* Fix more crashes
* Fix compiler warnings
2019-07-28 11:48:46 +08:00
GustavoLCR
8a6a7ba852
Some fixes to windbg ( #14666 ) #debug #windbg
...
* Fix #10505
* Fix wrong register profile being picked
* Fix use-after free(s) and null derefs
2019-07-27 14:29:02 +08:00
Alexander Yukhanov
0eeb2bfd7f
Fix breakpoints handling for FreeBSD ##debug
2019-07-18 10:24:45 +02:00
pancake
1aebd0a26d
Fix single-step in the iOS-arm64 native debugger ##debug
2019-07-18 02:30:45 +02:00
pancake
55e3da3c32
Fix xnu_thread_get_drx for iOS/arm64 ##debug
2019-07-17 23:10:03 +02:00
pancake
6c0a02bc85
Fix anoying aeim warning when debugging
2019-07-16 14:34:33 +02:00
radare
0d1c3c4f33
Honor SWI for step-over ##debug
2019-07-07 16:54:03 +02:00
Anton Kochkov
20e19d6023
More spelling fixes in the code
2019-06-20 13:36:02 +08:00
pancake
3fe39f0c38
wzr/zr/xzr register on arm64 is wired to ground ##anal
2019-06-19 18:00:51 +02:00
radare
571a080ca7
s/CORELIB/R2_PLUGIN_INCORE/g ( #14295 )
2019-06-13 19:12:51 +02:00
bart1e
0c3424a196
Fix small bug fix in trace ( #14291 )
2019-06-13 12:00:05 +02:00
pancake
8318a3fc6b
Initial implementation of pasasword generators under /Cc ##hash
2019-06-11 13:21:50 +02:00
dodococo
230412830b
For #14268 : Implement ob= listing bin map coverage ##bin
...
* Added r_listinfo_new and refactored to use it
2019-06-10 13:47:04 +02:00
GustavoLCR
b3a361cd5e
Initial implementation GetSingleBlock for Windows heap ##debug
2019-06-09 22:21:20 +02:00
GustavoLCR
7a10af4057
Initial implementation of heap parsing for Windows ( #14218 ) ##debug
2019-06-05 15:20:38 -04:00