pancake
059ad1a51c
Differentiate methods from functions in objc parser
2016-08-09 01:40:12 +02:00
Álvaro Felipe Melchor
32335f7635
fix regression
2016-08-07 19:16:02 +02:00
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
pancake
eb9feef231
Fixes for powerpc endian in mach0 and other issues
2016-06-06 22:57:22 +02:00
Álvaro Felipe Melchor
b7cc6c04d7
LDID parse signature in mach0 binaries
...
* added iC command to show signature info
in the case of mach it shows entitlements
* added rabin2 -OC to get signature info from binary
* change swap to r_read_bleX new API
* change eprintf to r_cons_printf
* add const char in plg->signature
2016-05-09 23:42:28 +02:00
pancake
5867365cd5
Add dummy work for mach0 in rabin2 -O
2016-04-07 15:42:06 +02:00
pancake
02abba69f1
Fix #4253 - 1 byte oob read in mach0
2016-03-07 13:23:01 +01:00
pancake
3140749266
Fix #4095 - Export RBinSection info for mach0.la_symbol_ptr
2016-02-16 02:58:29 +01:00
alvaro_fe
a6e4d6b93e
Fix #838
2015-12-16 11:40:23 +01:00
pancake
25ec4623b4
Fix 3757ca.. objc mach0 crash from @revskills
2015-11-22 23:08:53 +01:00
pancake
88038a85ad
Fix some RBinSymbol->name issues and drop null defs (-211LOC)
2015-11-22 01:09:02 +01:00
pancake
45de9bc433
Shrink Imports and Strings RBin memory footprint
2015-11-09 04:41:31 +01:00
pancake
baf63a0cba
Reduce RBinSymbols memory (smaller footpronum)
2015-11-09 03:41:07 +01:00
pancake
1b88200e31
Add support for 'interpreter' in RBin, ELF and MACH0
2015-10-22 02:13:26 +02:00
condret
c39f33bc77
fix a -Wunused warning
2015-10-22 00:40:29 +00:00
pancake
366ba23b30
Fix ab88f42f9b mach0 crash (reported by @revskills)
2015-10-21 23:46:41 +02:00
Álvaro Felipe Melchor
748564683e
Fix #3518
2015-10-20 23:52:34 +02:00
pancake
1b5cd887ce
Disobey rabin2 -B if bin is not pie, enhace dmm* and mach0
2015-10-19 02:41:21 +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
inisider
3b378c50ac
some refactor and fix code style
2015-08-10 13:48:48 +02:00
inisisder
eca3a781c0
objc class parser code refactoring
2015-08-10 13:48:47 +02:00
inisisder
d8af00ea36
add parsing of objc classes from binary
2015-08-10 13:48:47 +02:00
Jonathan Neuschäfer
523aa3af5c
add .version to all plugins
2015-07-12 19:05:33 +02:00
pancake
6ed4d5a94b
Comment the mach0's symtab parser, rabin2 -u and more
2015-07-05 03:25:20 +02:00
pancake
e26f86d654
Fix null deref issue in last mach0 commit
2015-05-23 11:43:32 +02:00
pancake
2353737e17
Fix #2602 - Detect Canary and Go in MACH0 binaries
2015-05-23 10:55:44 +02:00
pancake
c687641b17
Fix rbin regression by fixing compiler warnings
2015-05-11 20:04:00 +02:00
pancake
b4a11cb3cf
Fix main symbol align for thumb
2015-05-06 02:42:35 +02:00
pancake
1bdf7430a8
Handle thumb on MACH0 binaries in a better way + tests
2015-05-05 11:44:00 +02:00
Anton Kochkov
7e79b198b1
Fix some more Coverity issues
...
Fix CID 1171365
Fix CID 1211169
Fix CID 1230038
Fix CID 1295063, 1295062, 1295061
Fix CID 1295070
Fix CID 1295068
Fix CID 12950067
2015-04-19 04:53:08 +03:00
Anton Kochkov
1479aeca8e
Fix a few Coverity issues
...
Fix CID 1205204
Fix CID 1171365
Fix CID 1135001
Fix CID 1134921
Fix CID 1134848
Fix CID 1134840
Fix CID 1134824
Fix CID 1267983
Fix CID 1230038
2015-04-19 03:15:29 +03:00
pancake
dff11411cc
RBinInfo is now dynamically allocated
2015-03-25 14:49:33 +01:00
pancake
1ea6a79d81
Fix null deref when failing to load a fatmach0
2015-02-04 02:40:48 +01:00
pancake
262b0cfd55
A fix for a MACH0 crash
2014-12-11 19:57:01 +01:00
pancake
a8dc744f48
Fix #1811 - Corrupt ELF header crashes r2 - reported by @crowell
2014-12-09 04:19:16 +01:00
Riccardo Schirone
aaa822f03b
More work on mach0 format parser
...
* use segment instead of sections
sections are optional. it should be better to rely on segments
* remove r_bin_mach0 prefix
make the source code easier to read. considering this is a plugin, it's
completely separated from other stuff and we can rename things without
problems.
* remove MACH0_ prefix from static functions
* fix a mistake. we should check segs, not sects
* get right entrypoint also for LC_THREAD
* fix logic to retrieve entry offset/addr
first it computes the virtual entrypoint address and then it finds the
offset in the file through addr_to_offset
2014-11-24 11:57:54 +01:00
Riccardo Schirone
590a18ea23
libr/bin/format/mach0: check filetype in r_bin_mach0_get_baddr
2014-11-23 11:06:10 +01:00
Riccardo Schirone
c1441b6ef2
libr/bin/format/mach0: fix baddr
2014-11-23 11:06:09 +01:00
jvoisin
f7b05fe65d
Coverifix rampage!
2014-08-04 01:21:38 +02:00
pancake
314ab38a78
Fix all latest coverity issues
2014-07-21 17:51:20 +02:00
pancake
cf64a5dd75
Fix #1117 - Bring back rabin2 -c
2014-07-17 09:40:35 +02:00
LemonBoy
6d83b07224
Prettify the mach0 baddr method
2014-07-11 23:32:44 +02:00
pancake
2b6816a13e
Fix invalid memory access for mach0s
2014-07-06 00:32:21 +02:00
pancake
3dfadc0b30
Fixed several issues on PE/ELF/MACH0
...
- relocs, entry0 vaddr and baddr
- fix tiny.elf crash (null deref on *bin ptr)
2014-06-27 01:20:54 +02:00
pancake
63ae19c650
Implement RBinInfo->is_stripped for MACH0 files
2014-06-10 20:50:48 +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
0267c89bc5
Fix CID 1214327
2014-05-17 03:22:00 +04:00
Anton Kochkov
4b94e61661
Fix CID 1214326
2014-05-17 02:33:02 +04:00
Adam Pridgen
19760814be
Fix CID: 1214312
2014-05-15 08:33:45 -05:00