Commit Graph

138 Commits

Author SHA1 Message Date
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
pancake
dc7289e1f3 Fix rabin2 -O help, rahash2 -a all -s, add filter input
Added input filter in r_cons/dietline to avoid trashy chars
rahash2 -s now works with multiple -a
2013-03-10 14:27:01 +01:00
pancake
a7925a8a4f Add aach64 (ARMv8) support to the ELF parser 2013-02-26 15:35:24 +01:00
pancake
f37df0d2c6 Fix fatmach0 extract when unknown files are inside
Fix segfault in java class header parser
Fix help message of 'wt' command
2013-01-29 19:39:41 +01:00
pancake
4c2ad6cd58 Fix build 2013-01-23 00:51:25 +01:00
pancake
d8f0ea6ed9 Use RCore in rabin2 to fix nullptr in RConfig (fixes #44) 2012-12-26 02:01:26 +01:00
pancake
58371d6e2f Add rabin2 -N flag to set minimum string length
By default is 2, but PE which is 4
Sort rabin2 -h flags alphabetically
Add r_bin plugin-specific minimum string length
New r_list_newf() constructor which replaces the hacky R_LIST_NEW macro
2012-12-09 01:39:27 +01:00
pancake
07d27512ee Append fatmach0 index in extracted filename
Fix the segmentation address in ? command
Fixes for the r2bot
2012-11-29 04:07:59 +01:00
pancake
8ea25c4a46 Use RNum in RAsm, fixes for segoff and better disasm
Reference of RNum in RAsm (use flags in 'wa/pa'!)
Use RNum in x86.nz plugin
Rename scr.segoff to asm.segoff
Fixes for segmented addressing resolution
Honor lineswidth in disasm
Remove rabin2 -p flag in help and manpage
Fix disasm.c loop for small blocksizes and invalid ops
2012-11-16 01:34:26 +01:00
pancake
7c1e0c85d9 Support for remote raw commands (client/server)
See the '.:' command
Full integration with awk bindings
Add install make target for the awk bindings
Handle as debug mode if io->file->debug
Fix typo quite/quiet in rabin2
Resolve $pc,$bp,$sp,$a0.. in r_core_num
Minor random fixups
2012-11-05 02:00:34 +01:00
pancake
07929b169d Add Quiet and JSON in RCoreBin, more awk, fix rafind2
Use rabin2 -j flag to get JSON output
You can also get those jsons using the i?j command
Better awk bindings and added some examples
rabin2 -v (without any other arg) shows version
Fix some segfaults in rafind2 and use RList
Add quite output mode for rabin2 (activated with -q)
2012-11-02 03:35:50 +01:00
pancake
3540924f40 Better paralelization of build system 2012-10-04 01:20:00 +02:00