pancake
57996ce39f
Add waitfor:// in io.debug description
2016-07-28 12:59:51 +02:00
pancake
d46fa6ddd5
Implement waitfor:// in io.debug. Fixes #5380
2016-07-26 17:23:50 +02:00
pancake
102261ba37
Implement pidof:// URI handler in io.debug
2016-07-26 17:16:56 +02:00
pancake
4f785d398f
Fix --disable-debugger on OSX
2016-06-25 04:26:07 +02:00
pancake
4caafc964d
Refactor r_io, while fixing some bugs and use more RList
2016-06-20 00:29:41 +02:00
pancake
aae417badf
More OSX-PPC fixes
2016-04-27 01:52:35 +02:00
pancake
3e53c64553
Fix #4165 - Reduce warning messages in debugger mode
2016-02-25 01:55:16 +01:00
Álvaro Felipe Melchor
d9e77ca0d1
xnu: first series of patches to use mach exceptions
...
* use set_trace_bit and clear_trace_bit macros
* use PT_ATTACHEXC since PT_ATTACH will be deprecated in the future
and we are interested in receiving mach exceptions
* first attempt to handle mach exceptions
* api change: added a parameter to r_core_setup_debugger
at least in OS X this function was producing double attachment.
I've added a boolean value to indicate when use dpa.
* added pipe to communicate between main process and traced process
by far this is not a good implementation. We should develop a better
approach/design to save all the exceptions and handle them accordingly.
This is the initial implementation
* bring back ptrace for stability and in order to merge this into master
2016-01-18 22:24:16 +01:00
pancake
6f346b6d6d
Fix #3901 - Cannot debug directories and follow symlinks
2016-01-03 01:28:02 +01:00
pancake
fb8345276a
Kill child if no perms to debug after spawn in OSX
2015-12-04 00:21:06 +01:00
skuater
513200a7fa
Fixes for the w32 debugger
2015-11-24 23:28:50 +01:00
pancake
afb5c93e49
Fix iOS debugger attach
2015-10-31 00:48:08 +01:00
Riccardo Schirone
7323e0ef05
socket/run: split r_run_start to make debugging easier
...
During the environment configuration we may fork and spawn other
processes that we don't really care about. Splitting r_run_start, allows
to call ptrace only after this initial work is done.
2015-10-29 08:21:24 +01:00
pancake
6c4bfb94b1
Fix windist, r2pipe and plugins paths
2015-10-23 02:58:48 +02:00
Álvaro Felipe Melchor
1d3df40c0c
Fix dbg.args for linux
2015-10-04 16:46:28 +02:00
Álvaro Felipe Melchor
ac965a56c0
Fix #3359
2015-10-01 11:01:55 +02:00
Ole André Vadla Ravnås
f47da1c545
Fix fork_and_ptraceme() on Darwin
...
It's better to let `posix_spawnp()` spawn the child process instead of
forking ourselves.
2015-09-22 10:03:16 +02:00
pancake
486c88954f
Darwin: start debugging suspended. Fixes in lm32
2015-09-22 02:28:04 +02:00
pancake
49975ccf95
Fix #3286 - Use stdbool.h
2015-09-14 02:08:31 +02:00
Riccardo Schirone
2e048b3272
socket/run: implement fork option
2015-09-13 10:46:09 +02:00
pancake
48542c4b0a
Linux: Close all filedescriptors except 0,1,2 on spawn
2015-08-26 03:18:50 +02:00
pancake
1efa0f2f7e
Add asm.slow eval config var to speedup disasm
...
- Useful for slow io backends
2015-08-26 03:27:34 +02:00
pancake
53189dd87a
Implement dd for OSX/iOS and Fix dd- and gs on OSX
2015-08-26 03:07:20 +02:00
pancake
701dd4a80e
Add io.aslr and set it to false by default (used only for OSX atm)
2015-08-16 17:45:23 +02:00
yetmorecode
667cdecd37
Enhanced shell output for win32 native debugging
...
Fixed multiple whitespace issues
Removed unnecessary include for string.h
2015-08-11 09:17:23 +02:00
Jonathan Neuschäfer
523aa3af5c
add .version to all plugins
2015-07-12 19:05:33 +02:00
Riccardo Schirone
d43080e679
io/p/io_debug,io/p/io_mach: use strtol instead of strcmp + atoi
2015-07-02 09:14:50 +02:00
pancake
02ab1d68a1
Add support for iOS tfp0 debugging
2015-07-01 20:05:47 +02:00
pancake
8f25a9b344
Fix iOS build, crashes in reflines, analysis issues on OSX debugger and more!
2015-06-21 00:50:53 +02:00
pancake
997dda6e5b
Add support for iOS-simulator and static-OSX builds
2015-04-14 17:14:43 +02:00
pancake
882a0ee164
Add --without-fork and r_sys_fork()
2015-04-11 05:00:05 +02:00
pancake
b14bfc0be2
Fix #2185 - r2 -d shm://123 crash
2015-03-22 22:41:46 +01:00
pancake
ce797309f5
Aim to fix #2185
2015-03-16 03:11:39 +01:00
Clément Vuchener
705e4d56bf
Fixing arguments (bugs #1814 and #2117 ) #2143
...
Added proper escaping of command line
Creating a command line from arguments when debugging on Windows
Keep backslashes when not escaping a character
Assuming that the path of the binary should be in desc->name and not the command line in ptrace IO plugin
Print the backslash when it is at the end of the command line
2015-02-26 03:05:37 +01:00
condret
baae9b98d3
fix #2084
2015-02-24 14:45:52 +01:00
pancake
f2351636fe
Fix r_cons_readline() signature and some code cleanup
2015-01-31 00:50:05 +01:00
pancake
8cd32e82fa
bring back the non-rarun2 spawn for io-debug testing
2014-12-09 12:06:00 +01:00
pancake
9a0d62da22
Finally remove the void*debug pointer from RIOPlugin (use bool isdbg)
2014-11-21 11:36:51 +01:00
pancake
8ece70cda3
Fix 'bad C' in ioplug->debug
2014-11-21 11:20:32 +01:00
pancake
1eccc191e0
Fix the r2 -d oo issue with more referer fields
2014-11-04 10:30:28 +01:00
pancake
72491110a5
Use perror() when ptrace-me fails
2014-09-08 01:18:57 +02:00
pancake
e161a915dd
Fix #1276 - Extend 'Vd' to support more types #1276
2014-09-03 10:26:41 +02:00
pancake
be34dbf9cd
Honor dbg.profile in io/debug
...
$ cat p.r2
arg1=/
$ r2 -e dbg.profile=p.r2 -d ls
2014-07-09 03:48:47 +02:00
pancake
dc4a8f440b
Enable r_run in debugger
2014-07-09 03:31:04 +02:00
pancake
667ebad3eb
Fix build
2014-07-09 03:12:39 +02:00
pancake
8b74f1ffcf
Merge Rarun2 into RSocket and use it from dbg.profile in Core
2014-07-09 02:24:31 +02:00
pancake
9efb41594b
Initial WIP support for ASLR var in rarun2 profiles and io/debug
2014-07-08 13:40:33 +02:00
pancake
d257493fb3
Fix some warnings
2014-02-24 12:18:07 +01:00
pancake
6f2baaa202
Use strncmp instead of memcmp to check the io uri
2014-02-18 03:03:13 +01:00
Adam Pridgen
70e832b35e
Adding the option to open more than one file via a plugin. Now all the files in a zip can be loaded using zipall:// uri.
2014-01-23 21:51:39 -06:00