Álvaro Felipe Melchor
b0c6ae4409
Fix #4295 and #4155
...
This commit is the first attempt to improve relocation
recognition when dealing with relocatables elf-files
2016-04-04 23:09:58 +02:00
pancake
d629165ec8
Remove unnecessary = NULL in bin/p/*.c
2016-03-27 23:02:29 +02:00
pancake
49975ccf95
Fix #3286 - Use stdbool.h
2015-09-14 02:08:31 +02:00
Jonathan Neuschäfer
523aa3af5c
add .version to all plugins
2015-07-12 19:05:33 +02:00
pancake
a168075c35
Fix for ASLR ELF entrypoint
2015-05-19 10:58:40 +02:00
pancake
9f962a05ab
Fix r2 -zz and rabin2 -zz, also set default minstrlen for ELF/ELF64
2014-10-07 22:55:10 +02:00
pancake
5a66d7a4d4
Fix #1203 - ELF64 symbol addresses.
2014-08-15 03:55:37 +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
deeso
03cff1625a
Fixing missing get_vaddr function in bin plugin elf64
2014-05-06 23:51:22 -05:00
Fedor Sakharov
219a8497d0
Move size() out of ifdef for elf so it works for elf64
2014-04-21 19:22:37 +04:00
pancake
7c8daf1e70
Refactoring RBinMeta into RBinDbgInfo
2014-03-10 02:27:32 +01:00
pancake
25809a0887
Fix some warnings and indentations
2014-02-20 03:08:12 +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
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
29166cc940
* Initial import of the hud input method for the visual mode
...
* Use '_' key in visual mode to enter in hud mode
* Support mach0 files with multiple sections with same name
* Fix parsing of commands with nested quotes
* rename ?z to ?l
* added new command ?y to get and set yank buffer contents to stdout
* ?i stores the input into the yank buffer now
* ?I accepts a file name as argument which is loaded as hud
* ?k used as key=value temporal storage
* Add calc.c .. plans are:
- support proper parenthesis in math.c
- support floating point arithmetics
2012-01-31 02:45:17 +01:00
Nibble
653dbea643
* Minor fixups in create() for elf64
2011-09-04 15:19:59 +02:00
Nibble
480edd8203
* Add support for ELF64 to r_bin_create
2011-09-04 13:21:02 +02:00
earada
708e10e413
* Change some files license from GPL3 to LGPL
...
* Fix build
2011-04-28 02:09:43 +02:00
pancake
421208a0c7
* Replace main for binsym in r_bin
...
* Added dummy commands for r_debug_fork/clone
2010-11-18 11:41:17 +01:00
Nibble
793dae395d
* Massive refactoring of r_bin
...
- Add support for fatbins (currently only fatmach0)
- Minimize creation of r_buffers
* rabin2
- Add flag -A for listing archs
- Add flags -a and -B for selecting arch
- In the next commit -A and -B will be removed and -a will work
with the following format:
[-a arch bits] for selecting arch
[-a] for listing them
--HG--
rename : libr/bin/p/bin_fatmach0.c => libr/bin/p/bin_xtr_fatmach0.c
2010-09-24 21:23:13 +02:00
Nibble
5567da9538
* Add support for parsing relocs to r_bin
...
* Add flag -R to rabin2 to list relocs
* Implement reloc resolution in r_bin_elf for 32 & 64 bits
2010-09-10 11:11:38 +02:00
Nibble
bb8cfd866d
* r_bin
...
- Add function r_bin_extract()
- Add lib r_bin_fatmach0 into format/mach0/
- Complete mach0_specs with fat mach-o stuff
- Add plugin bin_fatmach0
- Initial import of mach-ex into r_bin
- Remove mach-ex
* rabin2
- Add flag -x for extracting bins from file
* Build
- Update plugins.def.cfg
- Remove mach-ex stuff from libr/Makefile
2010-07-29 16:04:18 +02:00
Nibble
2f43431e80
* r_bin
...
- Add r_bin_get_main
- Implement get_main for elf32 & elf64
- Rename RBinEntry to RBinAddr
* rabin2
- Add flag -M to output main offset and va
* bindings
- Update r_bin.vapi
- Minor fixup in r_util.vapi
2010-05-30 06:06:25 +02:00
Nibble
5c35f6e359
* Rename {r_*_handle_t, R*Handle} to {r_*_plugin_t, R*Plugin}
2010-05-26 01:42:22 +02:00
pancake
cb9ee58920
* Fix possible overflow in PE format loader
...
- Do not used trashed bytes from r_file_slurp_range
* Implement r_sys_cmd_strf
- Simplify code in addr2line r_bin_meta plugin
* Install again in site-packages for py2.6
- Debian/Ubuntu uses dist-packages, but not in arch
2010-04-13 21:19:54 +02:00
pancake
ef5f65c2b8
* Fix ELF64 header identification
...
- This bug was causing bin_load fail sometimes
on mingw32 and linux on elf32
* Check null pointer in r_file_slurp_range
* Fix compilation (oops)
2010-04-12 11:46:15 +02:00
Nibble
bde38868c1
* Huge refactoring of r_bin using r_list instead of r_flist
...
- Reduce loc
- Avoid double iterations
- Allow to add/remove objects easily from r_bin_write
2010-03-10 11:01:38 +01:00
Nibble
77f9377d1d
* r_bin
...
- More work on write support
- Initial API design
- Fix typo in bin_write_elf.c filename
--HG--
rename : libr/bin/p/bin_wite_elf.c => libr/bin/p/bin_write_elf.c
2010-03-09 15:12:04 +01:00
Nibble
9b39b01bee
* Add get_libs function to r_bin_elf
2010-02-25 12:53:00 +01:00
Nibble
179bd0e8eb
* Add get_libs to r_bin_mach0
...
* Minor fixups in r_bin_pe
* Add flag -l to rabin2 for listing linked libraries
2010-02-23 18:04:39 +01:00
Nibble
f3af308727
* Include r_bininfo features in r_bin
...
* Remove r_bininfo
* Add test bin/t/test_meta.c
2010-02-22 04:30:34 +01:00
Nibble
e5c37f89f6
* New implementation of r_array
...
* Huge refactoring of r_bin using r_array (not tested yet)
* Modify list.h in order to avoid collisions with c++ "new" keyword
* Random sanity fixes
2010-02-07 13:17:51 +01:00
Nibble
08d5afd5c5
* Fix configure-plugins sort function
...
* Now r_bin is only using r_buf/r_file for file handling
2010-01-24 12:40:48 +01:00
pancake
9442317413
* Major refactoring patch
...
- Remove plugin prefixes
- It was unnecessary complicated
- Remove unused code
- Some RAPIfication
- Rename _set( methods into _use(
- Simplify some string processing
- r_parse is working again
- Sync all those api changes in r_core
- External static plugin lists moved to .c
- Fix some cast-related segfaults in core
* Review the r_search API
- RAPIfication
- Allow to pass NULL as binmask
- Added TODO with some more ideas
2009-09-24 12:29:05 +02:00
Nibble
94445e1540
* Change the name of some types
...
- s/u64/ut64/
- s/u32/ut32/
- s/u16/ut16/
- s/u8/ut8/
2009-07-08 13:49:55 +02:00
Nibble
2b48d630bf
* r_bin
...
- more refactoring
- r_bin_elf_imports and r_bin_elf_symbols unified into r_bin_elf_symbols
- removed section_resize (needs to be rewritten)
2009-07-07 18:01:49 +02:00
Nibble
811f39c833
* r_util
...
- Add r_str_dup_printf
* r_bin_elf
- Huge refactoring
r_bin_elf_get_{imports, symbols} will be modified soon
r_buf|r_io will be used, so 'swap-endian' and 'malloc-lseek-read' calls will be removed
Need to rethink section resize (temporary disabled)
* rabin2
- Refactoring
2009-07-05 16:49:47 +02:00
Nibble
0efabe19a8
* r_bin
...
- Added r_bin_get_fields
- Added flag -H to rabin2 to list header fields
2009-04-24 12:12:15 +02:00
Nibble
0819be62de
* r_bin & r_bininfo
...
- Added "check" function to plugins
(used by _open for auto setting)
- Removed hardcoded format autodetection
2009-03-25 20:51:26 +01:00
Nibble
7e5f8de7eb
* r_bin_elf
...
- Huge refactoring
* r_bin_pe
- Initial work on pe32+ plugin
* r_bin_java
- Use macro instead of ntohs
- Minor fixups
- Added dummy show_info function
* r_types
- Types fixup
2009-03-19 22:04:50 +01:00
Nibble
758b492739
* r_bin
...
- Removed unnecessary files
- Added initial java support (baddr, entry, syms, strings)
- Minor fixups in r_bin_{elf, pe}
- Added rabin2 -z for strings (not working yet)
2009-03-16 21:07:31 +01:00
Nibble
acc455109f
* Several fixups
2009-03-10 12:21:46 +01:00
Nibble
04c9a3f5d1
* r_bin
...
- Major refactoring (using r_lib infrastructure)
- Removed outdated test programs
- Updated rabin2
--HG--
rename : libr/bin/elf.c => libr/bin/p/elf/elf.c
rename : libr/include/r_bin_elf.h => libr/bin/p/elf/elf.h
rename : libr/bin/elf64.c => libr/bin/p/elf/elf64.c
rename : libr/include/r_bin_elf64.h => libr/bin/p/elf/elf64.h
rename : libr/include/r_bin_elf_specs.h => libr/bin/p/elf/elf_specs.h
rename : libr/bin/mach0.c => libr/bin/p/mach0/mach0.c
rename : libr/include/r_bin_mach0.h => libr/bin/p/mach0/mach0.h
rename : libr/bin/pe.c => libr/bin/p/pe/pe.c
rename : libr/include/r_bin_pe.h => libr/bin/p/pe/pe.h
rename : libr/include/r_bin_pe_specs.h => libr/bin/p/pe/pe_specs.h
2009-03-08 16:49:15 +01:00