2274 Commits

Author SHA1 Message Date
pancake
9372c11996 Fix #7887 - null deref in bin_get_endian() 2017-07-09 13:08:13 +02:00
Simone Ferrini
283c2796d1 [bin_mach0] added NULL check to fix a segmentation fault (#7846) 2017-07-01 15:00:17 +02:00
pancake
9be31cfd9c DT_FLAGS_1 are bitfields not a plain value, fixes full relro detection 2017-06-29 16:01:07 +02:00
SkUaTeR
c31d81da26 support for static build (#7822)
* support for static build
* improved sharard/static build
2017-06-28 22:54:40 +02:00
pancake
fc41044e93 Iterate over all DT_FLAGS, and update capstone 2017-06-27 18:16:37 +02:00
pancake
6a7e609cfb Handle DT_FLAGS -> DT_1_NOW as DT_BIND_NOW for proper relro detection on ELF 2017-06-27 17:59:48 +02:00
Marc
1c772a9672 Enhance icj, ic and id in Dex (#7821) 2017-06-27 17:02:14 +02:00
radare
1d4499ebdc Detect utf32 (wide32) strings with rabin2 -z
* Detect utf32 (wide32) strings with rabin2 -z
* Make r_print_hexdump happy with NULL RPrint
* Adjust wide string starting address if its starts with fffe
* Fix regression on null bytes confusing utf32 strings detection
2017-06-20 13:55:42 -05:00
pancake
0ddf174dc4 Detect utf32 (wide32) strings with rabin2 -z 2017-06-20 10:57:00 -05:00
xarkes
ca5a68ebb3 Adding files to meson + windows env refactor 2017-06-20 18:03:30 +08:00
xarkes
46deac0dde Fixing appveyor build (#7735) 2017-06-14 13:45:48 +02:00
pancake
6ad2ced0fe Remove wtf ia* call from cconfig 2017-06-12 16:37:01 +02:00
alvarofe
abe88502c9 Return exports and import when found error
This improves some pe like CoST.exe one
2017-06-08 18:24:36 +02:00
pancake
87ba2bb95f Support HEXAGON cpu type in ELF 2017-06-07 11:06:59 +02:00
sroxy
7e3072d8f4 mbn: fix image type check (#7684)
aboot.mbn isn't recognized by r2 because the check is too strict,
valid values for load_index (aka image_id) start from 1, aboot.mbn is using 5.
Fixes #7681
2017-06-06 09:52:17 +02:00
pancake
cc2e4688ec Fix last covs 2017-06-01 13:16:55 +02:00
SkUaTeR
dc7914644e Meson improvements 2017-05-31 13:38:47 +02:00
SkUaTeR
0596c1c08e Meson shlr libs 2017-05-30 18:38:19 +02:00
radare
f0e1d77a40 Fix the DEX crash regression with invalid method names (#7635) 2017-05-30 15:44:57 +02:00
pancake
4ee963ee98 Fix some clang-analyzer issues 2017-05-29 15:01:11 +02:00
pancake
40b87865a8 Fix listing methods of classes in Java bins 2017-05-29 01:18:04 +02:00
Álvaro Felipe Melchor
64c11b5de8 Fix #7573 - override shdr with phdr symbols (#7612)
Those whose offset are 0 are skipped to avoid overlapping
2017-05-28 23:10:35 +02:00
pancake
6758e3753d Remove configure-plugins dependency for the make meson 2017-05-26 02:43:53 +02:00
armijnhemel
12275461d0 Set flag to also demangle flags 2017-05-25 15:40:50 +02:00
pancake
3a262ba5d7 Fix file containing (null) issue in dwarf 2017-05-25 15:14:18 +02:00
pancake
e0d116780c Fix possible null deref in nro 2017-05-24 13:09:20 +02:00
Stanisław Drozd
6be7cc1f90 Fix a simple bug in r2pm; make r_bin_get_size() behavior more intuitive (#7582)
* r2pm: remove "set -e" to fix the later gmake check
* bin.c: return 0 on missing object in r_bin_get_size()

When running "radare2 --", commands like iZ  would normally print
UT64_MAX (0xfff... or -1) when o is NULL, which seems misleading.
Besides, the function's return value is unsigned anyway.
2017-05-23 23:00:33 +02:00
Raúl Peñacoba
5fa1013a4f bin_sfc.c: fix NULL dereference when R_NEW0 fails (#7548)
* bin_sfc.c: fix NULL dereference when R_NEW0 fails

* Update bin_sfc.c
2017-05-23 11:12:49 +02:00
armijnhemel
114b266830 fix binding reporting for WEAK symbols (#7555) 2017-05-21 22:04:35 +02:00
pancake
10cae38182 Fix #7506 - Fix load_bytes for NRO 2017-05-19 13:46:58 +02:00
pancake
8926ef0e6b Support r2 -B for NES roms 2017-05-18 01:34:14 +02:00
alvarofe
9f8a1586e8 Fix memleak in resource code 2017-05-15 18:34:54 +02:00
alvarofe
c80221d0c9 Fix mapping when imageBase is greater than bin->size PE 2017-05-15 18:26:00 +02:00
alvarofe
d74ff6bac1 Fix mem leak in resourece pe 2017-05-15 10:34:19 +02:00
Álvaro Felipe Melchor
99c90aad56 Add resource support into radare for PE files 2017-05-15 01:00:49 +02:00
SkUaTeR
9a1337512a meson.build fixes to build with MSVC 2017-05-14 23:06:00 +02:00
pancake
1f34e3f450 Identify main for ELF arm64 binaries (tested on ubuntu-pinebook) 2017-05-13 17:38:53 +02:00
alvarofe
27282d50cb Use of r_read_ble32 to detect main in pe 2017-05-13 13:17:11 +02:00
pancake
7f7df81926 Fix memleak in PE entrypoint detection 2017-05-13 12:47:12 +02:00
pancake
6a140bfc5b Support another main signature for PE 2017-05-13 02:14:01 +02:00
SkUaTeR
28f785daa0 MSVC compile correctly (WIP) 2017-05-13 00:42:00 +02:00
Maijin
13240358a7 enhance main detection for MSVC 2017-05-12 18:24:46 +02:00
Juan Pablo Canepa
7dcf4bf796 Removed unneeded message from build system (#7478) 2017-05-11 21:06:01 +02:00
pancake
b24281c9c5 More fixes for mingw 2017-05-10 15:32:34 +02:00
pancake
1db8c637ae Fix meson build on macOS 2017-05-10 00:05:50 +02:00
SkUaTeR
beb80cfc16 Fixes for MSVC 2017-05-09 23:53:20 +02:00
alvarofe
a24dc27556 Move jni init function into entrypoints 2017-05-09 22:41:06 +02:00
Giovanni
72b643654d iCj - Signatures in JSON format 2017-05-09 14:43:07 +02:00
xarkes
926f024909 Improved MSVC support (WIP) 2017-05-09 14:25:57 +02:00
pancake
0b4e63c732 Support Java_*_init pattern for JNI libs 2017-05-09 04:09:27 +02:00