149 Commits

Author SHA1 Message Date
jvoisin
0be1fc041b Fix some memleaks at exit 2014-08-20 01:21:31 +02:00
pancake
13872af7bc Implement rabin2 -K and do some work on the RHash api. Fixes #1204 2014-08-15 03:30:45 +02:00
pancake
50e8e0e507 Add 'lp' command to 'load plugins' + some work on 'bin.laddr' 2014-07-30 11:14:26 +02:00
pancake
381d86de2a Fix null deref and bad indent 2014-07-17 05:49:20 +02:00
pancake
576c9d6221 Fix ASLR (rabin2, r2 -B working again), sort i? output 2014-05-26 03:06:29 +02:00
jvoisin
680c542bb3 Fix CID 1214301 and constify things 2014-05-25 15:59:52 +02:00
pancake
ff939fd048 Implement #956 (rabin2 -k - prompt) and fix r_bin_load() 2014-05-22 00:12:30 +02:00
pancake
cb1c61c296 Fix output of 'Cannot open file' (without %s) (possible null deref) 2014-05-21 23:19:47 +02: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
Anton Kochkov
9a74490e1f Fix CID 1134986 2014-05-19 06:05:15 +04:00
pancake
879f295365 Fix bin.rawstr (rabin2 -zz), some offsets wrong in PE 2014-05-19 02:41:53 +02:00
pancake
644acb8590 Add rabin2 -k to query sdb info, sdbize MZ debug printfs 2014-05-19 01:42:36 +02:00
pancake
ca18aedb94 Add Capstone SystemZ and SPARC disassembler and analysis plugins 2014-05-17 02:53:37 +02:00
Anton Kochkov
ab5cb7b25f Fix CID 1214320 2014-05-17 02:23:43 +04: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
zonkzonk
515cfe56e1 check malloc return for code in rabin2.c 2014-05-12 00:31:11 +02:00
jvoisin
ee4049d60e Fix CID 1211162 2014-05-05 17:19:38 +02: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
d5a6c3d23c Adding r_bin_load_as feature and fixing null pointer reference in rabin. 2014-05-02 13:51:02 -05:00
Anton Kochkov
04a61148a5 Fix CID 1134985 2014-05-02 14:43:30 +04:00
Anton Kochkov
780cf8fdae Fix CID 1134986 2014-05-01 13:41:20 +04:00
jvoisin
2713d06d43 Fix CID 1134988 2014-04-30 22:48:42 +02: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
Anton Kochkov
afedcc0074 Fix CID 1135011, 1195065, 1134730, 1134754, 1134907, 1134758 2014-04-27 01:06:13 +02:00
pancake
836803d786 Sdbize RBin.list_archs(). Expose addrinfo in 'k bin/fd.#/addrinfo/*' 2014-04-23 03:57:13 +02:00
pancake
53edf7c17d Merge RCmd inside RCore 2014-03-18 00:05:44 +01:00
pancake
7c8daf1e70 Refactoring RBinMeta into RBinDbgInfo 2014-03-10 02:27:32 +01:00
pancake
d1dd21ea9e Fix statically link of libgdbr 2014-03-03 19:09:40 +01:00
pancake
9a099e9e9e Add RAsmPlugins->cpus and handle it in rasm2 -L <arch> 2014-02-06 00:26:17 +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
pancake
802e808072 Merge libr/lib into libr/util and add r_sys_environ API 2014-01-18 02:42:23 +01:00
Maijin
82e10ed753 Resource leaks fixes CID 1134987 2014-01-17 00:10:09 +01: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
38fc28f960 Added more Jamroot files 2014-01-03 00:13:46 +01:00
pancake
8711ca5928 Oops. another missing -lr_sign 2013-12-31 05:42:45 +01:00
pancake
d02df0d306 Fix some issues reported by CoverityScan service 2013-12-03 00:14:59 +01:00
pancake
1681982d34 Fix android linkage of r_zip 2013-11-14 23:32:34 +01:00
pancake
b97e19cae3 Fix #323 - rabin2 should provide an option to show everything 2013-11-09 03:11:03 +01:00
pancake
e63271e688 Fix build 2013-11-06 01:36:40 +01:00
pancake
4caad05a0a Fix r_cons_flush race condition in rabin2 2013-09-27 20:24:59 +02:00
pancake
06b02592d5 Fix crash in rabin2 (unnecessary free of const string) 2013-09-27 20:14:18 +02:00
pancake
dd5421a5f9 Enhace @earada's patch to fix double free in 'dm' api 2013-07-25 15:18:34 +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
04cfefb9d8 Fixes on dyldcache list and x86 branch analysis
Fix some branch analysis issues for x86
Add new simpler r_reg api r_reg_getv()
Store library offset in dyldcache xtract info
Accessible via rabin2 -A or r2 <file>
Looks like dyldcache is too slow and buggy for latest caches
Fix indentation in branch comments
2013-06-20 02:49:39 +02:00
pancake
0aaa61f7d2 Store CFLAGS in configure, fix build race condition and rabin2 -zz
- Try to fix the race condition in build
- Fixes for rabin2 -zz (show strings when opening an unknown file type)
- Store CFLAGS and LDFLAGS at configure stage
2013-04-26 03:15:39 +02:00
pancake
99430303e4 Deprecate rabin2 -V.. use rabin2 -v everywhere! 2013-04-05 03:16:42 +02:00
pancake
3aa549ecb0 Share version function between all commands. Fix #76 2013-04-04 02:32:13 +02:00
pancake
735a4f7a4a Fix -h and manpages. Kill rsc2 and rasc2 from binr/ 2013-04-02 12:11:20 +02:00