Commit Graph

6437 Commits

Author SHA1 Message Date
pancake
842b8db4f3 Fix more crashes in DWARF and ELF 2014-11-05 17:15:22 +01:00
pancake
8b86030130 Fix all warnings in the ELF parser 2014-11-05 17:07:56 +01:00
pancake
0764d0bc15 Fix two crashes in the ELF parser 2014-11-05 17:02:08 +01:00
LemonBoy
f990b078a8 Make the elf parser use the phdrs and the DT_DYNAMIC contents 2014-11-05 16:33:34 +01:00
d0p
5bdbfd240a Fix compilation error on OS X 10.7.5 (undef symbol)
Shared libraries and bundles don't have direct access to environ. Use
the _NSGetEnviron() routine to retrieve the address of environ at
runtime. See "PROGRAMMING" section of ENVIRON(7).
2014-11-05 16:16:27 +01:00
pancake
7b7256d340 Remove boundary checks to fix regression, must redo the patch with more fuzzing 2014-11-05 16:11:01 +01:00
LemonBoy
9dd90c2133 Make the elf parser use the phdrs and the DT_DYNAMIC contents 2014-11-05 16:01:06 +01:00
skuater
430ef8d5fe Hardware breakpoints working 2014-11-05 13:10:18 +01:00
pancake
b158a7a63b Fix rabin2 -z regression 2014-11-05 09:46:11 +01:00
pancake
3d3c5a3a14 Fix a fancy crash in the ELF parser 2014-11-05 04:20:35 +01:00
pancake
f8595e9abd Fix crash in ELF parser 2014-11-05 03:16:22 +01:00
pancake
1ec7c21ed0 Fix regression in symbol names. 2014-11-05 02:59:15 +01:00
pancake
f492ba59a2 Fix infinite loop in dwarf parser 2014-11-05 02:51:05 +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
67d92749fe Fix a crash in the ObjC name demangling 2014-11-05 01:51:50 +01:00
pancake
151cbf4d9b Fix some more out of buffer accesses in the java class parser 2014-11-05 01:43:23 +01:00
pancake
dd131e15d0 Fix stack exhaustion bug in Java class parser 2014-11-05 01:31:33 +01:00
pancake
e93b0727c2 Fix crash in Java CLASS parser 2014-11-05 01:21:05 +01:00
pancake
7904ff3058 Fix another crash in the PDB parser 2014-11-05 00:53:08 +01:00
pancake
86676f1a14 Initialize allocs in pdb.c to avoid some crashes in the parser 2014-11-05 00:49:23 +01:00
pancake
b833c21948 Fix another off-by-one crash in rabin2 -z 2014-11-05 00:37:58 +01:00
pancake
561555a595 Fix r_str_nlen for trashed symbols 2014-11-05 00:32:55 +01:00
pancake
7eea922f35 Fix a tiny off-by-one in rabin2 -z 2014-11-05 00:17:48 +01:00
pancake
f6440fc526 Fix several crashes in dalvik. Thanks nightmare! 2014-11-05 00:15:40 +01:00
pancake
3817068e17 Fix another tiny crash in mach0 2014-11-04 23:26:39 +01:00
pancake
a93d1d496e Fix crash in mach0 parser 2014-11-04 23:22:05 +01:00
pancake
cab0c6ae49 Fix crash in r_utf8_decode 2014-11-04 23:17:52 +01:00
pancake
37c8bccb11 Fix #1618 - Crashing java plugin with the sandbox thing 2014-11-04 22:30:36 +01:00
Fedor Sakharov
4c3796a25c Do more proper boundary checking for relocs 2014-11-04 21:56:20 +01:00
trndr
00949b0300 Fix gdb dc and dcu 2014-11-04 21:55:51 +01:00
pancake
8e78ebfee5 Fix crash in elf relocs 2014-11-04 16:16:47 +01:00
pancake
5437ecd0bc Refix last r2 -d regression. Needs more testing 2014-11-04 14:38:09 +01:00
Fedor Sakharov
277f2e8a68 Add symbol reference to RBinReloc and print it in disasm 2014-11-04 13:59:54 +01:00
Fedor Sakharov
7ee086326a elf: Fix a typo in elf.c 2014-11-04 13:59:54 +01:00
Fedor Sakharov
d9a78f33b4 bin: Load symbols before relocations 2014-11-04 13:59:54 +01:00
pancake
05e9a49bd4 Update capstone to get proper inmediates for binary ops on x86 2014-11-04 11:56:51 +01:00
pancake
78eb0143c1 Fix #1615 - Implement asm.os=? 2014-11-04 11:47:42 +01:00
pancake
07f8439020 Added sys/asan.sh and honor LDFLAGS in sys/build.sh 2014-11-04 10:58:40 +01:00
pancake
1eccc191e0 Fix the r2 -d oo issue with more referer fields 2014-11-04 10:30:28 +01:00
trndr
83ad35e39a Try to implement MIPS gdb reg profile 2014-11-04 02:17:35 +01:00
trndr
567bcd39f1 Add bigendian register byteswap 2014-11-04 02:17:35 +01:00
pancake
4790375679 Random enhacements for RHex apis and relocs 2014-11-04 02:16:40 +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
Maijin
e160851174 Add help and man for - and -- 2014-11-03 17:04:14 +01:00
pancake
e6883804f2 Display RELOCs in disasm 2014-11-03 16:24:04 +01:00
pancake
09e29b68e3 Always use vaddr in bin.relocs (wip) 2014-11-03 16:08:00 +01:00
pancake
c2b54c1344 Fix reloc addresses in .o files 2014-11-03 15:59:58 +01:00
pancake
fb9002d026 Fix bug in usage of cs_disasm_iter 2014-11-03 15:45:04 +01:00