11896 Commits

Author SHA1 Message Date
xarkes
4d7767883b Added PE overlay flag to r2 -nn and in iI (#6926) 2017-03-06 12:00:44 +01:00
alvarofe
f591ab569f Fix regression in mach 2017-03-05 23:15:10 +01:00
Roi Martin
219f3cf875 Merge pull request #6924 from jroimartin/zign-issues
Add support for multiple-hit signatures (fixes issue #3448)
2017-03-05 23:12:34 +01:00
alvarofe
cef226daad Fix #6918 - oob write in bin_dex.c 2017-03-05 22:35:06 +01:00
Roi Martin
60a11ff074 Add support for multiple-hit signatures
Fix issue #3448.
2017-03-05 21:33:22 +00:00
Roi Martin
425f8aff4a Refactoring of z/ zs 2017-03-05 21:33:22 +00:00
alvarofe
c79f0e9589 Fix oob read in syscall 2017-03-05 22:30:53 +01:00
alvarofe
4ea757afc9 Fix #6915 - oob read in mach0 2017-03-05 21:08:27 +01:00
alvarofe
87bc1e8fd4 Fix #6913 - oob read in r_anal_type_func_guess 2017-03-05 20:55:02 +01:00
alvarofe
4d2789fe7b Fix regression introduced in md5 with len == 0 2017-03-05 20:44:09 +01:00
alvarofe
17355cbe3c Fix regression in arm symbols 2017-03-05 20:26:58 +01:00
Jeremy Goldstein
70c2bb1346 Added ARM Thumb ADR instruction to calculate the correct offset
From the PC and also be an LEA type of instruction to correctly resolve references.
2017-03-05 17:10:50 +01:00
Jonas Konrad
e982ef280a Improve ESIL output for various ARM arithmetic instructions [Fixes #6884] (#6893) 2017-03-05 17:08:12 +01:00
dx
27e7d26e96 Fix w0 command 2017-03-05 16:44:15 +01:00
Jonas Konrad
aafbd4f42b Fix irj output for long symbol names (#6899)
sdb_fmt is limited to 256 chars, which produced invalid json (missing ")
with symbol names longer than 254 characters.
2017-03-05 16:39:44 +01:00
xarkes
ab7b4cff6d Added .size suffix while exporting bin info to flags
* Added .size suffix while expoting bin info to flags
* Removed useless elf size flag (-nn) and set normal flag size
2017-03-05 13:21:56 +01:00
alvarofe
980b3468b6 Fix #6912 - oob read in elf 2017-03-05 13:11:38 +01:00
alvarofe
b13529cc23 Fix #6910 - oob read in vsf file format 2017-03-05 13:06:56 +01:00
alvarofe
a1e96c8103 Fix #6906 - oob read elf
Wrong check in read_reloc
2017-03-05 12:52:18 +01:00
alvarofe
a5c13c464a Fix #6905 - oob read in dex
Added new size parameter into uleb functions
2017-03-05 12:45:06 +01:00
Roi Martin
7afeec52d7 Minor fixes on errors. Fix test 'asm.emu in project' 2017-03-04 22:27:05 +01:00
Roi Martin
bc527a9aff Refactoring and multiple fixes in zg, zG (#6896)
* Refactoring and multiple fixes in zg, zG

* Simplify fcn_zig_generate_*()
2017-03-04 10:21:06 +01:00
Wladimir J. van der Laan
10d1df6dd2 Update RiscV opcodes for disassembly (#6897)
* riscv: Update opcodes from binutils-gdb

Update to riscv opcodes from
[riscv-binutils-gdb](https://github.com/riscv/riscv-binutils-gdb/commit/08219b2)
git 08219b2.

* riscv: set no_alias=false while disassembling

I'm not sure what the rationale was for setting no_alias to true
originally. But setting it to false means that shorter and (usually)
better readable aliases for instructions will be shown:

Before               |  After
---------------------+------------
`c.jr ra`            | `ret`
`addi a5, zero, 123` | `li a5,123`
`jal zero, 0x101dc`  | `j 0x101dc`

And so on.
2017-03-04 10:18:45 +01:00
pancake
d36604e099 Fix trailing spaces in iHq and use cb_printf instead of eprintf for ELF 2017-03-03 11:11:58 +01:00
Giovanni
347a392cc9 Fix #3499 - AVR-DES + DES Refactoring 2017-03-03 11:00:07 +01:00
Roi Martin
8734b3ea4b Fix findNextNumber() in r_parse when scr.color=false (#6888)
Fix #6752
2017-03-03 10:58:36 +01:00
Q
b7db017fa5 Fix multiple definition error in static builds (#6891)
Rename conflicting global names 'fields' array in AArch64
and 'fields' function in MachoO
2017-03-03 10:53:41 +01:00
pancake
77f0f32668 Add dummy -H headers for ELF32 and ELF64 2017-03-03 10:49:41 +01:00
dogtopus
247a8df1e7 Add getimmed8, fix #6841 (#6892) 2017-03-03 08:24:24 +01:00
pancake
8ab0befbd7 Remove assert in GNU's arm64 disassembler 2017-03-03 01:30:56 +01:00
Giovanni
780b834e61 Fix #6882 - tricore byte copy 2017-03-03 00:10:32 +01:00
h4ng3r
f41e941341 Fix #6885 - oob write in dalvik_disassemble 2017-03-02 22:51:57 +01:00
alvarofe
3cc8604583 Fix crash on io when freeing core->files 2017-03-02 22:47:59 +01:00
pancake
34089ab363 Fix entrypoint in wasm and add some uleb128-based instructions 2017-03-02 18:45:10 +01:00
Giovanni
aaa46baa48 fixed tricore bug (#6883) 2017-03-02 17:56:43 +01:00
Giovanni
fd38170338 Refactoring CMS/PKCS#7 and better use of the memory
Refactoring CMS/PKCS#7 and better use of the memory
2017-03-02 16:10:32 +01:00
pancake
a41a8252ae Initial import of the WIP support for WebAssembly (bin + disasm) 2017-03-02 14:42:05 +01:00
thelightnet
700e7734ba Fix #6860 - r_str_glob 2017-03-02 11:55:33 +01:00
Ferran Celades
eed0053de8 Fixed some commands help #6766 2017-03-02 10:39:11 +01:00
Francesco Tamagni
db1b034dd2 Fix aaa - let aac pass to run from $S (#6873) 2017-03-02 10:37:39 +01:00
pancake
55f16419ae Fix build 2017-03-02 03:57:14 +01:00
pancake
0459cf8625 Dummy -H fields for PE 2017-03-02 03:53:43 +01:00
Giovanni
272786852b Fix PPC ESIL Emulation 2017-03-02 00:29:29 +01:00
Roi Martin
d82235285c Implement "rabin2 -L [plugin]" and command "iL [plugin]" (#6875)
* Fix r_str_cmp to follow the documented behaviour

Now r_str_cmp behaviour is consistent.

Before:
* Returns true if both pointers are equal.
* Returns false if the strings are equal.

Now:
* Returns true if both pointers are equal.
* Returns true if the strings are equal.

* Implement "rabin2 -L [plugin]"

- Display plugin info in a proper structured way for humans with
  "rabin2 -L [plugin]".
- Fix current "rabin2 -L [-j]" output.
- Allow to specify "-j" before or after "-L".

Fix issue #6861.

* Implement command iL [plugin]

* Fix json output in rabin2 -L and iL
2017-03-01 20:05:40 +01:00
h4ng3r
68338b71a5 fix #6872 2017-03-01 15:27:14 +01:00
Rakholiya Jenish
5af263c821 Fix #4837 - Support punycode 2017-03-01 09:56:10 +01:00
Francesco Tamagni
cf4d24e7e2 Fix #6868 - avr bin check_bytes (#6870) 2017-03-01 09:52:43 +01:00
radare
93e11e9d80 RHash cleanup 2017-03-01 09:02:28 +01:00
pancake
0744e33442 Fix #6563 - new command pdk to disasm a klass 2017-02-28 02:55:00 +01:00
pancake
5057cb6fb6 Update ABI for debug, core and anal plugs 2017-02-28 02:29:54 +01:00