12659 Commits

Author SHA1 Message Date
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
Á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
stefan
4102e149a4 Added buggy fortunes 2016-10-18 11:24:55 +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