657 Commits

Author SHA1 Message Date
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 f6440fc52662332cae0f5877b86ce5906f498f98.

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