Commit Graph

14081 Commits

Author SHA1 Message Date
Vlad Ivanov
bb20c4592a cmd_print: refactor excess macro usage (#6903) 2017-03-08 12:34:19 +01:00
Giovanni
7e48260b04 Fixed SIGSEGV, fixed heap buffer overflow and UAF in the ASN1 code 2017-03-08 12:32:44 +01:00
pancake
91016693cb Avoid 100% cpu usage in Linux debugger 2017-03-08 12:31:43 +01:00
Giovanni
43532031c4 Fixes for windows and some are also global (#6936) 2017-03-08 08:49:31 +01:00
Nevsor
4fe2a01f74 use op.stackptr instead of op.val for stack frame size guessing. (#6933) 2017-03-08 08:44:34 +01:00
alvarofe
740586e269 Update uncristify config file 2017-03-07 23:22:24 +01:00
Srimanta Barua
21e051fafe get_pc_from_stack for computed refs 2017-03-07 20:39:30 +01:00
pancake
2b779f92bb Fix uninitialized var in mips analysis 2017-03-07 20:33:20 +01:00
Rene Laemmert
a4191fc37c Add on*, file.offset and file.info to be able to save projects for files opened with -n -m (#6928) 2017-03-07 20:08:02 +01:00
xarkes
a9715e5e50 Fix #6927 - Added info about loaded config files when R_DEBUG is set 2017-03-07 20:06:27 +01:00
Giovanni
5d669ed2f8 Improvement of iI for PE with signatures + refactoring (#6930)
* Improvement of iI for PE with signatures + refactoring
2017-03-07 15:54:22 +01:00
Roi Martin
a40343f2f0 Make spaces.c generic (#6931) 2017-03-06 23:23:40 +01:00
pancake
06dd26d74d Fix r2 -hh 2017-03-06 15:18:23 +01:00
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
Marc
e936da6fbe fix #6885 (#6887) 2017-03-03 10:56:56 +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