dequis
003a18aa30
A few simple memory leak fixes
2015-08-30 23:20:51 +02:00
jvoisin
4261075d60
Misc fixes to make clang-analyser even more happy
2015-08-29 18:08:38 +02:00
pancake
1d4b0d8555
Fix some covs
2015-08-28 17:21:04 +02:00
skuater
b9569ad92a
Implementation 'dd' for windows debugger.
2015-08-26 23:34:52 +02:00
pancake
9aafea2e23
Fix w32 build
2015-08-26 16:40:09 +02:00
pancake
2e1f7c8b2d
Implement dd to list filedescriptors for OSX/iOS
2015-08-26 01:55:37 +02:00
Álvaro Felipe Melchor
d8b1ee5b9b
More cleanup in debug
2015-08-26 00:47:15 +02:00
skuater
50e881d929
Initial implementation 'dmm' for windows.
2015-08-26 00:37:38 +02:00
pancake
62755eeb0e
Fix latest COVs
2015-08-25 12:40:21 +02:00
pancake
c84850518c
Use keepio in debug.esil too
2015-08-24 16:53:47 +02:00
pancake
59dfda515f
Fix #3136 - Add ARM and ARM64 assemmbler support from NDK
2015-08-24 15:43:13 +02:00
pancake
6aa8de37d6
Some code cleanup to enable emulator plugins read memory
2015-08-24 04:45:04 +02:00
pancake
325759d744
Fix dmm for Linux
2015-08-24 01:58:34 +02:00
pancake
4dff5cca5e
Some some COVs related to control flow and memory leaks
2015-08-24 01:58:36 +02:00
pancake
7c3ef24314
Delegate dmm logic into the native plugin.
...
- Add native iOS/OSX support to list modules
- Generic fallback used for the rest of platforms
- Update sdb to fix ~{}
- Fix ARM64 analysis typo issue
2015-08-24 01:29:35 +02:00
shengdi
932dde8504
Fix #3119 - Add dbg.btdepth
2015-08-23 12:35:24 +02:00
Anton Kochkov
4b89b73303
Expand x86 regprofiles a bit more
2015-08-23 13:23:08 +03:00
Anton Kochkov
00256ad1e5
Disable long registers in GDB for now
2015-08-22 22:24:59 +03:00
Anton Kochkov
cc5ae7fd43
Fix GDB AVR
2015-08-22 00:50:22 +03:00
pancake
ba49c8cefc
Fix the tfp0 workaround for OSX (thanks @gdbinit)
2015-08-21 15:15:42 +02:00
pancake
f6c03ae340
Fix iOS build and integrate http://newosxbook.com/articles/PST2.html
2015-08-21 14:52:33 +02:00
Anton Kochkov
1eb6dfa61e
Add AVR in gdb://
2015-08-20 01:58:02 +03:00
pancake
68a1b94947
Fix w32 build
2015-08-20 00:24:02 +02:00
Álvaro Felipe Melchor
fb93dffde3
more cleanup in debug_native.c - linux
2015-08-19 17:31:00 +02:00
pancake
a6cb6ab07d
Fix #2992 - Add dmpf and dmpt to dump/restore snapshots from/to disk
2015-08-19 14:06:59 +02:00
SkUaTeR
240486f123
Update debug_native.c
...
Add support for windows at r_debug_info
2015-08-18 02:48:37 +02:00
pancake
62e631a514
Add segfault and abort debug stop reasons
2015-08-17 00:55:07 +02:00
pancake
abe083cda3
Fix #3101 - Show current address in backtrace
2015-08-17 00:33:10 +02:00
pancake
d22ac1228e
Initial implementation of RDebugReason. See di command
2015-08-17 00:16:25 +02:00
pancake
e6d6d0e5c8
Fix dr~[0] issue
2015-08-14 12:38:03 +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
pancake
fa6f91895f
Reverted capstone commit is conflicting, lets verify with latest changes
2015-08-13 16:55:58 +02:00
pancake
91bf85cb7a
Some more cleanup in debug
2015-08-13 04:07:54 +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
pancake
1f277f72e9
Add asm.indentspace and implement .atd and atl
2015-08-12 10:40:24 +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
Álvaro Felipe Melchor
c959d92c9d
WIP refactor debug
2015-08-11 08:53:05 +02:00
shuall
0807686d86
#3052 all printf member functions changed to cb_printf
2015-08-09 03:25:05 +02:00
pancake
fbdf0e8fde
Fix some more COVs
2015-07-25 02:10:31 +02:00
Álvaro Felipe Melchor
050c2fe9f8
Fix some COVS
2015-07-25 01:26:54 +02:00
pancake
0639261e26
Add more details for OSX code signing
2015-07-23 03:34:46 +02:00
pancake
55474775ba
Fix #2990 - Add dmda dmdw dmsw dmsa and json listing
2015-07-23 00:49:59 +02:00
pancake
4d6b0aea96
Fix two COVs
2015-07-21 18:08:32 +02:00
pancake
d2233a896b
Add de Debugger Esil API for advanced software watchpoints
...
- Implemented in r_debug_esil_* APIs
- Support for step-into and continue
- Expressions can be regs, numbers, math operations, ranges, comparisons..
- Honor dbg.prestep for stepping before or after analysing
- read-write-exec watchpoints using native debug backend and esil emulation
- OSX/iOS debugger error message is now nicer
- anal/rpnesil renamed to esil
- Add esi,edi in osx regprofile
- Add r_cons_is_breaked() for consistency
2015-07-21 06:11:42 +02:00
jvoisin
aa695bc808
Fix misc compilation warnings on Windows
2015-07-14 13:55:58 +02:00
Jonathan Neuschäfer
ecf6792318
Fix #2927 and random code cleanups
...
- asm_dcpu16: remove an obsolete comment
It was obsoleted in 5285d1bdea .
- Indentation fixes
- fix a few typos
- remove "#define NEW_ESIL"
- move comment about r_bin_filter_name to the right place
- README.md: Add V810 to the list of supported architectures
- Also, de-duplicate LH5801
- Add attribution to randomart.c, fixes #2927
2015-07-12 19:20:36 +02:00
Jonathan Neuschäfer
523aa3af5c
add .version to all plugins
2015-07-12 19:05:33 +02:00
pancake
85752a5a44
Honor io.sectonly and fix mips tests mapping code without sections
2015-07-09 20:11:15 +02:00
jvoisin
38d79c727d
Some coverifix
2015-07-08 22:52:24 +02:00
pancake
cae1d3c8cc
Initial work to support ios-arm64 builds
2015-07-07 00:23:08 +02:00
pancake
b5d40d11c0
Fix last coverities issues
2015-07-02 09:33:05 +02:00
pancake
3b5f5f3e5d
More fixes for tfp0 and iOS codesign
2015-07-02 02:06:25 +02:00
pancake
4afc585acd
Add fuzzy backtrace algorithm and show function and flag info in dbt
2015-06-29 22:23:04 +02:00
Álvaro Felipe Melchor
ccef928dfe
Fix some COVs
2015-06-28 20:15:35 +02:00
pancake
5ca5f143d1
Fix w32 debugger build
2015-06-28 11:07:33 +02:00
Jeffrey Crowell
cab49c09a8
rename nt-x86/nt-x64 to new windows names
...
fix w32 builds
2015-06-27 13:10:00 -04:00
pancake
d5f2661cbe
Fix build and autocomplete cd
2015-06-26 00:32:01 +02:00
pancake
61091809b3
Begin the debugger refactoring
2015-06-26 00:37:52 +02:00
pancake
01240d8001
Fix native debug plugin linkage
2015-06-25 22:43:10 +02:00
pancake
c6b0a5307f
Add dbg.btalgo, remove dead code and fix null deref in previous commit
2015-06-25 16:40:39 +02:00
iessa s alkuwari
b439ba4dde
backtrace improvements
2015-06-25 15:19:43 +02:00
pancake
6f7d511cb7
Initial rework for iOS (arm+arm64) single stepping (not yet working)
2015-06-22 16:55:28 +02:00
pancake
d436d16cd4
Honor asm.bits in the RBreakpoint API
2015-06-22 12:23:38 +02:00
pancake
73f4351fa3
Rewrite dm for iOS/OSX, still needs some cleanup
2015-06-22 03:10:56 +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
72ba17da3e
Enhace dh listing
2015-06-12 03:04:09 +02:00
pancake
361e8a96e1
Fix #2729 - Add help for dh command
2015-06-12 02:56:54 +02:00
Riccardo Schirone
1be0105343
core/cmd_debug: use a tree instead of a graph to do trace call/ret
2015-06-11 22:53:48 +02:00
pancake
47860d67dc
Remove more references to r_diff
2015-06-02 10:31:30 +02:00
pancake
4ce609b589
Some llx -> PFMT64x
2015-05-28 11:05:52 +02:00
pancake
c047506f21
Some cleanup for regset issues and update the regprofile
2015-05-21 02:31:01 +02:00
pancake
a7c8e96d6f
Fix x86-16 capstone regression
2015-05-14 03:46:09 +02:00
pancake
967067ea9c
Refactor r2pipe API into r_socket and fix w32 build
2015-05-14 02:50:57 +02:00
pancake
79087fbb2f
Revert "Change dr= output"
...
* Breaking on 32bit archs
* Inconsistent between archs
2015-05-12 03:37:28 +02:00
pancake
e675b66e15
Fixes for the new dr= output
2015-05-12 03:18:35 +02:00
Quentin Santos
8a8cb7162c
Simplify register printing
2015-05-11 18:57:03 +02:00
Quentin Santos
fd019730be
Fix whitespace padding at register printing
2015-05-11 18:57:03 +02:00
Quentin Santos
14d5c30ea6
Comment register listing files
2015-05-11 18:57:03 +02:00
Quentin Santos
f35bfc6ff4
Registers (x86-64) in usual order
2015-05-11 18:57:03 +02:00
dequis
b75cbd135d
debug_gdb: handle null return value from gdbr_read_registers
...
This would crash when doing r2 -d cat -c 'dh gdb'
Now that just prints "r_debug_reg: error reading registers"
2015-05-11 11:00:42 +02:00
Álvaro Felipe Melchor
56ae0ea6b4
Fix build
2015-05-08 11:47:42 +02:00
pancake
aa9b5deb99
Show siginfo message in case of SIGSEGV
2015-05-08 04:39:35 +02:00
skuater@hotmail.com
ccfae11ebc
windbg ^c support under linux+ ^c support for windows
2015-05-05 18:33:34 +02:00
skuater
b0c520b856
Handle ^C in native windows and windbg debuggers
2015-04-22 15:53:45 +02:00
pancake
917bbb3a7c
Fix #2404 - Fix duplicated syscall tracing issues on linux
...
- this is a workaround, and must be tested on other platforms
- handles ^C now
2015-04-19 13:43:38 +02:00
pancake
9392424e30
Fix #2397 and #2398 - honor syscall args in dcs on linux-x86-64
2015-04-18 10:35:57 +02:00
pancake
da9409d37a
Fix #2397 - Honor syscall arg count in dcs
2015-04-17 23:30:35 +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
pancake
997dda6e5b
Add support for iOS-simulator and static-OSX builds
2015-04-14 17:14:43 +02:00
pancake
f9d6ff2f2b
Fix some travis warnings
2015-04-12 18:00:40 +02:00
pancake
acd5e4b999
Fix dalvik<->dex class and method name resolutions
2015-04-12 05:13:51 +02:00
jvoisin
34473357d7
Fix some compilation warnings
2015-04-12 00:06:38 +02:00
Anton Kochkov
4d58edede2
Prevent segfaults
2015-04-11 02:41:02 +03: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
pancake
a0ef11be00
Fix 3 covs and several warnings in windbg for w32
2015-04-07 14:53:28 +02:00
pancake
83065452c8
Implement dr regname, and move the old functionality under drt
2015-04-06 23:37:49 +02:00
pancake
b55b573cef
Fix #2315 - Individual register printing is broken
2015-04-05 18:48:36 -04:00
skuater
5bad0aae82
Fix issue with XMM on linux64 (pid vs tid)
2015-04-01 17:09:49 +02:00
pancake
18fb2c7310
Support longer mapnames for XNU
2015-03-27 11:11:02 +01:00
pancake
7301965cc2
Fix warning on OSX debugger (thx dkreuter)
2015-03-25 23:24:27 +01:00
Anton Kochkov
13cfed3509
Fix a typo from previous commit
2015-03-23 18:18:52 +03:00
XVilka
3ca5c3191a
More Cygwin fixes
2015-03-23 18:17:36 +03:00
XVilka
ab098c7f23
Fix Cygwin building
2015-03-23 16:45:59 +03:00
pancake
130b0a9c78
Fix w32 build
2015-03-22 16:22:59 +01:00
skuater
b05efbc254
Fix w64 debugger
2015-03-21 00:29:14 +01:00
pancake
95c2dd01ad
Disable DRX on OSX until fixed
2015-03-20 22:51:24 +01:00
pancake
597f4f595b
Refix android-x86 build
2015-03-18 00:59:26 +01:00
skuater
30273f265c
Fix android-x86 build
2015-03-18 00:10:43 +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
Kamil Rytarowski
b9b7ee222d
Fix build for !(__linux__ && __powerpc__)
2015-02-24 03:44:15 +01:00
pancake
274bdce6c9
Enhace r-num-units() and show size of dm maps
2015-02-23 10:39:56 +01:00
Kamil Rytarowski
ad2561fa81
Disable R_REG_TYPE_{FPU,MMX,XMM} for !__linux__
2015-02-23 03:33:14 +01:00
pancake
ad80aba942
Initial support for debugger memory snapshots dms. Enhace hexdiffing
...
- Fix linux debugger
- ccc shows hexdiffing, but only the ones that differ
2015-02-23 03:29:40 +01:00
pancake
66ead9b96b
Add ate command for the anal trace logs with ESIL (and backstepping)
...
- r2 -e dbg.trace=true -e anal.trace=true -d ls
> 10ds # perform 10 steps
> ate # show anal trace logs
> .ate `atek idx` # backstepping
> ate-* # clear logs
2015-02-22 11:40:55 +01:00
pancake
5c8b417cf2
Add mul/div opcodes for x86.nz assembler and fix osx build
2015-02-20 19:39:38 +01:00
skuater
5335ba8f5f
Initial support for FPU/MMX/XMM on linux-x86-64
2015-02-19 10:52:01 +01:00
jvoisin
5ad3afb628
Coverifix
2015-02-11 17:55:25 +01:00
Jeffrey Crowell
d4e0575d67
build on clang jenkins now
2015-02-05 10:57:21 +01:00
pancake
21f857a057
Trace code with dc too, not only ds (thanks @earada)
2015-01-30 19:07:33 +01:00
pancake
4d1a555dbc
Handle debug tracing information in ESIL steps
2015-01-30 02:07:47 +01:00
pancake
0cb78f973e
Fix #2004 - filter flag names in dm*
2015-01-29 02:25:00 +01:00
pancake
11722083bf
More Android build fixes. Fortunes are now available
2015-01-24 21:45:32 +01:00
pancake
4addf6d538
Show strings in drr, Add ios syscalls and fix x86-32 debug on osx64
2015-01-14 02:00:55 +01:00
skuater
f9bd4521d2
Fix #1834 - Honor breakpoints on step-over and continue-until
2015-01-12 17:47:34 +01:00
pancake
97d1f70f53
Fix some warns and Use RRegex in parse_mreplace to make support w32
2015-01-12 02:52:12 +01:00
pancake
743bd0a68a
Initial support for ARM and ARM64 local variables
2015-01-10 02:14:55 +01:00
pancake
6d309e2c5e
Implement dko for Linux. Enhace the command and support SKIP and CONT options
...
- Can continue into the signal handler
- Can skip the instruction and ignore the signal handler
- By default it will just stop in there
2014-12-12 00:34:53 +01:00
pancake
0c91c7df62
Fix several bugs in the windbg and cris. thanks to coverity
2014-12-09 17:50:19 +01:00
pancake
85631e7104
Fix build on OSX, fix warnings in shlr/wind and handle asm.cpu and asm.syntax for asm.cris
2014-12-08 23:38:13 +01:00
pancake
8bdea8eea3
Fix several build issues to make crosscompilation and w32 happy
2014-12-07 20:05:24 +01:00
pancake
9fa79fbf0c
Fix build
2014-12-07 19:37:03 +01:00
LemonBoy
3b9164c04c
Initial WinDBG support
2014-12-07 19:32:45 +01:00
LemonBoy
8a89345304
Fix a crash when the map name is null. Fix a crash when a thread list is requested from a backend that doesn't support it.
2014-12-05 13:31:22 +01:00
pancake
96a4dd7f5c
Fix dpa on Linux
2014-11-28 13:07:25 +01:00
jvoisin
6d803698a6
Fix some warnings
2014-11-22 16:44:36 +01:00
pancake
fa9129a817
Handle names in 'dm' for OSX/iOS
2014-11-22 00:36:42 +01:00
pancake
5219e86071
Fix #1694 - Fix dcs after ds
2014-11-20 01:30:37 +01:00
LemonBoy
3e488c6555
Handle return 0 in RDebug.reg_read() for manual sync
2014-11-20 00:01:14 +01:00
LemonBoy
832adcd557
Make the bp api slightly saner
2014-11-17 16:24:26 +01:00
pancake
850309a7e9
Initial support for android-aarch64
2014-11-10 01:54:05 +01:00
pancake
fb64d50693
Fix null deref in RDebug.wait()
2014-11-08 00:28:20 +01:00
skuater
e192051aa7
debug improves
2014-11-08 00:25:17 +01:00
skuater
430ef8d5fe
Hardware breakpoints working
2014-11-05 13:10:18 +01:00
trndr
00949b0300
Fix gdb dc and dcu
2014-11-04 21:55:51 +01:00
trndr
83ad35e39a
Try to implement MIPS gdb reg profile
2014-11-04 02:17:35 +01:00
pancake
dcfb90ae94
Wip Fix r2 -d oo (workaround, because it's a race condition in fork+pid2path)
2014-11-03 11:47:51 +01:00
pancake
6a6290a4da
Implement Sdb in RDebug.Traces. O(n) vs O(1) in pd with asm.traces=true
2014-11-02 01:21:45 +01:00
pancake
6fcd870a5c
Bring back asm.trace and dbg.trace to life
2014-10-30 23:58:22 +01:00
pancake
211688f537
Handle bp.cmd and RBreakpointItem->cmd in RDebugContinue (bps and traces)
...
- Add scr.echo
2014-10-30 22:58:51 +01:00
skuater
fe84360d96
Pre feature break traces
2014-10-30 10:43:35 +01:00
pancake
92b167bbdd
Add r_buf_read/write methods using CUR, fix some more warnings
2014-10-29 22:12:16 +01:00
pancake
8430ff1dba
r_bp_get -> r_bp_get_at // .. r_bp_get_in
2014-10-28 02:28:58 +01:00
jvoisin
a60d82b800
Fix a lot of warnings for GCC
...
Less than 20 warnings remaining on my x86_64 GCC 4.9.1
2014-10-26 13:50:58 +01:00
pancake
a2c3647ad0
Somewhat better BoostJam support
2014-10-26 02:47:08 +02:00
pancake
bf3c739d75
Fix crash for gdb:// to qemu-arm
...
- Fix some JamFiles
- Add config.getter callbacks
2014-10-26 01:30:17 +02:00
Anton Kochkov
fea0a0ec9e
Fix r2 gdb arm (32) profile
2014-10-26 01:29:58 +03:00
Anton Kochkov
179dab57ec
Fix GDB for ARM
2014-10-23 17:40:32 +04:00
pancake
857e635f49
Use PFMT64u instead of PFMT64d to display addresses
2014-10-23 12:35:08 +02:00
skuater
13ba5d0742
Implement step over rep instructions
2014-10-23 00:46:19 +02:00
pancake
ec2be7a214
Fix 'dcc'
2014-10-13 14:52:33 +02:00
pancake
13e504fd60
Use more SDB into rsyscall module
2014-10-13 05:02:24 +02:00
LemonBoy
ce649947af
Fix the w64 profile
2014-10-12 21:48:05 +02:00
pancake
5c07ff254f
Fix 'dcs'
2014-10-09 18:31:55 +02:00
pancake
fb8336f7d0
Add dbg.{forks|clone|execs} ptrace options (linux-only atm)
2014-10-09 01:21:49 +02:00
pancake
88bbc4aa7b
Remove noisy debug error messages
2014-10-08 02:14:53 +02:00
pancake
1ae88f7491
Fix 'dcu' on OSX
2014-10-03 20:23:05 +02:00
pancake
bdb7acc873
Refactor r_debug_pid_list() a bit
2014-10-01 21:39:28 +02:00
pancake
0bb1407787
Fix dpj crash (%s -> %c)
2014-09-30 13:07:53 +02:00
pancake
02978e14ec
Do not kept detached to fix 'dcu' on osx/ios
2014-09-28 10:37:33 +02:00
pancake
a0e609e40d
Fix ARM swstepping and breakpoints, add dbg.bpsize
2014-09-26 13:57:03 +02:00
Y. Sapir
d42dbf55d2
Fix some compile warnings.
2014-09-24 13:20:37 +02:00
pancake
08cfb55f19
Avoid double-attach in the correct way
2014-09-22 23:04:58 +02:00
LemonBoy
98830cf44c
Don't re-attach
2014-09-22 22:05:59 +02:00
pancake
a50af2ad22
Fix step over left breakpoint
2014-09-17 17:57:30 +02:00
LemonBoy
76fa1fac1c
Reap the breakpoint list correctly
2014-09-17 17:57:27 +02:00
LemonBoy
35945e059c
Use the computed register size when requesting registers from host.
...
Fix a handful of warnings.
2014-09-17 17:57:24 +02:00
LemonBoy
9a90664b2a
Fix r_debug_step_over
2014-09-17 17:57:21 +02:00
LemonBoy
9fa0766f21
More error checking
2014-09-17 17:57:17 +02:00
LemonBoy
f1bf11275a
Optimize r_debug_continue_until
2014-09-17 17:57:11 +02:00
LemonBoy
707089c3a9
Fix various debugger operations. Fix a ptrace-related bug.
2014-09-17 17:57:08 +02:00
defragger
fdceb6373c
fixes the 16bit issue, we still need to improve the performance here
2014-09-16 16:07:16 +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
d93563909d
Fix latest coverity issues
2014-09-10 02:21:10 +02:00
condret
7ce6922491
rename r_io_open -> r_io_open_nomap and add a new r_io_open that creates a map at 0x0
2014-09-06 23:08:16 +02:00
pancake
535343925f
Fix gdb:// on linux-x86-{32,64}
2014-09-06 00:13:03 +02:00
LemonBoy
ece4e42344
Fix a sizeof error in RDebug.reg_sync(). By rewriting the whole function.
2014-09-05 23:55:44 +02:00
pancake
0c82eb1443
Fix {abcd}{hl} register definitions in x86-{32,64}
2014-09-02 23:11:22 +02:00
pancake
e5e47ac546
Add 'pdj' command to list processes in JSON format
2014-08-30 01:12:12 +02:00
defragger
07c92d2d70
adds malloc and dealloc for windows
2014-08-29 12:15:52 +02:00
pancake
444a77022f
Fix crash on OSX debugger
2014-08-20 10:23:22 +02:00
pancake
be4b0d1258
Fix 'oo' on 'r2 -d' in OSX
2014-08-18 18:06:27 +02:00
defragger
eb300a5412
adds setting and removing breakpoints for gdb remote
2014-08-15 03:35:56 +02:00
jvoisin
bcbeb3c066
Fix some gcc warnings
2014-08-11 16:07:17 +02:00
pancake
29c3e1ba7a
Fix more CIDs assigned to me
2014-08-01 12:07:08 +02:00
pancake
5ba7b7e947
Implement 'dr-' for anal and debug
2014-07-31 20:53:18 +02:00
defragger
b87c35ee64
adds the ability to write registers
2014-07-08 09:05:41 +02:00
pancake
ef4526877c
Fix gdb aarch64 register profile (needs testing)
2014-07-02 18:58:31 +02:00
dequis
4b232a7206
Fix column alignment in visual mode registers (dr=)
...
Just adds one space of padding for oeax in 32 bit archs.
Fixes #1074
2014-07-02 03:13:16 +02:00
pancake
994d2089e8
Fix FreeBSD build (thanks JR!)
2014-06-26 14:17:35 +02:00
pancake
5c209802a7
More work on arm-thumb-capstone + esil
2014-06-19 04:03:11 +02:00
pancake
160c4568f7
More RPN ESIL (udis86, vm, conditionals, ..). Honor cfg.debug
...
- A debugger session can be turned into emulation with 'e cfg.debug=0'
- Fixed undo seek issues
- Fix "Unknown register 'rip'" issue
- debugger commands mixed with analysis ones. We must merge at some point
- More udis86 instructions translated to the new esil
2014-06-17 10:23:11 +02:00
pancake
c79ef3b53d
Refix 'dcs' and enhace '?' colorized help
2014-06-14 02:28:49 +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
jvoisin
3affd8ecb2
Fix two gcc warnings
2014-06-06 13:22:52 +02:00
pancake
af97eaf7f7
Initial refix 'di' for osx, add missing newline in 'psi'
2014-06-05 03:46:17 +02:00
pancake
26be34439a
Fix r_io_mach_read for partial reads on segment limits
2014-06-05 01:32:05 +02:00
pancake
00d283a398
Fix all latest coverity issues
2014-06-04 23:57:24 +02:00
pancake
d9ec210d5e
Fix rarun2 build on w32
2014-06-04 23:05:34 +02:00
pancake
315e8866e1
Add 'creg' color palete to colorize changed registers in 'drd'
2014-06-04 17:23:58 +02:00
pancake
614f96f080
Refactorize and cleanup the RDebug register profiles
2014-06-04 16:56:53 +02:00
pancake
2e789678de
Implement RDebugInfo (only for linux atm)
2014-06-04 04:12:11 +02:00
pancake
b3fbb4383a
Fix map boundaries check
2014-05-31 16:23:05 +02:00
Skia
01b8b2d763
Fix #793 - Display changed registers in every 'dr' command
...
- Do not always colorize the modified reg in 'dr'
- TODO: Add color palette for reg highlighting
2014-05-31 16:19:32 +02:00
pancake
5e33a8a282
Initial huge refactoring of r_io still work in progress
2014-05-28 04:34:12 +02:00
pancake
aafe8c6eaf
Fix some coverity issues
2014-05-26 14:28:55 +02:00
Anton Kochkov
1df870c911
Fix CID 1215819
2014-05-26 14:24:41 +04:00
jvoisin
06a9083473
Fix CID 1134515
2014-05-24 02:41:33 +02:00
jvoisin
581b009cb3
Fix CID 1134508
2014-05-24 02:39:19 +02:00
pancake
ea0c2caa59
Add sys/ios-sdk build scripts
2014-05-17 04:41:33 +02:00
Anton Kochkov
c05313384c
Fix CID 1213701
2014-05-14 06:20:45 +04:00
pancake
eeaa5ffd60
Fix aarch64 gdbr profile and update sdb
2014-05-12 17:07:27 +02:00
defragger
21db5cd536
Add arm64 register profile to gdbr
2014-05-12 10:21:10 +02:00
jvoisin
b188d8e833
Fix CID 1135099
2014-05-11 13:09:20 +02:00
jvoisin
7ddcb83383
Fix 2 GCC warnings
2014-05-10 21:59:16 +02:00
jvoisin
88fe362dfd
Fix CID 1135181
2014-05-10 21:55:50 +02:00
jvoisin
e43561f9b2
Fix CID 1135052
2014-05-10 02:49:34 +02:00
jvoisin
162b352220
Fix CID 1135050
2014-05-10 02:49:05 +02:00
jvoisin
97b38fd2bb
Fix CID 1135049
2014-05-10 02:48:26 +02:00
jvoisin
4d38a2522d
Fix CID 1135027
2014-05-10 02:47:50 +02:00
jvoisin
36fd4b8dd7
Fix CID 1135026
2014-05-10 02:47:20 +02:00
Anton Kochkov
547ead1fb9
Fix CID 1191960
2014-05-04 19:21:05 +04:00
Anton Kochkov
2c1a91a575
Fix CID 1134941
2014-05-03 16:25:49 +04:00
Anton Kochkov
1ecbf800a6
Fix CID 1134940
2014-05-03 16:23:28 +04:00
Anton Kochkov
e521c104c4
Fix CID 1134816
2014-05-03 03:40:04 +04:00
fr33tux
a68171d3e9
Remove r_list_unlink and r_list_unref functions
2014-05-03 01:27:10 +02:00
fr33tux
3d801f90ff
Remove r_list_destroy, replaced it by r_list_purge
2014-05-03 01:27:10 +02:00
Anton Kochkov
0f226f93b5
Fix CID 1135000
2014-05-02 13:59:56 +04:00
jvoisin
1682657320
Fix CID 1134830
2014-04-25 23:04:02 +00:00
pancake
836803d786
Sdbize RBin.list_archs(). Expose addrinfo in 'k bin/fd.#/addrinfo/*'
2014-04-23 03:57:13 +02:00
pancake
0502dff692
Add 64bit rflags in 64bit linux register profile
2014-04-09 08:43:19 +02:00
pancake
239f32d309
Fix #765 - list all signal numbers and names
2014-04-05 14:16:08 +02:00
pancake
51fb0a0581
Fix static typedef issues
2014-03-25 00:34:23 +01:00
condret
9c154d003c
fix #629 and add some warnings
2014-03-21 03:54:12 +01:00
pancake
ad7917b46a
Fix 'dm' for ios/osx
2014-03-17 17:32:25 +01:00
defragger
bf7d50156f
added implementation that uses libgdbr
...
Signed-off-by: defragger <rlaemmert@gmail.com>
2014-03-03 17:19:33 +01:00
defragger
0404623595
added libgdbr sources to shlr folder
...
Signed-off-by: defragger <rlaemmert@gmail.com>
2014-03-03 17:19:29 +01:00
pancake
9b9b04576f
Purge all r_lib references
2014-02-20 22:16:23 +01:00
pancake
12dc36ce23
Sync with sdb 0.8.rc1 - lot of api changes
2014-02-19 05:02:59 +01:00
Zach Riggle
36518d2ae6
Fix clang build (unicode characters outside of literals)
2014-02-15 20:47:46 -05:00
pancake
acc89d63e6
Use even more ut* types
2014-02-10 16:56:10 +01:00
pancake
105345388b
Fix debugger get-reg regression introduced in b4373c6b40
2014-02-05 12:45:21 +01:00
pancake
a8926f9209
Fix few more coverity warns, bump sdb and drx android build
2014-02-04 15:41:36 +01: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
175643bedc
Fix #584 - Fill hexblock on cursor range selection
2014-01-30 00:55:34 +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
5ff6065335
Bump for new sdb
2014-01-23 01:56:35 +01:00
pancake
a52ebdf61e
Fix arm64 build with older iOS SDKs
2014-01-21 16:14:36 +01:00
pancake
48273ec2ed
Fix #559 - Fix segfault (workarounds)
2014-01-21 15:40:10 +01:00
pancake
284635bfc3
Add arm64 native register profiles
2014-01-20 02:40:50 +01:00
pancake
d86bf57ca4
Remove more r_lib references
2014-01-18 02:52:49 +01:00
pancake
802e808072
Merge libr/lib into libr/util and add r_sys_environ API
2014-01-18 02:42:23 +01:00
Maxime M
772e2bab75
Correcting a bug
2014-01-13 17:30:25 +01:00
Maxime M
5998cbec8d
correcting Resource leak
2014-01-13 17:17:26 +01:00
pancake
01a2b485e7
Implement 'drc' command with all the RRegCond magic
...
- Fix all debug register profiles
- Support for X86 and ARM
- Allow to check conditional instructions
2014-01-08 23:23:06 +01:00
pancake
3e3092ac09
Add RRegCond api
2014-01-07 04:29:56 +01:00
pancake
38fc28f960
Added more Jamroot files
2014-01-03 00:13:46 +01:00
pancake
1941efc160
Fix kfbsd debugger build
2013-12-26 18:59:59 +01:00
pancake
f664821d8e
Fix loading the RBin information of PIE bins when debugging
2013-12-17 02:10:13 +01:00
pancake
d489178755
Fix #444 - Show RDebugPlugin license in 'dh' output
2013-12-10 04:29:14 +01:00
pancake
bbe6e8c8a2
Add license to RBin, RDebug and RIO plugins
2013-12-10 04:19:04 +01:00
pancake
c165361124
Add bin.bf for brainfuck and use static ESIL struct
2013-12-10 03:35:59 +01:00
BatchDrake
b04a9776a2
Refactorization of RAnalOp.esil to make it compatible with RStrBuf
2013-12-08 22:47:50 +01:00
pancake
322a8a7654
Fix build for latest refactoring
2013-12-06 05:18:57 +01:00
pancake
88ff554959
Fix build
2013-11-29 17:33:45 +01:00
Fedor Sakharov
13547a0bbf
Fix #370 - Some memory leaks
...
Fix memory leak in r_config_new.
cfg->nodes->free should be a custom function that frees RConfigNode
structure correctly, but not the ordinary free.
Fix memory leak in r_anal_new.
In r_anal_free need to call r_meta_free to free the
whole RMeta structure, not only it's data list.
The r_meta_free doesn't seem to have any leak itself.
Fix leaking anal->hints.
Fix memory leaks in r_cmd_free
Fix memory leak in r_cmd_plugin_init
Fix memleak in r_lib_new
Fix memory leak in r_io_plugin_init
Fix memory leak in r_debug_trace_new
Fix memory leaks in r_io_new
Fix memory leak in r_graph_new
Fix memory leak in r_sys_getdir.
Note: calling getcwd with dir=NULL is a Linux-specific extension
of POSIX, not sure if works on other non-windows platforms.
Fixes a typo
2013-11-19 01:51:40 +01:00
pancake
79946ef2da
Add @capi_x patch to fix Haiku's build
2013-11-12 23:55:57 +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
2a909d6302
Fix #300 - (64bit dr= indentation) and fix r_sys_pid_to_path on linux
2013-09-05 01:44:05 +02:00
pancake
497cb0e2e1
Fix #57 - 'is' does not work for attached process
2013-11-04 03:30:46 +01:00
pancake
0e470adc27
Fix #258 - Hide SIGTRAP signals
2013-11-03 03:05:00 +01:00
pancake
708dc29b3b
Fix #304 - debugger breakpoints not handled properly on Linux
2013-11-03 02:48:13 +01:00
pancake
5879f30297
Disable dbg.trace by default, more fixes for 'dr=' and 'drd'
2013-10-31 02:39:24 +01:00
pancake
629c64c851
Fix 'dr=' columns width for 64bit registers
2013-10-31 01:53:17 +01:00