Commit graph

735 commits

Author SHA1 Message Date
jvoisin
fbe8b6d938 Once again, clang-analyzer strikes! 2015-09-04 15:12:42 +02:00
jvoisin
dba909b1dd Fix yet-another-batch of clang-analyzer issues 2015-09-01 23:24:11 +02:00
pancake
58d6827bbb Honor R_SYS_BITS in r2 - 2015-09-01 03:41:08 +02:00
jvoisin
e0e170c3c5 Fix various clang-analyser issues 2015-08-28 18:29:31 +02:00
Riccardo Schirone
18eaf1c8c5 format/elf: fix paddr2vaddr and vaddr2paddr conversions 2015-08-26 18:30:33 +02:00
Riccardo Schirone
af20357c2a util/str: fix order of mrwx permissions/flags 2015-08-26 15:25:32 +02:00
Riccardo Schirone
eeef82c2b8 bin: use R_BIN_SCN_MAP flag when a section should be mapped by IO
- io/section: filter sections by looking at R_IO_MAP flag
- util/str: consider (m)apped flag when printing/parsing srwx info
2015-08-26 14:12:46 +02:00
Riccardo Schirone
5663e41177 bin/format/pe: fix imports vaddr
the RVA in the PE header doesn't consider the base address, so we
have to add it in the vaddr field.
2015-08-23 23:33:00 +02:00
inisider
3b378c50ac some refactor and fix code style 2015-08-10 13:48:48 +02:00
inisisder
eca3a781c0 objc class parser code refactoring 2015-08-10 13:48:47 +02:00
inisisder
d8af00ea36 add parsing of objc classes from binary 2015-08-10 13:48:47 +02:00
yetmorecode
54a59efe1d Fixed #3057 - Incorrect physical size in ELF phdr* sections 2015-08-09 13:38:51 +02:00
Á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 5285d1bdea.
- 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
Anton Kochkov
1a481ca473 Fix possible segfault in ELF parsing 2015-04-11 02:14:13 +03:00
Anton Kochkov
5a0bde5a01 Coverity fixes 2015-04-11 01:29:28 +03:00
condret
375427cb8c fix 2 warnings, low hanging tits 2015-04-08 13:20:26 +02:00
pancake
2cb6afd48b Fix crash in bin_fs reported by jn 2015-04-08 01:31:39 +02:00
ninjahacker
d1351cf836 Added initial zimg support 2015-04-06 22:31:06 -04:00
pancake
0b04317bdb Sdb memoization in RBin speedups DEX loading
Avoid some memdupping in the dex parser - needs more work
2015-04-06 00:59:55 +02:00
Jeffrey Crowell
29d583df60 fix some warnings 2015-04-01 21:10:49 -04:00
condret
2eec10e7b1 fix bin-load for gb 2015-03-29 00:50:13 +01:00
pancake
7292fbab40 Fix PE and Brainfuck crashes related to RBinInfo
- Fix warn in radiff2
2015-03-27 17:18:15 +01:00
pancake
dff11411cc RBinInfo is now dynamically allocated 2015-03-25 14:49:33 +01:00
pancake
f4e3f593d4 Add dexdump.sh to import DEX info into r2, VF now fits in screen
And 'C' toggles color! a use-after-free has been fixed too
And more instructions are now recognized by the analysis
2015-03-24 03:23:56 +01:00
pancake
515b2e77bc Fix about 40 COVs related to memleaks and buffer overflows 2015-03-21 01:27:54 +01:00
condret
afa5bb3c42 fix some gb-related stuff 2015-03-19 23:45:24 +01:00
condret
ce6dfda8f9 add basic mem-init info for gb 2015-03-18 15:16:17 +01:00
pancake
c03eff8af0 Fix memleak in previous commit 2015-03-14 03:47:35 +01:00
Jaume Delclòs Coll
b9c0efb926 Gameboy Advanced -> Game Boy Advance 2015-03-03 15:55:32 -05:00
pancake
5f9d275bb8 Support ELF ARM PLT and mark symbols as Thumb from RBin 2015-02-26 02:48:54 +01:00
jvoisin
a4ba5f64f5 Even more Coverifix 2015-02-19 00:27:00 +01:00
jvoisin
123a77c022 Coverifix 2015-02-11 19:05:28 +01:00
pancake
6c1bbe5607 Fix #2048 - DEX imports expose class name 2015-02-06 19:32:45 +01:00
pancake
33fcd7fbcf Enhacements for DEX sections and ignore methods at 0 (wip) 2015-02-06 18:53:11 +01:00
pancake
1ea6a79d81 Fix null deref when failing to load a fatmach0 2015-02-04 02:40:48 +01:00
jvoisin
249fb839fe Coverifix 2015-01-30 22:51:01 +01:00
pancake
d1a21cd059 Fix uninitialized access issue in bin.xbe 2015-01-29 02:14:09 +01:00
jvoisin
1a17b5b420 Coverifix++ 2015-01-27 16:03:18 +01:00
jvoisin
9681c6fcf7 More coverity 2015-01-25 14:35:46 +01:00
jvoisin
ce9ece1177 Coverifix++ 2015-01-16 00:56:54 +01:00
jvoisin
759e3b24b5 Fix two trivial warnings 2015-01-13 03:05:11 +01:00
jvoisin
4fd6ce62d5 Fix some gcc warnings 2015-01-13 02:07:44 +01:00
Julien Nabet
164bbc7333 Some cppcheck reports fixed:
(warning) Logical disjunction always evaluates to true: regnum < 32 || regnum > 31
(style) Same expression on both sides of '||'
(style) Same expression on both sides of '&&'
(style) Expression is always false because 'else if' condition matches previous condition at line 180
2014-12-28 04:20:14 +01:00
pancake
f495b5031a Handle ET_REL ELF relocs, asm.cpu for arm.cs: v8, mcortex 2014-12-28 03:53:39 +01:00
skuater
7c05d505a0 Fix symbol impot names(PE EXE) 2014-12-27 06:07:39 +01:00
pancake
eafb616765 Do not use sym.exp (by skuat) 2014-12-26 22:45:29 +01:00
inisider
f18988f21f fix pdb downloader 2014-12-23 15:06:42 +01:00
skuater
2ef956e2d5 Resolve PE import Ordinal names from RBin 2014-12-23 10:35:00 +01:00
pancake
49446b27c0 Fix #1848 - crash in dex parsing 2014-12-18 01:17:16 +01:00
pancake
5f42271ff4 Fix #1839 - Fix crash in dalvik flagname parser 2014-12-16 22:05:09 +01:00
pancake
391676dc39 Cleanup the pdb_downloader function (-40LOC) 2014-12-14 23:04:50 +01:00
pancake
262b0cfd55 A fix for a MACH0 crash 2014-12-11 19:57:01 +01:00
pancake
fa4df53077 Another overflow in DEX 2014-12-11 17:47:04 +01:00
pancake
aec5472781 Fix another DEX uleb crash 2014-12-11 17:43:33 +01:00
pancake
a0e811cfd2 Fix another DEX/uleb related crash 2014-12-11 17:39:23 +01:00
pancake
30d1b07b6d Fix another crash in DEX 2014-12-11 17:33:56 +01:00
pancake
acade3fee7 Fix more crashes on DEX 2014-12-11 17:21:15 +01:00
pancake
9e38b64f6a Enforce 64k method limit for DEX 2014-12-11 17:03:34 +01:00
pancake
d1585fafa1 Fix some PE crashes 2014-12-11 02:08:29 +01:00
inisider
155997598f Add initial support to download PDB files (NodeJS helper) 2014-12-10 17:01:32 +01:00
pancake
a8dc744f48 Fix #1811 - Corrupt ELF header crashes r2 - reported by @crowell 2014-12-09 04:19:16 +01:00
pancake
18ef89dfa0 Fix lot of overflows in the dwarf parser 2014-12-04 01:28:29 +01:00
pancake
6f011c840e Fix w32 build 2014-12-03 23:01:20 +01:00
pancake
3a31198ffd Fix #1702 - Revert and fix the dwarf/dex crashes related to uleb overflows 2014-12-01 23:44:20 +01:00
pancake
eeb539aab0 Fix warnings in pebble 2014-11-30 18:51:25 +01:00
pancake
e35d55e18a Add initial support for Pebble apps 2014-11-30 16:53:36 +01:00
Riccardo Schirone
aaa822f03b More work on mach0 format parser
* use segment instead of sections

	sections are optional. it should be better to rely on segments

