Rakholiya Jenish
339a5b7b18
fix iZ and negative o for large files ( #5242 )
...
correct the add section check
keep commented part to it's original code
int to ut64
minor fix and limit buffer size in case file size cannot be allocted
remove section check
show size in readable format
minor changes
2016-07-05 12:46:28 +02:00
Damien Zammit
5e1ad580db
build: fix warnings
2016-05-08 12:21:11 +02:00
Damien Zammit
af0a865d9f
WIP - Totally remove host endianness dependence
...
- Adds endian aware functions
- Removes references to host endian
- Uses binary detected endianness else tries LE and restricts by RAsmPlugin
- Fixes gdb debugger endianness when debugging BE qemu gdbserver
Signed-off-by: Damien Zammit <damien@zamaudio.com>
2016-05-04 23:42:17 +10:00
pancake
f5181c4d90
Initial rework for dyldcache
2016-02-04 15:44:49 +01:00
alvaro_fe
a6e4d6b93e
Fix #838
2015-12-16 11:40:23 +01:00
pancake
88038a85ad
Fix some RBinSymbol->name issues and drop null defs (-211LOC)
2015-11-22 01:09:02 +01:00
pancake
baf63a0cba
Reduce RBinSymbols memory (smaller footpronum)
2015-11-09 03:41:07 +01:00
Álvaro Felipe Melchor
7404abda73
Fix crash a84c559 by revskills
2015-10-29 12:57:06 +01:00
pancake
5ecd98305e
Add support for MBN/SBL roms, fix 11acb8392, binsect->has_strings
2015-09-29 00:42:31 +02:00
pancake
49975ccf95
Fix #3286 - Use stdbool.h
2015-09-14 02:08:31 +02:00
Riccardo Schirone
eeef82c2b8
bin: use R_BIN_SCN_MAP flag when a section should be mapped by IO
...
- io/section: filter sections by looking at R_IO_MAP flag
- util/str: consider (m)apped flag when printing/parsing srwx info
2015-08-26 14:12:46 +02:00
Jonathan Neuschäfer
523aa3af5c
add .version to all plugins
2015-07-12 19:05:33 +02:00
pancake
c687641b17
Fix rbin regression by fixing compiler warnings
2015-05-11 20:04:00 +02:00
pancake
dff11411cc
RBinInfo is now dynamically allocated
2015-03-25 14:49:33 +01:00
pancake
7e1875e4ff
Fix some warnings
2014-09-22 19:45:14 +02:00
pancake
9368fc7253
Bump capstone again and fix some warns
2014-07-02 17:14:32 +02:00
Jonathan Neuschäfer
6790d8d432
Fix out-of-bounds read in COFF and P9 file recognition
...
(In check_bytes, that is.)
2014-06-21 01:39:27 +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
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
031b6495c4
Fix RBin DEX header check (blame @jvoisin)
2014-05-12 17:20:56 +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
pancake
7c8daf1e70
Refactoring RBinMeta into RBinDbgInfo
2014-03-10 02:27:32 +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
Roi Martin (@nibble_ds)
3f5ebd9d16
Fix #458 - Negative baddr
...
Fix r_bin_get_vaddr() (needs further testing due to changes in r_io)
2013-12-19 19:43:44 +01:00
pancake
bbe6e8c8a2
Add license to RBin, RDebug and RIO plugins
2013-12-10 04:19:04 +01:00
pancake
6fbbb3dea0
Add arch/bits fields in RBinSection (breaks abi)
2013-03-26 23:37:19 +01:00
pancake
7a0da18725
Add r_bin.rar plugin, per-section arch/bits, fix in S=
...
Add Sa to set/get per-section arch and bits configuration
Cache io->section and core->io->section to speed up the Sa
Update r_sys_arch*
Add dummy plugin in asm/rar
Fix lines of S=
2012-11-30 01:06:30 +01:00
pancake
ea8dc25221
Initial objc support, visual 'i' with cursor and 'wow'
...
Some more fortunes
Initial support for Objective-C
New command 'wow' to fill block with cyclic hex value
Visual 'i' when cursor enabled uses 'wow'
2012-11-07 04:25:42 +01:00
pancake
e46efa8a1d
Initial implementation of r_bin_size (rabin2 -Z)
...
Changes in the disasm loop to support continuous fun
Fixes disasm after opcode payload
Added RConstr code in r_util (not yet used)
RBinSize implemented for elf, mach0 and plan9
Fix build
2012-08-23 12:46:55 +02:00
pancake
9362041562
Huge RBin refactoring and fix mach0 section perms
2012-08-04 23:48:06 +02:00
pancake
5deffac04f
* Fix nullpointer checks in p/bin p9, pe and pe64 when
...
using virtual files like malloc:// (thanks @vext01 for reporting)
* Add search.in=block
* Fix search ranges in search.in=file (fixes r2-regressions test)
2012-02-01 22:42:38 +01:00
pancake
f566e70578
* Many ugly hacks to enhace w32 console
...
* Use io.va=1 on PE
2011-12-02 14:32:04 +01:00
pancake
6de942e05d
* Add RBinInfo->has_va
...
- Used to autoforce io.va after loading the bin
- Fixes loading kernel modules and object files
* Fix loading strings on a object file without io.va
* Add install-rev.sh script
2011-11-29 15:29:50 +01:00
pancake
c620b0dd3f
* Fix search when io.va=true
...
- Add search.in = file, section, raw
* Set io.va=false rbin cant identify file type
* Show progress info in search
2011-11-19 02:49:11 +01:00
pancake
158962d606
* make purge is now less harmful
...
* add initial support for creating p9 binaries
* Make r_anal_get_fcns() an accessor macro
2011-11-12 05:20:54 +01:00
pancake
75290251da
* Add initial support for plan9 binaries
...
- supports x86, arm, ppc, sparc, mips
* Use r_cons in r_core_bin
* Fix link of rabin2
- Use r_cons_flush()
- Refix ehdr issue
* r_io_size() now ignores va
* Add R_SYS_BASE
* Move r_anal_get_fcn_get into fcn.c
* Some more fixes
2011-11-12 04:51:45 +01:00