Commit graph

121 commits

Author SHA1 Message Date
pancake
f1d70a76c8 Handle signals on OSX debugger backend 2013-09-18 03:28:57 +02:00
pancake
7b931261fe Fix #184 - support skip+cont attributes in 'dk' for signal handling 2013-09-18 02:55:51 +02:00
pancake
7403b1d671 Implement 'dk' to handle signal events in debugger 2013-09-18 02:11:23 +02:00
pancake
b8badee419 Oops. Missing ; 2013-09-12 00:36:38 +02:00
pancake
eaf33b44e2 Aim to fix 32bit target debugging on 32bit host 2013-09-12 00:28:44 +02:00
pancake
7855f4952f Initial work supporting emscripten compilation 2013-09-07 00:39:08 +02:00
pancake
45d8bebe2e Add initial support for signal handling on linux debugger 2013-08-28 21:36:11 +02:00
Eduardo de la Arada
7187adb5e8 Add alloc/dealloc memory
* Allow memory alloc and dealloc on debug (APPLE ONLY)
2013-07-21 03:05:56 +02:00
pancake
837489a5ed Faster ptrace io and fixed software stepping in ARM
Fix software stepping in arm
p/io_ptrace now supports /proc/pid/mem io
Added =!help =!mem and =!ptrace to io/ptrace
Hide invalid section sizes messages
2013-03-19 02:36:14 +00:00
pancake
7e7be66fca Autocomplete 'dml' and add 'TE' in the README list 2013-03-06 01:09:43 +01:00
pancake
701a43fc23 Use r_sandbox_kill instead of kill 2013-03-02 19:44:10 +01:00
pancake
55bb8dc95e Fix udis86 trailing spaces, add 'dw' command 2012-12-07 12:03:53 +01:00
pancake
83da070d44 Fix fcn lines in disasm, minor fix in meta
Initial work to fix linux32 debugger on linux64
2012-12-06 03:11:40 +01:00
pancake
8270c60a16 flex no longer mandatory, fix ios debugger
Flex is no longer mandatory for configure
Fix overflow in r_core_cmd0
vm_protect works again on iOS (using VM_PROT_COPY)
ptrace-cont is just a detach
fix build with latest ios sdk
2012-10-31 16:37:19 +01:00
pancake
be247348b5 Rename r_file_exist into r_file_exists 2012-09-06 08:59:13 +02:00
pancake
3ffbba7aec Fixes in the debugger, for osx, software stepping and rax2
- Protect possible index out of array in osx register code
 - Fix possible segfault in debugger backtrace
 - Fix osx debug register state write
 - Fix software stepping. Needs more work and test on mips
 - New flag: rax2 -d . force integer output value (no hex or so)
 - Fix 'i' command output
2012-07-06 19:30:17 +02:00
pancake
41a230ddf7 Add p=?, rax2 suports negative values and more
- Support negative integer values in rax2
  - Fix column selection draw in r_print_hexdump
  - Implement p=p and p=e commants
  - Disallow visual insert if file is readonly
  - Similar to pZ, but
  - Honor -w flag to create file if possible
  - Use new r_io_create() api
  - Add scr.sparse to show hexdump in sparse mode
2012-07-06 02:17:44 +02:00
pancake
e5799fb7a2 Fix build on linux-mipsel64
- debugger backend now sets dbg.swstep
 - define linux-mips64 register profile
 - fix 32/64 annoyance in debugger
 - fix register read under some situations
2012-07-05 16:02:12 +00:00
pancake
acf4fe33ec * Try to implement 32bit debugger on 64bit Linux 2012-06-22 00:23:39 +02:00
pancake
aafff4a55a * Initial fix for regdiff colorizer
- dro is working again
* Dummy agt command (analyze graph to destination)
  - Still wip, requires some changes in r_anal api
* Handle ap? command
* Use core->dbg->bits in core_reg
* dbt - backtrace accepts an argument to redefine ebp
* Use r_core_seek_delta in visual (fix Vh = 0xFFFFF..)
2012-06-14 02:18:15 +02:00
pancake
5f2512814e * Fix error in visual disasm (thanks vext01 for reporting)
* Fix backtrace for osx-x86-32
* Use some getters in node-ffi
2012-06-13 00:51:16 +02:00
pancake
a1a1519b92 * implement osx-x86-32/64 native cross debugging
* Add p= command to show the statistics graph
* Rename Vw to Vi (write->insert)
* Add dummy base85.c
* Various binding fixes (add test3.js)
* Fix socket.vala
2012-06-07 03:41:21 +02:00
pancake
181f0780bd * Fix build 2012-06-01 14:56:46 +02:00
pancake
fee1dfda07 * Fix some bugs reported by clang-analyzer 2012-05-31 02:41:45 +02:00
pancake
05a0196690 * Fix osx-x86-32 debug register profile
* Some struct->typedef renaming
2012-03-07 10:43:02 +01:00
pancake
3eb9a85872 * Fix build + initial work on z80 asm/dis 2012-02-03 10:57:45 +01:00
pancake
d02691b086 * Handle ^C in 'af' code analysis
* Fix parsing of ELF binaries generated by TCC
* Added iOS/arm register profile for the native debugger
* Swap endian of ptn date
2012-01-19 00:19:01 +01:00
pancake
15abe21104 * Autodetect and honor CC environment in ragg2-cc
* Added dummy rsakey.c in libr/search
* Apply patch for big-gmp.c from @santitox (thanks!)
2011-11-30 18:05:46 +01:00
pancake
dadb224889 * Fix iphone build 2011-11-27 14:02:39 +01:00
pancake
7c2a6e63b4 * Initial implementation of r_debug_map_protect()
- Bind to dmp command
  - Only w32 + osx, needs more work
