285 Commits

Author SHA1 Message Date
pancake
63ae19c650 Implement RBinInfo->is_stripped for MACH0 files 2014-06-10 20:50:48 +02:00
pancake
0ea452d0f5 Fix build 2014-06-06 00:06:30 +02:00
pancake
7322a152e1 Minor fix for search in iova 2014-06-05 04:14:37 +02:00
deeso
d82e709d0d fixed use after free possibility from r_bin_reload 2014-06-02 17:16:57 +02:00
Fedor Sakharov
3a0422db24 bin: Delete the list of objs instead of deleting current object
Fixes #971
2014-06-02 17:15:48 +02:00
pancake
8d663ceb94 Some rework on RBin.baddr and laddr to make it work again
Not all fileformats return correct data in Sections, this is
why sometimes the relocation with baddr (needed for aslr) fails
on mach0 for example. This code needs to be redesigned and fixed.
2014-05-29 00:49:28 +02:00
pancake
d65700dedd Fixes to make RBin/RIO more consistent for bindings 2014-05-28 18:58:53 +02:00
pancake
6266fc66c7 Minor fixes 2014-05-28 17:49:32 +02:00
pancake
810b976b73 More regression fixes for baddr on ELF and MACH0 2014-05-26 12:04:07 +02:00
pancake
576c9d6221 Fix ASLR (rabin2, r2 -B working again), sort i? output 2014-05-26 03:06:29 +02:00
pancake
5d9751e9e2 Remove global in RBin 2014-05-26 00:39:23 +02:00
pancake
8c0ed5a6ee Update capstone and embed it into the 'make dist' tarball 2014-05-25 03:58:58 +02:00
Adam Pridgen
e6f8c63b7a Debugger returned '0' for size and not UT64_MAX which was unexpected 2014-05-21 19:38:20 -05:00
pancake
29ee197638 Optimize RMeta.add() and bump sdb for updated optimizations 2014-05-22 02:15:26 +02:00
pancake
e7d3a629a5 Remove file size limit in RBin 2014-05-22 00:59:31 +02:00
pancake
ff939fd048 Implement #956 (rabin2 -k - prompt) and fix r_bin_load() 2014-05-22 00:12:30 +02:00
deeso
a702c82ac8 Enhance performance with reduced mallocs at load time 2014-05-21 13:02:02 -05:00
pancake
a1224b2156 Refactor rva > vaddr and offset > paddr.
That change may make mixing vaddr and paddr more visible
2014-05-21 03:18:00 +02:00
pancake
879f295365 Fix bin.rawstr (rabin2 -zz), some offsets wrong in PE 2014-05-19 02:41:53 +02:00
Anton Kochkov
c644050a59 Fix CID 1214309 2014-05-17 03:00:45 +04:00
Anton Kochkov
90ef2d220f Fix CID 1214330 2014-05-17 02:56:52 +04:00
Anton Kochkov
3b4f167473 Fix CID 1214310 2014-05-17 02:52:27 +04:00
Anton Kochkov
58b5e970ba Fix CID 1214328 2014-05-17 02:49:26 +04:00
Anton Kochkov
86d13f5340 Fix CID 1214329 2014-05-17 02:47:43 +04:00
pancake
c6a73d3074 Fix loading sections from fatmach0 bins 2014-05-16 03:48:57 +02:00
pancake
41692b70e6 Fix regression: PE baddr, update uncrustify 2014-05-16 02:46:07 +02:00
pancake
03e1407dd9 Expose current opened file in 'k bin/cur/..' 2014-05-14 18:02:56 +02:00
pancake
587c5f51c2 Implement MACH0- crypto and UUID inside Sdb bin/<fd>/info 2014-05-14 05:48:03 +02:00
Adam Pridgen
6d1da071fe Fixed empty flags issues with debugger 2014-05-13 21:54:18 -05:00
Adam Pridgen
5bb7ddef66 Added listing for binfiles, selection by binobject ids, selection by binfile ids, and deletion by bin object ids 2014-05-13 21:54:18 -05:00
deeso
1fbc7f2168 Added load_bytes, Pushed curplugin down to RBinObj, Reworking the RBinFIle loading to accomodate RBinObj reworked how all bins are loaded. Needed to hack IO to make
this work with rbinfiles and rbinobjects.

Conflicts:
	libr/bin/bin.c
	libr/bin/p/bin_te.c
2014-05-13 21:54:18 -05:00
pancake
216c183b6e Remove tons of useless 'if (x) free (x)' 2014-05-09 17:40:28 +02:00
jvoisin
f37a120422 Fix CID 1135066 2014-05-09 15:47:42 +02:00
deeso
4ad0f2a400 Tweaking bin plugins so that they can check bytes along with a binfile and fixed extraneous * in buf.c and r_util.h 2014-05-08 14:09:10 -05:00
Adam Pridgen
baf8ead86f Update bin info for binfile being set in the environment 2014-05-05 22:07:01 -05:00
Anton Kochkov
98f8fff3f7 Fix CID 1211152 2014-05-06 01:33:53 +04:00
Adam Pridgen
e9cabecc45 Fix CIDs: 1211131, 1211134, 1211136, 1211133, 1211143 2014-05-04 22:09:20 -05:00
Adam Pridgen
bd297f6788 reworked how bins environmnent variables are set (e.g. io.va, arch, bits, etc.) and fixed some more mach0 regressions 2014-05-04 17:15:55 -05:00
deeso
3d8dc61a55 Fixed some of the mach0 regressions 2014-05-03 09:58:53 -05:00
pancake
a0da04cb16 Fix r_bin.h (should fix bindings) and more MAKE_JOBS 2014-05-03 02:19:14 +02:00
fr33tux
3d801f90ff Remove r_list_destroy, replaced it by r_list_purge 2014-05-03 01:27:10 +02:00
deeso
d5a6c3d23c Adding r_bin_load_as feature and fixing null pointer reference in rabin. 2014-05-02 13:51:02 -05:00
deeso
3adcb54f17 Overhauled how files are loaded. Now *all* files use an IO plugin the default one is mmap'ed 2014-05-01 20:13:57 -05:00
Adam Pridgen
c3d6664756 Adding multi-bin support for files that contain multiple objects and lots of other fixes in libr/bin 2014-04-28 12:11:14 -05:00
deeso
5f6f8064d9 Fixed some issues in bin/dwarf.c and Fixed 1205194, 1205193, 1205192, 1205202, 1205203, 1205204, 1205205, 1205209, 1205208, 1205207, 1205206 2014-04-25 15:14:57 -05:00
deeso
d5908941fb Steps toward fixing the reopen of a file being debugged 2014-04-24 18:21:40 -05:00
deeso
c6a7faad77 fixed the bug with the insane fuzz command 2014-04-22 23:06:00 -05:00
pancake
61bc0c8268 Fix t/io/zerofile segfault 2014-04-23 04:04:50 +02:00
pancake
836803d786 Sdbize RBin.list_archs(). Expose addrinfo in 'k bin/fd.#/addrinfo/*' 2014-04-23 03:57:13 +02:00
Fedor Sakharov
6c5505b39d Use sdb to store dwarf lineaddr info 2014-04-21 19:22:37 +04:00