Commit Graph

241 Commits

Author SHA1 Message Date
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
677a499440 * Add get_main() for mach0 (32,64)
* Proper use of arch/bits. debugger works fine now for osx-32/64
2011-09-22 09:52:00 +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
Nibble
0f8cc36a58 * Fix build
- Add r_db to DEPS in Makefiles
2011-09-04 11:49:32 +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
5292c61a48 * Handle syscall name/number resolution in 'asl' and 'dcs' commands
- Thanks @pof for noticing! :D
2011-07-21 19:17:15 +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
earada
af3f41765a * FreeBSD debug maps now uses sysctl api
* Fix some BSD build warnings
2011-07-20 17:58:50 +02:00
earada
f7146bd0ef * Fix (Free|Net)BSD native debug and register definition
* Fix build on FreeBSD (Thanks capi_x)
2011-07-19 20:01:47 +02:00
pancake
91decc9e59 * Fix build on clean systems (thanks sre) 2011-07-19 18:24:04 +02:00
pancake
0d4faf652e * Set library version number for plugins
- Registers for which version of core was compiled
* Use tar --format=posix when GNU tar
  - Fixes the dependency on BSD systems
* Fix in doc/fortunes
* Fix this class pointer in asm_java
* Re-Fix uglily the bin_elf strtab issue (needs more work)
* Fix Vala regression in r_asm.vapi
2011-07-19 00:12:36 +02:00
earada
98131d8768 * Fix FreeBSD build 2011-07-14 16:17:39 +02:00
pancake
07b5b473c5 * Use OpenSSL (cflags/ldflags) from pkg-config 2011-07-13 19:22:38 +02:00
pancake
7bcd23df0f * Fix static build (--without-pic --with-nonpic) 2011-07-13 10:14:30 +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
510c08f4e4 * Do not use strcpy/strcat/sprintf
- There are still some 3rd party files that require update
  - Makes OpenBSD linking less verbose
2011-07-06 03:01:21 +02:00
pancake
45a6b0d2ce * Remove debugging printfs in the debugger 2011-07-06 01:45:45 +02:00
pancake
0b997374a0 * Some minor indent and warning cleanup 2011-07-04 18:16:12 +02:00
pancake
809729ad22 * Do not asm.filter flags without '.' in name
- Avoid making disassembly look wrong
2011-07-02 13:48:18 +02:00
pancake
0528e66fda * Disable asm.dwarf until reimplemented
* Some more code cleanup in gdbwrap plugin code
2011-06-30 21:35:15 +02:00
pancake
5beff0f193 * Some indentation fixes in gdbwrapper 2011-06-30 09:21:51 +02:00
pancake
ea98fe1bd6 * Various gcc-4.6 warnings fixed 2011-06-30 00:17:12 +02:00
pancake
bed664eb93 * Fix newline in dr= command
- Set 'ss' register as a segment type in OpenBSD/x86_64
2011-05-25 09:56:29 +02:00
pancake
90bdfd008d * Remove 'Cannot attach to this pid' error message 2011-05-25 08:43:12 +02:00
pancake
3a5ddb3346 * Do not display 'Cannot attach' when pid = -1 2011-06-21 00:53:05 +02:00
pancake
fbe7466a22 * Fix r_str_bits()
- eflags/rflags now works .. but needs some testing
2011-06-21 00:33:29 +02:00
pancake
044611c3c7 * Implement OpenBSD/amd64 debug register maps 2011-05-25 07:16:24 +02:00
pancake
4c0b8f437b * Added 'pw' and 'pq' commands to print 32bit and 64bit hex values
* Autocomplete 'dcu' argument
* Analyze [pc+delta] mov and lea opcodes on x86-64
  - Resolves indirect string pointers for ObjectiveC binaries
* Handle UCALL in dso
* Fix x86-64 register profile for OSX
* Implement r_mem_get_num()
* Various fixes in 'pf' command
2011-06-09 01:20:02 +02:00
pancake
bf95651e69 * Fix DEX parsing segfault
* Fix possible segfault on newer glibc
* Fix some indentations and Visual hints
2011-05-24 15:25:52 +02:00
pancake
233982c965 * Do not show useless error messages when child process is dead 2011-05-20 20:42:25 +02:00
Eloi Sanfelix
0e4183a0a3 Merged 2011-05-16 20:03:30 +02:00
Eloi Sanfelix
d3c6c4f837 - Added ARM reg profile. Preliminary testing on qemu-system-arm.
- Fixed segfault when gdb connection dead after setting bp's.
2011-05-16 19:52:44 +02:00
pancake
425fe596f4 * Fix many warning messages
* Initial implementation of r_debug_rap
* Implement 'dcu from to' (ranged stop point)
* Use RList in r_lib (list.h has been deprecated)
2011-05-13 10:22:28 +02:00
pancake
05f0e7e56b * Fix step in OSX debugger
* Avoid C99 stuff in anal_avr
* Escape string passed to "/ " search command
  - Fix return value of r_str_escape
  - Thanks Gerardo for noticing!
* Kill process before reopening in 'oo' command when cfg.debug=true
  - Fix segfault when RIOMach* is NULL after reopening
2011-05-12 20:28:44 +02:00
Eloi Sanfelix
6face4ffc7 Remove debug prints 2011-05-11 20:27:33 +02:00
Eloi Sanfelix
f96c6b51b2 Merged 2011-05-11 20:12:21 +02:00
Eloi Sanfelix
b4b909ec1a - Fixed breakpoint behaviour
* Find recoil
	* Set pc to addr-recoil properly
	* Fixed bp_restore: per bp, check if handled, else do via io.write

- Improved debug_gdb
	* Added 'read all regs to buffer'
	* Added breakpoint callback: check if supported first time, else return FALSE

- Maybe something else...
2011-05-11 20:08:19 +02:00
Eloi Sanfelix
ed15598061 - Fix r_bp_restore NULL ptr exception and extra loop over list
- Remove debug printf in debug_gdb
2011-05-08 18:51:23 +02:00
Eloi Sanfelix
9c3538308a Fixed reg_profile in anal_sh and added sh's profile to debug_gdb. 2011-05-07 19:23:39 +02:00
Eloi Sanfelix
5db2925d1b Fixed reg_profile adding RDebug param. 2011-05-07 18:19:16 +02:00
pancake
b910c54714 * Fix getreg for r_debug_gdb on x86 (add profile)
* Add bits and arch fields in RAnalPlugin struct
  - mrproper is required
2011-05-06 19:56:16 +02:00