573 Commits

Author SHA1 Message Date
Álvaro Felipe Melchor
050c2fe9f8 Fix some COVS 2015-07-25 01:26:54 +02:00
David Kreuter
fecb914de8 CID 1216466 Dereference before null check /libr/bin/p/bin_dex.c 2015-07-15 00:39:07 +02:00
pancake
bdfbc4f076 Fix several COVs, and build issues related to appveyour 2015-07-13 11:21:21 +02:00
Jonathan Neuschäfer
ecf6792318 Fix #2927 and random code cleanups
- asm_dcpu16: remove an obsolete comment
  It was obsoleted in 5285d1bdea8e.
- Indentation fixes
- fix a few typos
- remove "#define NEW_ESIL"
- move comment about r_bin_filter_name to the right place
- README.md: Add V810 to the list of supported architectures
- Also, de-duplicate LH5801
- Add attribution to randomart.c, fixes #2927
2015-07-12 19:20:36 +02:00
Jonathan Neuschäfer
523aa3af5c add .version to all plugins 2015-07-12 19:05:33 +02:00
pancake
a04ead741a Enhace the ARM Thumb pseudo disassemble 2015-07-09 02:00:16 +02:00
pancake
6587c7afab Fix overlapped constant pool region in dex 2015-07-09 01:38:43 +02:00
pancake
7a937e46e1 Fix warns and a cov in arm64 2015-07-08 17:06:55 +02:00
pancake
38defdce3b Fix dex parser segfault and binclass output 2015-07-06 02:50:36 +02:00
pancake
d054008b17 Implement class methods for DEX and make icj 2015-07-06 02:38:54 +02:00
pancake
c10bcdfbea bin.filter class names and hashify raw bytes in name 2015-07-06 00:58:51 +02:00
pancake
c6daf8549f Fix listing classes for DEX binaries 2015-07-06 00:05:03 +02:00
pancake
6ed4d5a94b Comment the mach0's symtab parser, rabin2 -u and more 2015-07-05 03:25:20 +02:00
pancake
cfb8de7c4d Fix DEX entrypoint address to section.code 2015-07-05 00:11:42 +02:00
pancake
cdf56a63f8 Add bin.filter=true config var to avoid dupped symbols and imports 2015-07-04 23:42:48 +02:00
Jeffrey Crowell
be0c7cf457 fix crash on r2 -d empty_file
closes #2846
2015-06-27 11:49:39 -04:00
pancake
b10aa5a0a2 Initial support for loading Android ART binaries 2015-06-17 11:14:41 +02:00
Oleksii Kuchma
0c57a435fc Rewrite MZ bin plugin
* Add const modifiers, fix function call style
* Add checking and using dos_file_size
* Fix number of arguments in load_bytes.
* Add check for NE, LE and LX executables.
* Fix function declaration for btree_traverse.
2015-06-08 22:18:21 +02:00
Álvaro Felipe Melchor
78d5a78609 Fix COVS 2015-06-04 21:27:41 +02:00
pancake
c0b1e5fad3 Fix iOS build 2015-06-04 04:30:48 +02:00
jvoisin
7c096bb1f4 Fix various coverity issues 2015-06-01 21:10:37 +02:00
pancake
22c9b3f0fe Fix #2628 flags offset hashtable issue and Fix #2607 ELF relocs 2015-05-29 00:51:57 +02:00
ampotos
313a4f7fca Fix all problem on remaining in the omf loader except the baddr of the
entry point (because the baddr display is compute with vaddr - paddr
and this value if incorrect for omf file)
2015-05-26 17:55:24 +02:00
Jeffrey Crowell
1fab1e2338 fix relocation on amd64 elf
closes #2607
2015-05-23 10:37:19 -04:00
pancake
e26f86d654 Fix null deref issue in last mach0 commit 2015-05-23 11:43:32 +02:00
pancake
2353737e17 Fix #2602 - Detect Canary and Go in MACH0 binaries 2015-05-23 10:55:44 +02:00
ampotos
b764fb8d93 Fix syntax rules
Fix potential segfault when a malformed omf file is loaded
(malformed omf are going to be pr on radare2-regression)
2015-05-23 10:12:56 +02:00
pancake
d59de8f570 Fix indentation in OMF plugin (-111 LOC) 2015-05-22 13:23:26 +02:00
ampotos
44fd8b2555 omf loader is working but in 32bits omf file the vaddr take the value of the paddr in sections and for both 16 adn 32 bits file vaddr is take as offset to pd command instead of paddr (or i misunderstand how it suppose to work) 2015-05-22 12:47:19 +02:00
pancake
a168075c35 Fix for ASLR ELF entrypoint 2015-05-19 10:58:40 +02:00
pancake
a295e9a6d5 Enforce DEX null checks and fix fuzz regressions 2015-05-11 20:21:08 +02:00
pancake
c687641b17 Fix rbin regression by fixing compiler warnings 2015-05-11 20:04:00 +02:00
pancake
4ced532d69 Tons of fixes and cleanups to make the java tests happy 2015-05-11 18:23:38 +02:00
pancake
b4a11cb3cf Fix main symbol align for thumb 2015-05-06 02:42:35 +02:00
pancake
1bdf7430a8 Handle thumb on MACH0 binaries in a better way + tests 2015-05-05 11:44:00 +02:00
pancake
64103c815c Fix #2466 - Several crashes in XBE loader 2015-04-29 23:40:05 +02:00
pancake
f9300f4ba5 Fix pebble initialization warnings 2015-04-29 11:33:33 +02:00
pancake
c2a0949e0e Fix #2437 - Fix invalid Pebble app header crash 2015-04-25 04:12:55 +02:00
Anton Kochkov
0ca9630806 Add TE header pf parsing 2015-04-19 14:29:55 +03:00
Anton Kochkov
7e79b198b1 Fix some more Coverity issues
Fix CID 1171365
Fix CID 1211169
Fix CID 1230038
Fix CID 1295063, 1295062, 1295061
Fix CID 1295070
Fix CID 1295068
Fix CID 12950067
2015-04-19 04:53:08 +03:00
Anton Kochkov
1479aeca8e Fix a few Coverity issues
Fix CID 1205204
Fix CID 1171365
Fix CID 1135001
Fix CID 1134921
Fix CID 1134848
Fix CID 1134840
Fix CID 1134824
Fix CID 1267983
Fix CID 1230038
2015-04-19 03:15:29 +03:00
pancake
997dda6e5b Add support for iOS-simulator and static-OSX builds 2015-04-14 17:14:43 +02:00
pancake
2aecde26d2 Tons of free candy. See details below:
- Fix arm-thumb ESIL for the SUB instruction
- Handle Java imports as symbols in code analysis
- Invoke Java instructions reference the imports now
- Fix 71 crashes reported by jn
- Affected bin modules: elf, mach0, java, te, pe, dex
2015-04-13 00:57:32 +02:00
pancake
f9d6ff2f2b Fix some travis warnings 2015-04-12 18:00:40 +02:00
pancake
acd5e4b999 Fix dalvik<->dex class and method name resolutions 2015-04-12 05:13:51 +02:00
jvoisin
882a43994c Two simple coverifix 2015-04-11 21:07:12 +02:00
Anton Kochkov
2e8363fdb6 Fix more leaks 2015-04-11 13:46:33 +03:00
pancake
f8d3e50b57 Some aesthethic changes for REIL 2015-04-11 05:18:00 +02:00
pancake
3a214bcfdb Another fix for DEX 2015-04-11 05:04:51 +02:00
pancake
6ab06a15ba Various fixes for DEX and Dalvik support 2015-04-11 04:33:37 +02:00