Commit Graph

6461 Commits

Author SHA1 Message Date
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
pancake
7b0ee3bad3 Fix coverity issue 2014-11-03 13:55:12 +01:00
pancake
7a1596ebbb Swap paddr <=> vaddr 2014-11-03 13:53:54 +01:00
Fedor Sakharov
6c3b502260 Re-implementation of relocations handling. 2014-11-03 13:43:49 +01:00
pancake
8042a54077 Fix crash in access to freed memory 2014-11-03 13:36:58 +01:00
pancake
dcfb90ae94 Wip Fix r2 -d oo (workaround, because it's a race condition in fork+pid2path) 2014-11-03 11:47:51 +01:00
pancake
3c6ae9ed33 Add r_io->referer 2014-11-03 10:47:02 +01:00
pancake
118f7ef2d1 Fix two coverity issues 2014-11-03 10:34:14 +01:00
Henrik Nordstrom
b3b5f88257 Truncate strings to their field size
not all strings are zero terminated. Truncate strings to their
specified size.
2014-11-03 09:45:18 +01:00
Henrik Nordstrom
2c682c5b17 Correct save of metadata in project file
Corrects save of Cs, Cd, Cf, Cm meta commands

help text also slightly updated to match actual
working commands and syntax.
2014-11-03 09:45:10 +01:00
pancake
84070a45f6 Implement anal.{limits,from,to} 2014-11-03 04:12:12 +01:00
pancake
a9eb8da77b Fix overflow in r_asm_disassemble() and implement rip-relative refs in anal.x86.cs 2014-11-03 03:27:22 +01:00
Henrik Nordstrom
f024521b7d Fix project saves where old data was left at the end if project has shrunk in size 2014-11-03 02:27:25 +01:00
Henrik Nordstrom
5c5114c542 cons: Simplify buffer management slightly in r_cons_printf
there is no need to check twice if the buffer is full.

In additition the first check (deleted) has an off by one error.
2014-11-03 02:25:22 +01:00
pancake
741e1ba797 Update capstone to get the negative delta disasm issue on x86 2014-11-02 18:45:55 +01:00
pancake
bbaf70168c Fix #1535 - Another random hackaround to have x86 16 bios images working again 2014-11-02 14:23:10 +01:00
pancake
a2dda7ccea Add asm.cyclespace and make asm.tracespace independent to asm.trace 2014-11-02 03:06:52 +01:00
pancake
448d8e523c Minor code cleanup 2014-11-02 02:34:59 +01:00
pancake
1b5d985582 New config var 'asm.tracespace' to indent code with trace.count information 2014-11-02 02:19:31 +01:00
pancake
1e3e97f2fb More and better support for tasks. Add anal.sleep to avoid 100% cpu in analysis 2014-11-02 02:01:09 +01:00
pancake
6a6290a4da Implement Sdb in RDebug.Traces. O(n) vs O(1) in pd with asm.traces=true 2014-11-02 01:21:45 +01:00
pancake
14917b1fb7 Fix #1576 - Infinite analysis loop 2014-11-02 00:28:22 +01:00
pancake
1be4e0ea35 Handle ^C in several pd,pdr,pi,.. commands 2014-11-01 23:54:51 +01:00
pancake
1c3df12988 Use the new cs_disasm_iter API for {asm,anal}.x86.cs plugins (experimental) 2014-11-01 23:54:23 +01:00
pancake
3f16c42bf7 Fix segfault in core/io and update capstone 2014-11-01 22:23:11 +01:00
pancake
52b28c601a Re-enable GRUB code. Oops 2014-11-01 22:20:11 +01:00
pancake
6555402bf5 Fix warning 2014-11-01 22:12:05 +01:00