Commit Graph

8870 Commits

Author SHA1 Message Date
pancake
2ff37b8de0 Fix loading of bin symbols in debugger (osx), no ASLR yet 2015-08-14 00:53:57 +02:00
pancake
e84262c5e7 Handle /m in http.ui by default 2015-08-13 23:58:01 +02:00
Riccardo Schirone
7b1730dc86 core/anal: fix cov and simplify code 2015-08-13 22:14:43 +02:00
Jeffrey Crowell
de3facf3a9 do cannonicalize path the right way (tm) 2015-08-13 15:16:27 -04: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
pancake
00b2240893 Simplify env.sh path construction code 2015-08-13 20:42:06 +02:00
pancake
5bf55a76fe Handle ~ in env.sh for some shells 2015-08-13 20:32:30 +02:00
pancake
18421429b9 Handle relative paths in env.sh 2015-08-13 20:23:59 +02:00
pancake
8293f75ce9 Add temporary patch to fix capstone x86-16 issue 2015-08-13 20:20:06 +02:00
pancake
4275bfc987 Fix pie output 2015-08-13 19:42:29 +02:00
pancake
014a28e9cf Fix some memleaks reported by Coverity 2015-08-13 17:24:45 +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
3981b48a7c Update capstone to fix the sparc segfault 2015-08-13 16:53:42 +02:00
pancake
91bf85cb7a Some more cleanup in debug 2015-08-13 04:07:54 +02:00
pancake
def4329769 Fix #3081 - Fix LDR instruction for the ARM assembler 2015-08-13 03:12:12 +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
Riccardo Schirone
349f5e9b59 core/core: make prompt a variable length string
core/core: refactor r_core_prompt function
2015-08-12 01:43:05 +02:00
Riccardo Schirone
064d57fb8d core/core: add scr.promptsect variable to show section name in prompt 2015-08-12 01:43:05 +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
Riccardo Schirone
2518c9e21c core/core: add scr.promptflag variable 2015-08-11 16:03:07 +02:00
yetmorecode
e86138e18f Fix #3070. w32 native debugging hanging on "dc" after process exit 2015-08-11 16:01:58 +02:00
pancake
2865786e4c Add bin.classes eval var and fix rabin2 -rc output 2015-08-11 15:58:01 +02:00
pancake
4beb0dc6a3 Add support for 'mov byte [reg], imm' for x86.nz 2015-08-11 14:15:13 +02:00
pancake
a343109c68 Fix aarch64 elf reloc type 2015-08-11 09:46:28 +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
0eff8ca0d2 Revert "rax2: refactoring, better error handling and update nampage"
This reverts commit 83ca1dab47.
2015-08-11 09:13:01 +02:00
pancake
eb7d33e3d9 Remove dupped instruction in v810 2015-08-11 09:04:21 +02:00
Riccardo Schirone
34ef49631e core/anal: refactoring
* core/anal: refactoring of r_core_anal_op
* core/anal: refactoring of r_core_anal_bb + some comments to R_API fcns
* anal: use noncode as boolean
* core/anal: clean r_core_anal_fcn
* core/anal: split r_core_anal_fcn to improve readability
* core/anal: simplify code
2015-08-11 08:57:01 +02:00
Riccardo Schirone
6b47a68c91 core/anal,cmd_anal;anal/bb,data,fcn: general cleaning
* core/cmd_anal: extract cmd_anal_all function
* core/anal;anal/bb,data,fcn: indentation
* core/anal;anal/anal,data,fcn: remove dead code
* core/anal: remove macros in the middle of function
* core/anal: avoid blocks in the middle of functions
* core/anal: fix macro name R_ANAL_BB_HA_OPS -> R_ANAL_BB_HAS_OPS
* core/anal: fix if/else if/else
* core/anal: remove r_ prefix from static functions
2015-08-11 08:57:01 +02:00
Álvaro Felipe Melchor
c959d92c9d WIP refactor debug 2015-08-11 08:53:05 +02:00
pancake
2209aff8d6 oobread fixes in autocompletion 2015-08-11 08:46:18 +02:00
pancake
270d283a38 Support SHELLs with spaces in path 2015-08-11 08:46:13 +02:00
Grigory Rechistov
83ca1dab47 rax2: refactoring, better error handling and update nampage
change flags from magic numbers to named enum values.
make error reporting more Unix-way by returning non-zero error status
man page is updated to reflect currently supported options
2015-08-11 02:22:21 +02:00
pancake
1931f684a4 Detect ELBRUS ELF binaries and fix arm esil issue 2015-08-11 01:47:51 +02:00
pancake
b630d82548 Parse PLT for imports in ARM64 ELF binaries 2015-08-11 00:54:03 +02:00
Riccardo Schirone
e9eaf7a2a2 doc/syntax: fix some inconsistencies 2015-08-10 20:15:07 +02:00
inisisder
2462f2c430 fix problem with iTerm bin and remove printf 2015-08-10 13:48:48 +02:00
inisider
3b378c50ac some refactor and fix code style 2015-08-10 13:48:48 +02:00
inisisder
684606bcee fix one more segfault 2015-08-10 13:48:48 +02:00
inisisder
553e20c3d9 fix segfault and memory leaks 2015-08-10 13:48:48 +02:00
inisisder
eca3a781c0 objc class parser code refactoring 2015-08-10 13:48:47 +02:00
inisisder
d8af00ea36 add parsing of objc classes from binary 2015-08-10 13:48:47 +02:00
pancake
6abfe2e6c1 Add some more syntax notes 2015-08-10 11:59:29 +02:00
Riccardo Schirone
6a1db31afd doc/syntax: improve coding style rules 2015-08-10 11:54:37 +02:00