Commit graph

97 commits

Author SHA1 Message Date
deeso
d5908941fb Steps toward fixing the reopen of a file being debugged 2014-04-24 18:21:40 -05:00
deeso
dd07844436 Fixing some Null Dereference Bugs courtesy of coverity 2014-04-22 18:39:17 -05:00
Anton Kochkov
64cf9e0542 Fix CID #1196407, #1196406 2014-04-22 01:53:12 +04:00
Adam Pridgen
3048a34783 Trying to fix mem-leaks, and allow updating of bin object infos 2014-04-03 14:04:07 -05:00
pancake
a5932a600c Minor change for #585 2014-02-28 02:34:41 +01:00
pancake
f3d622a641 ReFix for #585 issue 2014-02-27 03:01:14 +01:00
pancake
1390d9f2d5 Add length and size fields in RBinString 2014-02-11 00:08:12 +01:00
pancake
521e2076d5 Fix string size vs string length issue in rabin2 -z 2014-02-10 17:29:55 +01:00
pancake
13cf6ef878 Reflect String type in json output (rabin2 -zj) 2014-02-10 17:24:18 +01:00
pancake
e70d43fc4f Implement String Type field in RBin string search (like in r1) 2014-02-10 17:19:18 +01:00
Fedor Sakharov
18d7167f63 dwarf: Implement it. 2014-02-08 14:08:07 +04:00
pancake
a8926f9209 Fix few more coverity warns, bump sdb and drx android build 2014-02-04 15:41:36 +01:00
Adam Pridgen
1c4756898e Updated the r_core_bin_info function and changed some "offset" arguments to baseaddr 2014-02-03 07:52:30 -06:00
Adam Pridgen
dc06501f4a clean up sloppy spacing 2014-02-02 23:55:03 -06:00
Adam Pridgen
d01e6ac04c Fixed the entrypoint issue, need to address XXX in r_core_bin_info 2014-02-02 23:50:06 -06:00
pancake
9565830426 Bypass (comment) valgrind issue 2014-01-12 02:21:38 +01:00
pancake
0e9cd2e36c Fix issue with 0 size symbols 2014-01-12 01:20:40 +01:00
Adam Pridgen
e6fe3354d9 Fixing coverity issues for io_zip, hanging caused by infinite loop in disasm.c,
and io map collisions (which adds file.loadalign, file.loadmethod (append or fail),
and file.suppresswarnings.
2014-01-25 23:48:22 -06:00
pancake
0776c81feb Refactoring in RAnal->Meta for -8LOC 2014-01-23 03:28:25 +01:00
pancake
48273ec2ed Fix #559 - Fix segfault (workarounds) 2014-01-21 15:40:10 +01:00
Adam Pridgen
db1bb1a089 Changed the location of RBinObject, and created RBinFile to conform similarly to
RCoreFile, where RBinFile contains meta information for RBinObjects.  Now
RBinFiles are swapped out along with the RCoreFile when the priority is changed.
2014-01-20 02:44:25 +01:00
Adam Pridgen
6058b7b4a8 coverity fixes 2014-01-14 10:40:18 -06:00
pancake
a34f3d5434 Fix #534 - segfault when loading some ELF, MACH0 and PEs 2014-01-14 03:48:38 +01:00
Adam Pridgen
5c140609be Added fix to update sym flags, cp_obj load addresses, and add functions after analysis 2014-01-13 15:49:33 -06:00
Adam Pridgen
415a77dca0 Java can now load multiple bins into radare space, and analyse the different bins.
See libr/bin/p.bin_java.c libr/anal/p/anal_java.c for the hacky details.
Fixed the coverity issue.
2014-01-12 17:36:47 -06:00
pancake
69a8f2a6e0 Fix for cmd_info test 2013-12-29 03:55:11 +01:00
pancake
35d14529a4 Fix minstrlen issue with elf binaries and Cd -X 2013-12-29 03:42:18 +01:00
pancake
02b0202042 s/anal.plugin/anal.arch/g 2013-12-07 14:25:15 +01:00
Adam Pridgen
38c9af46b0 Fix the bin.minstrlen bug by adding a callback and refereshing strings when this value changes 2013-12-05 23:51:17 -06:00
aaSSfxxx
ba3065fb99 Add get_vaddr to RBinPlugin and fix vaddr calculation for PE files 2013-11-20 12:16:45 +01:00
pancake
01b1d409ea Should fix #349 - Wrong handling of reloc flag names 2013-11-13 02:27:18 +01:00
pancake
f1c9943df2 Fix #313 - Add bin.baddr and r2 -B to set base address for r_bin 2013-11-06 01:32:24 +01:00
pancake
179e58e064 Fix #308 - rabin2 -B doesn't works 2013-11-05 02:29:17 +01:00
pancake
de857fa91d Fix #251 - Segmentation fault running "rabin2 -I classes.dex" 2013-10-14 23:28:17 +02:00
pancake
f5188d6d47 Enhace graphs and handle relocs in webui 2013-10-09 02:53:25 +02:00
pancake
08cce66e68 Initial arm64 analysis. Fix loading mach0 kernels. Fix #230 2013-09-30 03:49:08 +02:00
pancake
722659005d Better brainfuck and arm64 support. Fix some bugs
- Fix infinite loop bug in dietline using quoted commands
- Update brainfuck disassembler and analyzer
- Fix #232 - r2 error on corkami's standard.elf (missing strtab)
- Honor 'other' color palete
- Fix bug in disasm.c filtering flag replacements
- Removed '#' prefix for numeric arguments in aarch64 disasembler
- Fix infinite loop in '">"' command
2013-09-30 01:14:04 +02:00
pancake
46dfca529e Workaround for '$' relocs (OSX bins) 2013-09-18 02:23:07 +02:00
Juan RP
9101835c58 Accept @xtraeme's massive warning cleanup 2013-07-25 15:14:49 +02:00
Eduard Burtescu
dfdee4e6c7 r_bin: improved JSON output and VAPI for the new relocs. 2013-07-19 10:21:06 +03:00
Eduard Burtescu
5e096a4fd7 r_bin: new generalized relocs, with only arch-independent types.
Basic implementation for ELF relocs (x86, x64 and ARM).
2013-07-19 09:29:58 +03:00
Eduard Burtescu
b8e031d91c r_bin: removed hint from RBinImport, as it's only used in PE and even there it's doubtfully relevant. 2013-07-19 09:29:58 +03:00
Eduard Burtescu
8403699f2e r_bin: removed rva, offset and size from imports.
PLT-like lazy import wrappers are now part of symbols, where applicable.
The "imp." prefix is a temporary solution, it should be a flag.
2013-07-19 09:29:58 +03:00
pancake
92b50950e4 Fix 'r2 -d ls /' launching program with arguments 2013-07-03 01:38:03 +02:00
Eduardo de la Arada
8a93b6a83d * Add relocs json output
* Fix rabins's homeplugdir
2013-07-01 17:05:15 +02:00
Eduardo de la Arada
f6173bdaf0 * Fix json output for undefined flags
* Add json output to bin_fields
* Fix typo at visual_mounts
2013-07-01 16:29:47 +02:00
pancake
3f1d3ba146 Better r_str_hash(), Fixes in CCa, Added ?h, Better rbin for BEOS bins
Identify Haiku binaries as 'beos' with noodle()
Fix CCa for non numeric offsets
Use sdb's r_str_hash() instead of old one (much less collisions)
Added ?h command to hash strings
CCa now appends instead of replacing comments
Do not mark as static if bin links to libs
2013-06-07 10:26:37 +02:00
pancake
74731aa7b1 Minor code cleanup in io 2013-06-04 23:49:28 +02:00
pancake
16ddff4eb9 More work on ESIL, and implement r2 -Desil .. 2013-05-20 03:00:49 +02:00
pancake
356640967b Fix double warning for -zz and add support for openSUSE in mingw32.sh
- Fix mingw32 build
- Fix double warn for -zz
- Some code indentation in c55plus code
- mingw32.sh now supports openSUSE
2013-05-17 01:42:24 +02:00