Commit graph

45 commits

Author SHA1 Message Date
skuater
39c4a0c35f some fix in windows debugger 2016-07-06 12:44:52 +03:00
DZ_ruyk
0e8b42787a Boring typo fixes
Can't -> Cannot (since most of error messages use second form)
2016-01-07 00:13:54 +01:00
pancake
8eabe785fe Boolify RDebug API 2015-12-04 02:57:56 +01:00
skuater
99e2333395 dbg.libs/dbg.unlibs implementation. 2015-10-16 11:23:32 +02:00
skuater
c72caa67ac Implement dbg.libs/unlibs for w32 2015-10-13 02:18:14 +02:00
pancake
7a04833eac Little refactoring for w32dll handling from rdebug 2015-10-12 18:49:16 +02:00
yetmorecode
4d46ded1c5 Fixed type issue in mingw64 build. 2015-09-18 02:40:09 +02:00
pancake
b86bf19c85 Fix #3051 - Honor CFLAGS everywhere and fix some windows/android warnings 2015-09-14 20:43:11 +02:00
skuater
b9569ad92a Implementation 'dd' for windows debugger. 2015-08-26 23:34:52 +02:00
pancake
d22ac1228e Initial implementation of RDebugReason. See di command 2015-08-17 00:16:25 +02:00
yetmorecode
4b55af759c Fixed mutiple process/thread handle mismatches and reworked tid2handler function. 2015-08-13 20:44:18 +02:00
yetmorecode
2e347da121 Removed w32 specific process_handle member from RDebug. 2015-08-13 20:44:17 +02:00
yetmorecode
7fe01ac2ce Improved error handling in w32 debugging 2015-08-13 17:02:08 +02:00
yetmorecode
3c6c74555d Fixed hangup in w32 native debugging on dc after ctrl+c 2015-08-13 17:02:08 +02:00
yetmorecode
4f4bbdaf9e Fixed issue with r_debug_wait return type 2015-08-13 00:08:50 +02:00
yetmorecode
6d678aa3f8 Fixed issue when w32 debugging was hanging up on breakpoints from non main threads. 2015-08-13 00:08:50 +02:00
yetmorecode
ecd4de662d Implemented missing r_debug_native_kill on w32 2015-08-12 01:42:21 +02:00
yetmorecode
e0f004ebcf Fix "dp" command on w32 native debugging and resolve process names
- Renamed duplicate local variable and added proper
  check for invalid process handle
- Added missing CloseHandle cleanup
2015-08-11 20:46:27 +02:00
yetmorecode
e86138e18f Fix #3070. w32 native debugging hanging on "dc" after process exit 2015-08-11 16:01:58 +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
pancake
5ca5f143d1 Fix w32 debugger build 2015-06-28 11:07:33 +02:00
pancake
61091809b3 Begin the debugger refactoring 2015-06-26 00:37:52 +02:00
pancake
967067ea9c Refactor r2pipe API into r_socket and fix w32 build 2015-05-14 02:50:57 +02:00
skuater@hotmail.com
ccfae11ebc windbg ^c support under linux+ ^c support for windows 2015-05-05 18:33:34 +02:00
skuater
a853b35c8f fix getmodules for windows process 2015-04-14 17:15:06 +02:00
skuater
b05efbc254 Fix w64 debugger 2015-03-21 00:29:14 +01:00
pancake
7e37fb0131 Fix #1292 - Fix file create and write on w32 2014-09-15 03:35:02 +02:00
pancake
603b595e53 Fix reflines overflow 2013-11-07 15:13:33 +01:00
pancake
50fe2fdd1f Fix #315 - Changing bin.rawstr on runtime doesn't updates RBin info 2013-11-06 23:15:16 +01:00
pancake
8933c45e0d * Fix some warnings in r_debug_native for mingw64 2011-09-19 21:08:26 +02:00
pancake
6abcfb962b * Add from/to arguments to search_preludes()
* Mostly fix the ming-w32 build
* Avoid using alloca()
2011-07-06 11:48:16 +02:00
pancake
0aafe05b45 * Step now accepts pid+tid
* Fix attach in w32 debugger
  - use dpa and get first thread by default
* Mark with asterisks the selected pid/thread (dp/dpt)
* Fix reg_write in w32
2010-11-17 02:31:56 +01:00
pancake
4db5cded34 * Fix w32dist find command
* Display TODO message in r2 -L
* Implement rax2 -s - and rax2 -
* Honor dbg->tid in many places
* Implement basic stuff for dbg->reason
  - Only w32 and *nix atm
  - Not yet displayed or used
  - Added many new reason types in enum
* Fix w32 register map
* Handle attach:// in io_w32dbg plugin
* Implement w32 process and thread list
  - You can now select the thread
  > dp      # list pids
  > dp=1424 # attach to pid
  > dpt     # list threads
  > dpt=580 # select thread
* Added dummy code to list windows
2010-11-17 00:56:48 +01:00
pancake
10637ec71f * Fix permission parsing in OSX 2010-11-11 17:53:49 +01:00
pancake
edeee07ca2 * Initial implementation of process name listing on darwin/osx
* Fix build (r_debug_pid_new signature change)
2010-11-11 04:12:09 +01:00
pancake
dac5cf1b08 * Apply patching fixing various bugs on w32
- Some segfaults resolved and bugs identified
  - Thanks @mrgadix :)
2010-10-12 01:18:17 +02:00
pancake
d71fcd2708 * Do not show color prompt in windows
* Fix build on w32
* Finish the symgraph script
2010-09-24 19:04:33 +02:00
pancake
1356a9bdd1 * Highlight destination offset when cursor on jmp/call in visual
* Show call decompilations under the opcode as a comment
* Rename RRegister as RReg
  - Deprecate r_reg_init and use r_reg_new
  - Rewrite the list.h dependency in r_reg in order to use r_list
  - Fix some memory leaks
* Implement push/pop methods in RReg class
  - add test case using it
  - will be used for register diffing and tracing
2010-09-18 02:51:17 +02:00
pancake
236d78295d * Fix debug regs, memory read in w32 debugger
- Fixes some segfaults and null string issues
  - Simplify and clean code (still more work needed)
* TODO: updated
2010-06-28 14:12:34 +02:00
pancake
80fc77a8b4 * Fix w32dist segfault in plugin.dll
* Fix read registers in w32 debugger
  - seek do not seems to work
2010-06-28 02:12:35 +02:00
pancake
e101e5023d * Fix build on mingw32 2010-06-27 22:14:06 +02:00
Nibble
5c35f6e359 * Rename {r_*_handle_t, R*Handle} to {r_*_plugin_t, R*Plugin} 2010-05-26 01:42:22 +02:00
pancake
728bd1f817 * Fix w32 build 2010-03-25 10:18:59 +01:00
pancake
31e3aa76c0 * Some fixes to build in windows
- Still not working..but just a PoC
2010-03-24 19:20:46 +01:00
pancake
13774c2bd5 * More fixes for busybox tr
* Initial blind implementation of w32 debugger
  - r_cons now handles ^C in w32 console
  - not yet tested, just blind code typing
* Implement 'dp' command to list processes (pids)
  - Implemented RDebugPid stuff
  - dp=394 # is used to attach
  - dp 0 # to list all attachable pids
  - dp # list current used pid
* Added not-yet-implemented threads() callback in RDebugHandle
* Fix r_list_free callback handler
* Fix again the 'dr=' command :/
* Cleanup the help of 'd?' and 'dm', 'dp'
* Use -O2 by default ?
2010-03-05 01:49:12 +01:00