* Added new api r_graph
* Added dtc and dtg
* Some minor makeup in RList
2011-11-25 04:32:32 +01:00
pancake
cb1153faed * Fix kFreeBSD debugger build (thanks debian farm!)
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=647665
2011-11-05 01:00:54 +01:00
pancake
32afad2b65 * Fix build with clang
* Fix some warnings which result in more bugfixes. yay
2011-10-10 01:48:08 +02:00
pancake
42edc834d2 * Added maps for debug.bfdbg
- Implement dm* command
* Implement hex:// handler in io.malloc plugin
  - r2 hex://1020304090102030
2011-10-09 19:45:34 +02:00
pancake
a43068bde0 * brainfuck debugger is finally usable
- Added breakpoint and code analysis plugins for bf
  - *mem++ != mem[0]++
  - Full register get/set support
  - Support for step and continue-until-syscall
  - Work in progress breakpoint support
* Added bfvm_reset() hooked to plugin->kill
* Enhacements in r_core and r_debug for better debugger support
  - Added plugin->step_over delegate
2011-10-09 04:15:32 +02:00
pancake
098b1ba127 * Implement input and output filters for rasm2
- Experimental.. not yet ready for release
  - Add rasm2 -F flag to specify input and output filters
   $ rasm2 -F att2intel
* Add new att2intel r_parse plugin
  - make mrproper required
* Initial implementation of RBinClass
  - Only experimental and Java-specific atm
  - Add rabin2 -C to display classes
* Optimize some r_str functions
2011-10-05 02:38:37 +02:00
pancake
4e3358a522 * Fix farm 2011-09-26 02:10:25 +02:00
pancake
76941ca843 * Fix build 2011-09-25 23:05:23 +02:00
pancake
9884ce9db0 * Initial support for Android NDK build (fix build)
- Not yet runnable, but compiles against bionic
2011-09-25 06:57:13 +02:00
pancake
0217c146ef * Fix x86.nz -> push [esp+N]
* Use pw instead of px in debugger stack view
* Disable stackptr by default
* Add OSX-32bit debugger register map
  - Fix support for debugging 32bit bins in 64bit OSes
* Implement r_egg_run() -- just in time execution
* Fix r_egg string construction and argument passing
  - Still needs more work, but at least some hello worlds work
2011-09-21 19:51:09 +02:00
pancake
8933c45e0d * Fix some warnings in r_debug_native for mingw64 2011-09-19 21:08:26 +02:00
pancake
403aa4b36d * Fix ~40 off-by-one strncpy's 2011-09-18 20:41:36 +02:00
earada
1c1a307edc * Support sockets in FreeBSD's 'dd' command 2011-07-25 20:17:19 +02:00
earada
25b590e21f * Implemented 'dd' command for UNIX and FreeBSD 2011-07-25 04:49:54 +02:00
earada
bff20dd916 * Add 8/16/32 bits register definitions in linux/x86_64
* Fix r_syscall_reg, to show syscall params correctly
2011-07-22 13:33:43 +02:00
pancake
6072a57548 * Release 0.8.1 -- butterybiscuitbase
* Fix FreeBSD-amd64 and GNU/kFreeBSD debugger
2011-07-21 01:11:25 +02:00
pancake
a5bafc9257 * Some minor work on mips64 debugger
* r2-bindings configure help updated
2011-07-21 00:32:39 +02:00
pancake
8219630fcb * Update configure help and fix warning in debug_native 2011-07-20 23:55:05 +02:00
pancake
2d0fd88d3d * Fix debugger build in {Open|Net}BSD 2011-07-20 23:25:39 +02:00
pancake
627871eac2 * Fix build for GNU/kFreeBSD 2011-07-20 17:34:00 -04:00
pancake
553ac83d91 * Added __KFBSD__ define and enable new proc/maps for GNU/kFreeBSD
* Do not install rsc2 stuff
2011-07-20 19:26:07 +02:00