12686 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
7fb6a3c1ac Update www-m from git 2016-10-21 01:28:05 +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
pancake
8cd132a3d0 Update /m from git 2016-10-20 05:03:27 +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