Commit Graph

10840 Commits

Author SHA1 Message Date
Maijin
f19b34edf8 Add kernel,processes,.. in types-windows 2016-10-26 00:23:42 +02:00
Maijin
4c915d909a aftm seek back to original offset fix #6007
aftm seek back to original offset fix #6007
2016-10-25 20:45:19 +02:00
Álvaro Felipe Melchor
046cc2532c specify row to start sorting with ~$[n] 2016-10-25 14:37:57 +02:00
Álvaro Felipe Melchor
aa5124905d fix oob str.c 2016-10-25 14:37:57 +02:00
Rene Laemmert
f40bc158f4 Function resolving when searching for calls Fix #1886
Function resolving when searching for calls Fix #1886
2016-10-25 14:31:48 +02:00
pancake
b5fa7848ff Fix null derefs related to izzzq 2016-10-25 13:02:35 +02:00
pancake
0e5f39e4ae Implement inverse sort order and fix regression 2016-10-25 12:39:36 +02:00
pancake
d45999d10e Implement column sorting in RCons.grep 2016-10-25 12:03:55 +02:00
Álvaro Felipe Melchor
a2befc8adc Enhance performance in r_anal_fcn_get_in() using tinyrange and sorted adds
* added sorted parameter in r_list
* use r_list_sort in r_range_sort
* some clean up
* added is_data into RBinSection
* use tinyrange by default to improve speed
2016-10-25 01:12:06 +02:00
Francesco Tamagni
f41f74c527 Fix #4497 - Recursive function emulation 2016-10-24 14:31:03 +02:00
Sven Steinbauer
52cc4dfe95 Move Z80 non-commercial to r2e (#6015)
* Move z80 non-commercial to r2e

Rename z80-cr to z80 as a consequence as it will be the default z80 disassembler

* Add GPL z80 assembler back in

* Fix Clang build
2016-10-24 13:21:36 +01:00
Moritz Eckert
54539a9eb4 Fix pd -N issue, with correct offset for bw-disassembling (#6016)
* Correct offset for backwards disassembling with pd -N
Fix #5879

* Fix typo in comment
2016-10-24 12:11:42 +02:00
Álvaro Felipe Melchor
0cd32b4090 fix build 2016-10-24 11:58:35 +02:00
Álvaro Felipe Melchor
995faf7289 aim to fix regression 2016-10-24 11:54:17 +02:00
Sven Steinbauer
aa5fd3253c Update and fix LGPL Z80 disassembler (#6009)
* Fix dd IX instructions

* Fix segfault for dd and de ops

Although only seemed to happen on OSX, not on linux.

* Fix ed op

* Remove invalid instruction "in f, [c]" which is not referenced in
http://clrhome.org/table/

* fix bad offsets to ops following removed one

* Fix fd ops with bad type flags

* Fix ed and fdcb ops

Remove debug prints
2016-10-24 10:28:59 +01:00
Francesco Tamagni
39eeb5eeef Set zf on arm (16 / 32 bits) compare (#6024) 2016-10-24 11:17:59 +02:00
pancake
586e8e685f Fix disasm lines glitch 2016-10-24 10:48:25 +02:00
Riccardo Schirone
c34865cdbe Add some libc functions to types info (#6013) 2016-10-24 00:57:36 +03:00
oddcoder
20c97cb778 making .cc part of function definition optional (#6020) 2016-10-24 00:41:53 +03:00
b1ack0wl
17666398fa Added iertutil.sdb.txt and urlmon.sdb.txt Fix #6010 2016-10-23 19:45:07 +02:00
Maijin
09ea59c6ba Type matching in aaaa 2016-10-23 19:44:27 +02:00
Maijin
8b778cf415 Add wldap32.sdb 2016-10-23 17:43:23 +02:00
pancake
02950398a9 Add utf8 rune support for RCons.canvas 2016-10-21 01:24:40 +02:00
pancake
bc9712daf4 Fix regressions 2016-10-20 20:59:03 +02:00
Giulio De Pasquale
69ecf6f528 Added early returns (#6002) 2016-10-20 18:58:57 +02:00
pancake
35d9eef757 Fix 20 more covs (divBy0, dbl3, negidx, bufovr, ..) 2016-10-20 15:39:36 +02:00
pancake
be9df39f6f Fixed 40 null derefs reported by coverity 2016-10-20 15:02:25 +02:00
pancake
7a1b6871d9 Fix a bunch of outstanding coverities 2016-10-20 14:11:02 +02:00
pancake
91f3a729bd Fix possible doublefree in r2 (thx @joxeankoret) 2016-10-20 13:05:58 +02:00
Markus Lottmann
c5f049a8da Rework of X86_INS_XADD. It is now basically an X86_INS_XCHG + add. (#5996) 2016-10-20 01:54:43 +02:00
Jack Baker
98dcb1cde5 Fix integer size in opcode type attribute (#6000) 2016-10-20 01:53:42 +02:00
pancake
ce6d84a02d Fix #5997 - Do not permit xrefs on invalid addresses 2016-10-20 01:53:00 +02:00
Álvaro Felipe Melchor
c237950200 Fix #5968 - search string when malloc://X + wx 2016-10-19 23:02:39 +02:00
Álvaro Felipe Melchor
19f054840f avoid fork and r_core_new in iz commands
Changed the code to use C API instead of forking rabin2 or create a new core
instance. Besides, izz handles string from raw binary (without RBin)
2016-10-19 23:02:38 +02:00
Álvaro Felipe Melchor
c5ce0d2140 clean up rabin2 2016-10-19 23:02:36 +02:00
Sven Steinbauer
4a2fba6168 Add segment reg support and numerous fixes FIX #5967 (#5995)
* Add support for seg registers

Support added for mov and pop instructions

[fs] is treated as [fs:0] which is not equivalent

Accepts sreg:[x] and [sreg:x] syntax

* Error if mov op reg sizes differ

also add support for 16bit register mov ops

* Improve segment register handling for mov op

* Fix opcode for 64bit instr with 32bits regs

* Refactor parsing of segment reg offset
2016-10-19 21:10:17 +01:00
Álvaro Felipe Melchor
34a49f094c Fix #3546 - Enhanced support for RCons line grep
Now ~: operator support ranges and negative values

~:-1 show last line
~:-2 show line before the last one
~:..3 same as ~:0..3
~:2..8 show lines from 2 to 8
~:2.. show lines from 2 to the end
2016-10-19 18:50:05 +02:00
pancake
995495ade4 Fix 1 byte write issue in io.http and io.tcp 2016-10-19 15:16:14 +02:00
Álvaro Felipe Melchor
e3e31c51c7 clean I.buffer when r_cons_push to avoid trash 2016-10-19 13:39:05 +02:00
Álvaro Felipe Melchor
a5db0d9486 clean up cons grep 2016-10-19 13:39:05 +02:00
pancake
fbd84145f5 Fix latest COVs and make tcp:// rw 2016-10-19 13:19:30 +02:00
pancake
42feca7a3b Fix #5974 - reflines not shown for last disasm line 2016-10-19 11:47:47 +02:00
pancake
5fcee5d712 Implement wts to send data to socket 2016-10-19 03:36:59 +02:00
pancake
f80685c259 Fix #5992 - Honor ^C in tcp:// 2016-10-19 03:10:48 +02:00
Álvaro Felipe Melchor
258e12fdd8 Fix oob write when r_cons_pop 2016-10-19 02:09:14 +02:00
Álvaro Felipe Melchor
27d3d3dbf0 Fix NULL derefence 2016-10-19 01:09:14 +02:00
Álvaro Felipe Melchor
267d804741 Fix regression 2016-10-19 00:36:14 +02:00
Álvaro Felipe Melchor
44d9048169 Fix #5986 - use RStack in r_cons_push/pop
clean up cons and stack code
extend RStack to have free function
use RStack in r_cons_push/pop
2016-10-19 00:11:05 +02:00
Álvaro Felipe Melchor
b7ab1dbc07 remove unused variables to avoid warnings 2016-10-18 21:29:15 +02:00
Gerardo García Peña
7cd67522e8 Code clean up. (#5988) 2016-10-18 17:00:08 +02:00
Gerardo García Peña
813361df4c Support for modifying the incoming value in operation RAnalEsilCallbacks::hook_reg_write(). (#5977) 2016-10-18 16:59:38 +02:00
pancake
18f0a3a1f3 Initial import of io.tcp + rsocket cleanup 2016-10-18 14:26:20 +02:00
pancake
0e18596099 Show instructions in /A and add /A[jq] 2016-10-18 13:09:25 +02:00
pancake
d2f3f6f5d7 Wip fix for #5937 - grep not working 2016-10-18 02:12:43 +02:00
pancake
c39266beb7 Add atoi in default anal types 2016-10-18 02:09:45 +02:00
pancake
8a7262ca32 Add IS_UPPER and IS_LOWER macros 2016-10-18 02:09:05 +02:00
pancake
27c60ea634 Fix crash in macros 2016-10-18 02:08:53 +02:00
pancake
1f2f3f2394 Honor varsub and relsub with asm.ucase for parse.arm 2016-10-18 01:49:32 +02:00
pancake
daafeda5e1 Fix call xrefs in arm+thumb 2016-10-18 01:08:52 +02:00
pancake
22dddd9704 Fix #5975 - Honor asm.varsub and asm.relsub with asm.ucase 2016-10-18 00:55:10 +02:00
pancake
cbf1b2ddb0 Implement project upgrading and remove old code 2016-10-18 00:40:55 +02:00
pancake
5a2cb343c1 Implement prj.zip and fix prj.git 2016-10-18 00:15:51 +02:00
pancake
c80f0a1ac8 Fix #5141 - Initial support for prj.git 2016-10-18 00:07:31 +02:00
pancake
9f4c8768a7 Implement prj.files and fix some bugs in project listing and saving 2016-10-17 23:58:39 +02:00
pancake
0811234588 Dont fuck with old capstone 2016-10-17 17:19:43 +02:00
pancake
1ed039610e Projects are now completely contained inside a single directory
- Ease GIT/GPG integration
2016-10-17 16:59:16 +02:00
Sven Steinbauer
f6b0ba574b Fix for issue #5976 (#5979)
Check that register is not memory i.e. [eax] to generate correct opcode
2016-10-17 15:45:38 +02:00
Maijin
31ff46507b typo in windows-type 2016-10-17 14:49:58 +02:00
pancake
ae1405d7c0 Handle ~?* to make travis happy 2016-10-17 14:42:49 +02:00
Maijin
b386477deb Add WORD and PADDR in types-windows
Add WORD and PADDR in types-windows
2016-10-17 14:36:05 +02:00
pancake
990620feea Fix #5978 - Fix segfault in types 2016-10-17 14:09:10 +02:00
pancake
dd8ccc7b13 Honor vim command 2016-10-17 13:11:46 +02:00
Maijin
98ea86a59a Add various symbols in bin_nes 2016-10-16 23:36:22 +02:00
pancake
645aea9302 Honor bin.strings 2016-10-16 02:57:08 +02:00
pancake
cea2c80d56 Show flags in dm, add dmq and add resolver in rnum 2016-10-16 02:34:54 +02:00
pancake
bee054b1ec Rename recursive help from ?? to ?* 2016-10-16 01:46:03 +02:00
pancake
a93bc5b4d3 Fix dupped output in recursive help 2016-10-16 00:57:24 +02:00
pancake
10ce12112a Fix #5952 - Handle scr.null in projects 2016-10-16 00:54:06 +02:00
pancake
9f588e8b29 Implement support for recursive help ?? 2016-10-16 00:48:39 +02:00
pancake
e85f0c0e0e Implement experimental recursive help for d?? 2016-10-16 00:39:54 +02:00
pancake
bf6ea1dcc0 Fix crash when loading truncated mach0s 2016-10-15 23:54:17 +02:00
pancake
18fb6a2aac Implement http.log and http.logfile 2016-10-15 23:42:12 +02:00
pancake
01d1de4f7b Fallback to oo when ood fails 2016-10-15 21:08:54 +02:00
oddcoder
a28bcb4192 saving/retireving functions stack in project file (#5973) 2016-10-14 22:54:00 +03:00
Maykeye
486434036a Fix #5960 - What to push shall be put on stack before changing sp 2016-10-14 12:03:24 +02:00
Gerardo García Peña
2f87024db4 Added SBR opcode. 2016-10-13 16:25:52 +02:00
Gerardo García Peña
c82c411724 New instruction SBIW. 2016-10-13 16:25:52 +02:00
Gerardo García Peña
452e2fdb77 Added new AVR instructions (SBI, SBIC, SBIS) and new op family class. 2016-10-13 16:25:52 +02:00
Gerardo García Peña
803f4f2a4f SBCI and SBI opcodes. 2016-10-13 16:25:52 +02:00
Gerardo García Peña
a26964eb7a Added OR, ORI and ROR. 2016-10-13 16:25:52 +02:00
Maijin
13dfa3c9e4 Fix #5860 - axtj relsub (#5964)
Fix #5860 - axtj relsub
2016-10-13 12:17:44 +02:00
pinkflawd
d4588f31c0 Symbols mfc42/mfc42u (#5962)
* Symbols added

* Symbols added
2016-10-13 11:24:47 +02:00
szt
45bbca4e29 Fix "orr" in ARM assembler (#5958)
https://github.com/radare/radare2/issues/5954 fix
2016-10-12 23:33:53 +02:00
Marc
42a45a2a19 fix Dalvik flags test (#5957) 2016-10-12 22:32:31 +02:00
pancake
503cb6219d Add more ARM cpu subtypes for mach0 2016-10-12 03:07:51 +02:00
Álvaro Felipe Melchor
56d708562e Fix another regression 2016-10-11 17:56:14 +02:00
Álvaro Felipe Melchor
f7396bc600 Fix regression 2016-10-11 17:36:25 +02:00
Álvaro Felipe Melchor
45f193bb6a Fix ELF support for 32-64bit relro relocations, fix negative allocation in PE and null deref 2016-10-11 14:32:35 +02:00
Marc
65af037198 Fix Dalvik imports and symbol ordinals 2016-10-11 14:28:46 +02:00
Gerardo García Peña
b2ad3302e2 Gif me moar Anal AVR Opcodes (#5943)
* CPI, CPC and RCALL bugfixed.
* RJMP bugfixed
* Added LSR and MOV. Index table resorted again.
* Added MUL, MULS and MULSU.
* Implemented NEG opcode.
* By default copy values from atmega8
2016-10-11 12:09:10 +02:00