12002 Commits

Author SHA1 Message Date
Maijin
7938640445 Move all /t/ from r2 to r2r 2016-07-27 19:19:30 +02:00
Maijin
90530319d7 remove more util/t 2016-07-27 18:57:43 +02:00
Maijin
34dfdd6fdf remove more util/t 2016-07-27 18:05:25 +02:00
Maijin
3894935a06 remove more util/t 2016-07-27 17:18:45 +02:00
Maijin
80171b0dc5 Cleaning r_util.h 2016-07-27 16:55:20 +02:00
Alexandru Caciulescu
fd76792386 All /R commands cache gadgets and use rop.db (#5398) 2016-07-27 16:19:33 +02:00
Maijin
da041b1b74 Delete useless r.h
Delete useless r.h
2016-07-27 16:19:30 +02:00
Ahmed Mohamed Abd El-MAwgood
2dbb3d8fc6 Calling convention profiles in SDB (#5358) 2016-07-27 13:50:14 +02:00
Sven Steinbauer
ca96796268 Prevent possible max shift value (#5391)
Protect against shifts that might be bigger than 31
2016-07-27 13:21:36 +02:00
pancake
4831b504bc Use proper relative includes in r_util.h 2016-07-27 12:55:05 +02:00
pancake
f5a73b73d7 Remove dupped hex2int function 2016-07-27 12:51:55 +02:00
pancake
f2c0ad9edb Fix null de-refs in GNU C++ demangler 2016-07-27 12:22:49 +02:00
Álvaro Felipe Melchor
f1236563f3 Refactor RBin.Xtr to speedup dyldcache extraction
* Refactoring RBinXtr API.
* Cache sub-fat bins in sdb to save memory.
* Fix the error while loading sub-bins of different archs.
* more work into xtr to fix the remaining tests
2016-07-27 11:01:57 +02:00
Álvaro Felipe Melchor
9e412a9048 fix again the crash in nz 2016-07-26 23:08:29 +02:00
Álvaro Felipe Melchor
5d493c1950 refix crash in nz assembler 2016-07-26 22:37:20 +02:00
Álvaro Felipe Melchor
8a0b1183c7 fix crashes in radiff 2016-07-26 22:34:00 +02:00
Álvaro Felipe Melchor
3c8066ce57 fix crash in nz assembler 2016-07-26 22:08:25 +02:00
pancake
e62aac49f3 Update C++ demangler from the latest GNU binutils 2016-07-26 18:57:57 +02:00
pancake
2dda628da1 Null terminate array of instructions in x86.nz to fix a crash 2016-07-26 18:46:48 +02:00
pancake
d46fa6ddd5 Implement waitfor:// in io.debug. Fixes #5380 2016-07-26 17:23:50 +02:00
pancake
102261ba37 Implement pidof:// URI handler in io.debug 2016-07-26 17:16:56 +02:00
pancake
9b053064fd Fix dmp command for OSX and make it work with 1 parm instead of 3 2016-07-26 16:54:18 +02:00
pancake
2638b07571 Fix r2 -d mame on OSX asm.bits=16 problem 2016-07-26 15:30:26 +02:00
pancake
2a2226978e Fix dmi on OSX and minor cydia tweak 2016-07-26 15:17:07 +02:00
pancake
30bdc476a1 Some cleanup in xnu.debug 2016-07-26 04:15:23 +02:00
pancake
9500455c87 Remove noisy error message 2016-07-26 00:33:28 +02:00
pancake
850d8818f7 Update capstone from git 2016-07-25 21:29:08 +02:00
pancake
b342358513 Fix x86.nz warnings from clang 2016-07-25 21:26:35 +02:00
Sven Steinbauer
e436e66428 Kill dead code (#5378)
Fix dead code warnings from coverity scan
2016-07-25 21:24:29 +02:00
pancake
36af078830 Fix regression 2016-07-25 21:24:19 +02:00
pancake
085a156a86 Fix #5334 - add support to analyze interrupt handler functions 2016-07-25 20:15:50 +02:00
Sven Steinbauer
c5635eec3c Fix error on invalid reg (#5374)
some instructions wouldn't error on invalid source or dest values.
Set valid reg to false by default and only set true if actually valid
2016-07-25 18:52:58 +02:00
pancake
e829c007fd Fix #5371 - format string in blocksize error 2016-07-25 18:50:14 +02:00
Sven Steinbauer
887f5bfa8c Support extended 64bit registers [Fix #5364] 2016-07-25 18:02:46 +02:00
Paul
6b9bc8560e iS[j|*|q] [hash] fix 2016-07-25 14:48:49 +02:00
Kodoque1
e582ab8dbb Correction for #5349 (#5369)
* q[y/n][y/n] options added

* Adding crowell remarks

* checking beginning whitespace and fixing else if

* updated

* cleaning update
2016-07-25 10:37:51 +02:00
sdlf
96858ac1e9 Some improvements for arm pseudo code (#5370)
* Fix logical typo scanning for separator

The test would only accept ] as a separator. This was ok for
expressions like:

  r2 = [pc + 8]

But would strip the terminating ) in:

  if (r1 == 0

* arm/pseudo: fix typo /halt/half

* arm/pseudo: fix spacing before byte/half

it is now consistent with the other instructions and
have a space after the '=' also consistent with vmov/vdif.

* arm/pseudo: fix ldr/str

The following str instruction:

  str r0, [r4, 0xc]

Would produce the broken pseudocode:

  [r4 + 0xc] = r0 + 0xc]

With this change we get the expected:

  [r4 + 0xc] = r0

We need to handle 2/3 parameter instructions
differently for ldr/str. By doing this the
special case checking for [ is no longer needed.

* arm/pseudo: add a couple of XXXXs variants

these were arbitrarily selected based on the sample
i have been looking at.
2016-07-25 05:16:51 +02:00
pancake
6dfba715b1 Fix #5361 - realtime hexview edit mode 2016-07-25 05:14:48 +02:00
pancake
6c549b424a Remove x86.tab from r2 master (moved to extras) 2016-07-25 03:47:47 +02:00
pancake
845bfebc9e Fix null deref in x86.nz 2016-07-25 03:42:28 +02:00
pancake
91fe80f4ca Fix avr's rjmp disasm, analysis and esil 2016-07-25 03:19:16 +02:00
pancake
0cffcb981e Fix vsize=0 issue in PE parser (fixes asm68k.exe issue) 2016-07-25 00:03:20 +02:00
Dreamdance61
9226290930 AVR: Correct duplicate IOPort UCSRA in ioports.c (#5366) 2016-07-24 11:16:27 +02:00
Maijin
22de895ef5 Rename CSR disasm/anal into XAP4 Fix #5355 2016-07-23 00:41:42 +02:00
Sven Steinbauer
996e767e0d Refactor nz assembler
Refactor nz assembler
2016-07-22 18:33:54 +02:00
Álvaro Felipe Melchor
d52dfbdfe6 added help message into pv 2016-07-22 00:48:52 +02:00
Owlz
1d97857b67 Adding "8" modifier in doc
Adding in reference to the "8" modifier for pv.
2016-07-22 00:20:09 +02:00
Álvaro Felipe Melchor
8059f4be23 fix build 2016-07-21 23:15:52 +02:00
Kamil Rytarowski
6ad9abb0b1 Fix NetBSD build in r_debug_native_pids() 2016-07-21 23:00:18 +02:00
Álvaro Felipe Melchor
01fe87d467 fix coverity and some coding style 2016-07-21 22:56:58 +02:00