Commit Graph

12758 Commits

Author SHA1 Message Date
Sajjad Pourali
ba25be4934 commented unused variable (libr/anal/pin.c) (#7714)
* commnet unused variable (libr/anal/pin.c)

* Create pin.c
2017-06-11 02:13:19 +02:00
Srimanta Barua
d81f369fa1 Fix gdb client packet size (#7703)
* Fixes for packet too long
* Proper escaping in packets and run-length encoding
* Removed old cache code
* Removed currently unnecessary code from client initialization
* Preparation for customized packet sizes
* Better packet-size configuration
* Minimum packet size (for AVR)
* mem_write too
* Corrections to packing code
* Was overcompensating for AVR. (pkt_sz = 16 => read_mem_len = 8)
2017-06-11 02:12:44 +02:00
pancake
429740e5a1 Implement aerR and cmd.esil.ioer 2017-06-10 20:40:16 +02:00
pancake
7512396ab5 Fix dblfree introduced in last esil cleanup 2017-06-10 18:53:20 +02:00
pancake
37e08489bd Fix build and implement ?eg for gotoxy and ?ec for column 2017-06-10 18:37:56 +02:00
pancake
0ded60cd0c Implement cmd.esil.todo 2017-06-10 18:00:07 +02:00
pancake
dfe3cb8305 Honor asm.flags in prc 2017-06-10 17:47:26 +02:00
Andry
f81e0a7fdb grep functions refactoring (#7672) 2017-06-10 12:39:04 +02:00
Ren Kimura
487b305a8d Changed finding logic of session key (#7719) 2017-06-10 12:38:23 +02:00
alvarofe
7af491dda5 Fix build 2017-06-09 21:35:38 +02:00
pancake
470c183010 Initial work towards supporting a visual ESIL debugger VpOd 2017-06-09 19:12:20 +02:00
pancake
aad2d70552 Fix some warnings 2017-06-09 03:22:18 -11:00
Roi Martin
d9202106f4 Fix hex column resize in visual mode (#7712) 2017-06-09 15:58:49 +02:00
pancake
8da5d2b295 Fix esil pin implementation using r2 commands 2017-06-09 02:50:28 -11:00
pancake
6e1490f747 Minor help message fixes 2017-06-09 02:07:05 -11:00
pancake
1ae19361ea Remove debug printf in r2pipe.c 2017-06-09 11:26:53 +02:00
alvarofe
abe88502c9 Return exports and import when found error
This improves some pe like CoST.exe one
2017-06-08 18:24:36 +02:00
alvarofe
82fc246f1d Resotre hook_mem_write when asm.emu activated 2017-06-08 18:20:48 +02:00
pancake
d5ede2bf44 Party reverts f85bc674b2. 2017-06-08 04:22:50 +02:00
pancake
4be4af58fd Fix command injection vulnerability in dex methods 2017-06-08 04:15:38 +02:00
pancake
8c80c2a9bb Fix null deref introduced in previous commit 2017-06-08 02:39:30 +02:00
pancake
f85bc674b2 Fix #7698 - UAF in r_config_set when loading a dex 2017-06-07 23:51:13 +02:00
Ayman Khamouma (ak42)
779147011d Fix #7655: continue on disabled breakpoints (#7697) 2017-06-07 21:26:03 +02:00
Rene Laemmert
e1cfd1cc90 Use core->anal->fcns instead of fcns in core/canal 2017-06-07 18:58:50 +02:00
Sajjad Pourali
0967a976a5 remove unused variable + change type of typename (#7696) 2017-06-07 18:57:54 +02:00
Ayman Khamouma (ak42)
582e4da71d Improve number detection for disassembly coloring (#7694) 2017-06-07 18:55:38 +02:00
pancake
0037ec0b78 Minor tweaks for this hexagon support 2017-06-07 11:54:00 +02:00
pancake
39542af604 Initial support for the Hexagon CPU (ripped from a binutils fork from 2013)
https://www.spinics.net/lists/linux-hexagon/msg00363.html
2017-06-07 11:43:24 +02:00
pancake
87ba2bb95f Support HEXAGON cpu type in ELF 2017-06-07 11:06:59 +02:00
Álvaro Felipe Melchor
2cc456fc76 Fix function detection with NOP (#7691) 2017-06-07 01:53:59 +02:00
Rene Laemmert
3b051758eb aab now executes direclty also added aab* (#7688) 2017-06-06 18:28:43 +02:00
Ren Kimura
8c789b5be5 Fixed overflow of page_off (#7687) 2017-06-06 16:21:55 +02:00
Roi Martin
8f5929e44d Check zoomsz value 2017-06-06 10:45:01 +02:00
Roi Martin
a1388159c8 Fix hexdump offset in zoom mode
Add argument zoomsz to r_print_hexdump(). It allows to specify the real
size of each byte in the hexdump.
2017-06-06 10:45:01 +02:00
Ayman Khamouma (ak42)
a6259d28c6 invert offset color for traced instructions (#7685) 2017-06-06 10:00:57 +02:00
sroxy
7e3072d8f4 mbn: fix image type check (#7684)
aboot.mbn isn't recognized by r2 because the check is too strict,
valid values for load_index (aka image_id) start from 1, aboot.mbn is using 5.
Fixes #7681
2017-06-06 09:52:17 +02:00
Lowly Worm
414608ff25 use the is_empty api call for peek 2017-06-06 00:27:50 -04:00
Lowly Worm
e4652c0319 add r_stack_peek to the stack api 2017-06-06 00:13:51 -04:00
Tzaoh
991a1b8dd9 Replace dh for dL (#7682)
* Replace dh for dL

* Changed places where 'dh' cmd was used.
2017-06-05 14:45:45 +02:00
pancake
90480d325b Fix last covs 2017-06-05 13:23:39 +02:00
pancake
6a9b0430db Fix disasm crash in r2_ir_dalvik_disassemble 2017-06-05 12:42:35 +02:00
Srimanta Barua
ad764839b2 Initial breakpoints, step, and continue for gdbserver. Plus *started* talking to GDB (#7679)
* GDB doesn't crash when connecting to us anymore

* Added initial support for breakpoints, step, continue to gdbserver
2017-06-04 22:22:01 +02:00
Ayman Khamouma (ak42)
3fd5112d95 add dsuir command for regex match (#7675) 2017-06-04 12:10:50 +02:00
Adrian Herrera
85702da1fe Make the "ag" command work with "loc" functions (#7673) 2017-06-04 01:06:48 +02:00
Roi Martin
4d93dcc78d Minor style changes in autocomplete functions 2017-06-03 22:12:29 +00:00
Andry
9e253f5867 Fix #7373 add '~str~?' support (#7669) 2017-06-03 22:54:22 +02:00
Lennart Braun
e1dc11bccd Fix regression with capstone 3 (#7666)
The constant CS_MODE_MIPS2 is introduced in a patch for capstone-next
(added in 1c6ee8dd3a) and will not be available in capstone 3.
2017-06-03 18:18:05 +02:00
Duncan Ogilvie
8dbc4db750 Fixed unreleased lock in r_core_cmd 2017-06-03 18:02:30 +02:00
Roi Martin
e8a6550a4e Minor refactoring 2017-06-03 14:43:31 +02:00
Roi Martin
404f5bdde2 Rewrite autocompleteProcessPath() 2017-06-03 14:43:31 +02:00