Commit graph

52 commits

Author SHA1 Message Date
pancake
9392424e30 Fix #2397 and #2398 - honor syscall args in dcs on linux-x86-64 2015-04-18 10:35:57 +02:00
David Kreuter
02573a83b8 drx.c: Range check on drx_set(..., n, ...) off by one 2015-04-17 16:51:20 +02:00
skuater
a853b35c8f fix getmodules for windows process 2015-04-14 17:15:06 +02:00
NighterMan
a71b00acf2 Multiple esil changes for x86_cs
- getarg() now supports and extra "set operation" argument to ease esil opcodes writing
 - getarg() calls refactored to support new argument
 - The generation of some esil opcodes now use the "extra set operation" from getarg()
 - rep movs* now uses the new DUP esil instruction
 - rep movs* bugfix: ZF was being used instead of DF as direction flag
 - Partial idiv support: update flags and signedness handling is pending
 - Added some missing registers in reg-linux-x64.h
2015-04-07 23:18:01 +02:00
skuater
b05efbc254 Fix w64 debugger 2015-03-21 00:29:14 +01:00
skuater
ec2bc87813 Initial support for FPU reg-get on Linux-x86-{32|64} 2015-03-17 22:35:31 +01:00
condret
250415f4bf fix as-bug (regprofiles) 2015-03-16 17:03:35 +01:00
condret
31d093e68a fix linux-x86-regprofile 2015-02-28 21:04:22 +01:00
skuater
5335ba8f5f Initial support for FPU/MMX/XMM on linux-x86-64 2015-02-19 10:52:01 +01:00
pancake
743bd0a68a Initial support for ARM and ARM64 local variables 2015-01-10 02:14:55 +01:00
skuater
430ef8d5fe Hardware breakpoints working 2014-11-05 13:10:18 +01:00
LemonBoy
ce649947af Fix the w64 profile 2014-10-12 21:48:05 +02:00
pancake
7e37fb0131 Fix #1292 - Fix file create and write on w32 2014-09-15 03:35:02 +02:00
LemonBoy
27e9d2e938 Do not allow duplicate registers in the profiles. Free the RRegItem properly. Fix the line count in the parser. Fix the w32 debug profile. 2014-09-14 22:45:09 +02:00
pancake
7029eab6af Enforce register arena, better fit size. Fix native mips reg profile size 2014-09-14 02:52:30 +02:00
pancake
0c82eb1443 Fix {abcd}{hl} register definitions in x86-{32,64} 2014-09-02 23:11:22 +02:00
pancake
994d2089e8 Fix FreeBSD build (thanks JR!) 2014-06-26 14:17:35 +02:00
pancake
148733b7a1 Add linux-arm64 reg profile, fix linux-arm systracing. Handle multiple syscall stoppers in 'dcs' 2014-06-14 02:02:58 +02:00
jvoisin
dc3510e942 Fix Gcc warnings: warning: multi-line comment [-Wcomment] 2014-06-06 13:34:26 +02:00
pancake
26be34439a Fix r_io_mach_read for partial reads on segment limits 2014-06-05 01:32:05 +02:00
pancake
614f96f080 Refactorize and cleanup the RDebug register profiles 2014-06-04 16:56:53 +02:00
Zach Riggle
36518d2ae6 Fix clang build (unicode characters outside of literals) 2014-02-15 20:47:46 -05:00
pancake
b4373c6b40 More work towards DRX support on Linux 2014-01-12 04:31:04 +01:00
pancake
e7783173c7 Fix #588 drx segfault 2014-01-12 02:16:56 +01:00
pancake
571ba82ab6 Many bugfixes related to 'drx'. Still not working on linux 2014-01-11 23:48:55 +01:00
pancake
ce1a46b6e0 Fix build and do some more work towards DRX support 2014-01-28 04:38:02 +01:00
pancake
891a1e5bb8 Implement 'drx' command in RDebug plugin backends 2014-01-28 04:08:10 +01:00
pancake
3e3092ac09 Add RRegCond api 2014-01-07 04:29:56 +01: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
cfa24e1879 * Add XML to ldid r2 debugger for iOS
* Fix build of the r2 debugger on darwin-arm
* Implement list of threads and memory regions on darwin-arm
  - just a draft, needs more work
* Add attach:// IO handler to mach plugin
* darwin does not needs -ldl
2010-11-11 01:09:27 +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
pancake
276f186e7e * Add rafind2.1 manpage
* Many cleanups in the TODO files
2010-06-18 17:52:30 +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/n900
4f3e432d46 * Remove unused include files
* Add LGPL license message in root directory
* Fix linkage of debug/p/gdb
2010-03-14 18:50:17 +01:00
pancake
1341620c73 * Rename cons/filter.c to grep.c
- Some random changes.. with no success
  - Grepping console buffer is not working
* Cleanup the 'ds' and 'dp' commands
  - Implement 'dpa' to attach
  - Allow to list childrens of pid
  - Also list all attachable pids
* Fix segfault by leaking.. needs some cleanup
* Fix r_debug_reg_list (NULL) issue

--HG--
rename : libr/cons/filter.c => libr/cons/grep.c
2010-03-08 00:18:58 +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