* remove r_bin_mach0 prefix

	make the source code easier to read. considering this is a plugin, it's
	completely separated from other stuff and we can rename things without
	problems.

* remove MACH0_ prefix from static functions
* fix a mistake. we should check segs, not sects
* get right entrypoint also for LC_THREAD
* fix logic to retrieve entry offset/addr

	first it computes the virtual entrypoint address and then it finds the
	offset in the file through addr_to_offset
2014-11-24 11:57:54 +01:00
Riccardo Schirone
590a18ea23 libr/bin/format/mach0: check filetype in r_bin_mach0_get_baddr 2014-11-23 11:06:10 +01:00
Riccardo Schirone
c1441b6ef2 libr/bin/format/mach0: fix baddr 2014-11-23 11:06:09 +01:00
pancake
41b6f99ec1 Revert "Fix several crashes in dalvik. Thanks nightmare!"
This reverts commit f6440fc526.

Conflicts:
	libr/bin/dwarf.c
	libr/bin/p/bin_dex.c
2014-11-19 12:14:23 +01:00
pancake
8b58fe1ef2 Fix XBE loading and Yara tests 2014-11-19 00:42:57 +01:00
jvoisin
acd93d1b37 Fix some cppcheck warnings 2014-11-15 21:48:13 +01:00
pancake
c7e2edc6aa Remove reloc warnings from elf parser 2014-11-10 14:16:14 +01:00
pancake
b40bce8284 Fix all latest Coverity issues 2014-11-07 10:52:44 +01:00
pancake
0142915fb7 Minor code cleanup for the elf parser 2014-11-06 02:12:55 +01:00
pancake
0764d0bc15 Fix two crashes in the ELF parser 2014-11-05 17:02:08 +01:00
pancake
7af9bf009a Fix some more crashes for the Java CLASS and XBE RBin parsers 2014-11-05 02:09:00 +01:00
pancake
f6440fc526 Fix several crashes in dalvik. Thanks nightmare! 2014-11-05 00:15:40 +01:00
pancake
8e78ebfee5 Fix crash in elf relocs 2014-11-04 16:16:47 +01:00
Fedor Sakharov
277f2e8a68 Add symbol reference to RBinReloc and print it in disasm 2014-11-04 13:59:54 +01:00
pancake
1eccc191e0 Fix the r2 -d oo issue with more referer fields 2014-11-04 10:30:28 +01:00
Fedor Sakharov
424e16626d Do not fail if reloc is not converted 2014-11-03 20:52:39 +01:00
Fedor Sakharov
5080f4993c Get the got_addr for relocs correctly 2014-11-03 20:52:39 +01:00
Fedor Sakharov
615930ff79 Implement some reloc types for R_X86_64 2014-11-03 20:52:39 +01:00
pancake
7b0ee3bad3 Fix coverity issue 2014-11-03 13:55:12 +01:00
Fedor Sakharov
6c3b502260 Re-implementation of relocations handling. 2014-11-03 13:43:49 +01:00
pancake
3aaa6e980c Control array boundaries for DEX classes to fix #1541 2014-10-28 16:59:23 +01:00
pancake
745f4018e8 Fix several DEX crashes found by Joxean's fuzzer 2014-10-09 13:47:57 +02:00
pancake
9f962a05ab Fix r2 -zz and rabin2 -zz, also set default minstrlen for ELF/ELF64 2014-10-07 22:55:10 +02:00
pancake
a58789782d Finally fix the brainfuck emulator 2014-10-03 20:05:33 +02:00
pancake
664ae46dc5 Should fix #1457 - ELF rpath oob read 2014-10-01 19:59:50 +02:00
pancake
0248e53fb6 Add scr.visual, Fix BinBios section loading (rva issue) 2014-09-28 03:27:22 +02:00
pancake
95bb7bb74e Define and use R_NOTNULL in RBinPlugin.load_bytes 2014-09-28 01:43:08 +02:00
Alberto Ortega
6c722b704a fix unused var warning in bin_elf.c 2014-09-28 00:16:44 +02:00
Alberto Ortega
8449eafe3d Fix warning and minor change in bin_ninds.c
* First title concat is a copy now
2014-09-26 17:34:33 +02:00
condret
63dc90699f fix identation and prevent a few tiny memleaks that could occur if R_NEW0 fails 2014-09-25 21:46:24 +02:00
Alberto Ortega
de73ac8670 Add Nintendo DS ROM loader plugin 2014-09-25 00:04:37 +02:00
Y. Sapir
d42dbf55d2 Fix some compile warnings. 2014-09-24 13:20:37 +02:00
Skia
baf8a068b7 Fix CID 1240150, 1240149, 1240151 2014-09-23 10:25:18 +02:00
pancake
7e1875e4ff Fix some warnings 2014-09-22 19:45:14 +02:00
pancake
ac22f9e25c Fix several COFF parsing crashes. Bring back /B 2014-09-20 19:28:56 +02:00
pancake
143033b5d6 Add PE DOS header struct in r2 -nn (via maijin) 2014-09-20 13:27:54 +02:00
Jonathan Neuschäfer
4f7526d721 Add "const" in two places 2014-09-18 18:56:57 +02:00
pancake
dec5580bf4 Fix some ELF OOB crashes (thanks @maijin for reporting) 2014-09-17 00:09:00 +02:00
pancake
63f00d0b0f Implement working ESIL backend for Brainfuck. Requires manual init 2014-09-13 02:24:50 +02:00
pancake
4bcb57955f Initial test exposing elf headers into Sdb and fix crash in bin-any 2014-09-08 04:17:38 +02:00
pancake
a62e8603f7 Fix read on freed memory in bin/p/bin_any.c 2014-09-08 02:23:26 +02:00
pancake
d809200fa2 Fix more memleaks 2014-08-29 16:42:00 +02:00
pancake
67171b86a5 Hackaround to get r2 -B0 working. 2014-08-28 00:19:51 +02:00
deeso
689d29e444 Remove the TODO from libr/bin/p/bin_any.c 2014-08-25 09:10:53 -05:00
jvoisin
052d576ae6 coverifix 2014-08-24 19:40:08 +02:00
pancake
dbc1625777 Fix build 2014-08-23 01:53:58 +02:00
Adam Pridgen
e3aa90d4be changed default arch from 'x86' to '' 2014-08-23 01:52:33 +02:00
Adam Pridgen
6a5a91f9c9 added type enumeration with lib magic in bin_any.c plugin 2014-08-23 01:52:33 +02:00
pancake
1386bbd2b8 Fix crash in elf parser (rbinfile != rbin != rbinobj) 2014-08-19 11:37:17 +02:00
pancake
87afa5cc06 Workaround to get tiny.elf loaded properly 2014-08-19 00:05:14 +02:00
jvoisin
702ac741b9 More coverifix 2014-08-17 21:04:12 +02:00
pancake
4b7e3cdd3f Fix CID 1231791 2014-08-17 20:22:30 +02:00
pancake
a0570b4144 More fixes related to paddr/vaddr on PE/ELF/XBE 2014-08-15 12:47:05 +02:00
pancake
5a66d7a4d4 Fix #1203 - ELF64 symbol addresses. 2014-08-15 03:55:37 +02:00
pancake
9a55e866b0 Fix rabin2 -Z . Implement it for DEX too. 2014-08-07 01:00:04 +02:00
pancake
ebc691d47e Fix crash when loading COFF files 2014-08-05 02:11:19 +02:00
condret
424cf30430 return R_TRUFAE for load_bytes 2014-08-04 23:20:47 +02:00
pancake
b2a4e24f8a Fix PE64 identifcation issue. 2014-08-04 19:08:29 +02:00
jvoisin
f7b05fe65d Coverifix rampage! 2014-08-04 01:21:38 +02:00
jvoisin
942dba7efd Makes davispuh happy 2014-08-02 02:22:07 +02:00
pancake
3eb4b44bfb Fix other elf tests after the previous regression 2014-07-30 11:14:22 +02:00
pancake
8d2d8eae93 Fix avr symbol addressing issues 2014-07-29 03:16:12 +02:00
jvoisin
5c61d6f2d7 Fix some coverity issues. 2014-07-24 18:46:46 +02:00
jvoisin
8fdfefb080 Fix coverity issues (and some PE tests \o/) 2014-07-24 02:05:17 +02:00
pancake
7e06e13b3b Fix #1133 - gdbr warnings, and some other 2014-07-21 18:19:31 +02:00
pancake
314ab38a78 Fix all latest coverity issues 2014-07-21 17:51:20 +02:00
pancake
cf64a5dd75 Fix #1117 - Bring back rabin2 -c 2014-07-17 09:40:35 +02:00
pancake
381d86de2a Fix null deref and bad indent 2014-07-17 05:49:20 +02:00
LemonBoy
6d83b07224 Prettify the mach0 baddr method 2014-07-11 23:32:44 +02:00
LemonBoy
0acf0b1dd2 Various fixes to stop the vaddr translation madness 2014-07-11 23:32:44 +02:00
LemonBoy
37409c3f34 COFF/MZ improvements 2014-07-11 23:32:44 +02:00
pancake
f986ad51a1 More link order fixes 2014-07-09 11:30:18 +02:00
pancake
740a421e81 Fixes for the new linking order 2014-07-09 11:00:41 +02:00
pancake
feee9f62c9 Fix re100.exe PE crash 2014-07-08 22:59:38 +02:00
pancake
2b6816a13e Fix invalid memory access for mach0s 2014-07-06 00:32:21 +02:00
pancake
9368fc7253 Bump capstone again and fix some warns 2014-07-02 17:14:32 +02:00
pancake
3dfadc0b30 Fixed several issues on PE/ELF/MACH0
- relocs, entry0 vaddr and baddr
- fix tiny.elf crash (null deref on *bin ptr)
2014-06-27 01:20:54 +02:00
pancake
1533c31a2f Fix #1071 - rename constants 2014-06-25 18:02:36 +02:00
pancake
4d6f59f52b Fix build again 2014-06-25 04:29:59 +02:00
pancake
046b014dee Make bin/core java plugins use libr_java.a 2014-06-25 04:25:38 +02:00
pancake
1a3ffef8b4 Fix static build 2014-06-25 04:11:43 +02:00
pancake
377b5bb2fe Clean a huge list of warnings 2014-06-25 02:07:38 +02:00
LemonBoy
50f30ce907 Make the MZ loader use non-CS relative offsets. Fixes #1044 2014-06-21 12:54:29 +02:00
Jonathan Neuschäfer
6790d8d432 Fix out-of-bounds read in COFF and P9 file recognition
(In check_bytes, that is.)
2014-06-21 01:39:27 +02:00
pancake
e60552452d Fix coverity issues 2014-06-17 10:29:15 +02:00