2498 Commits

Author SHA1 Message Date
sivaramaaa
74a5b55925 Honor *q in izzz 2018-01-12 10:02:22 +01:00
whitequark
c7469e0426 Unbreak build when configured as --with-pic --with-nonpic. 2018-01-11 23:09:22 +01:00
whitequark
c816dc7e66 Don't try to build shared libraries if configured as --without-pic.
Specifically, avoid building all plugins as non-static objects,
as well as some supplementary libraries. In fact, a large amount
of plugins was already gated to build as shared objects only with
WITHPIC=1, but this was not done consistently.
This gating has been moved to */p/Makefile.

Building these shared objects is a waste of time and breaks
the --without-pic build unless CFLAGS is forced in the make
invocation.
2018-01-11 23:09:22 +01:00
sivaramaaa
850ee34055 Initial implementation of izzz 2018-01-11 21:59:05 +01:00
Lowly Worm
24833a5294 z64 is only for big endian, the magic was f'd up
needs to be extended to handle .n64 little endian formats
2018-01-10 23:37:05 -08:00
pancake
e5235f7d97 Fix last covs, radiff crash and tweak the z64 bin plugin 2018-01-10 19:18:36 +01:00
pancake
52d93207af Initial de-rcorefile-fication 2018-01-10 13:45:37 +01:00
pancake
f15618a706 Fix versioninfo for ELF, still more to change to use Sdb optimally 2018-01-10 12:08:56 +01:00
Lowly Worm
7da0d9f301 flags on mach0 are fucky 2018-01-09 17:33:25 -05:00
Ren Kimura
358a8823b1 Add notice message for NSO binary loading (#9164) 2018-01-09 20:06:15 +01:00
Lowly Worm
f306a3ae0b segments dont use the S_ZEROFILL, just section 2018-01-08 20:50:55 -08:00
Lowly Worm
3d8833f47c handle S_ZEROFILL sections as sz=0 on mach0
- bss is S_ZEROFILL, it's zero size on disk, but it's zerofilled to fill
the full vsz, so vsz = the size, and sz = 0
2018-01-08 20:45:02 -08:00
Lowly Worm
dde733e799 add the correct magic for z64 2018-01-08 18:48:01 -08:00
Lowly Worm
f87b526ea5 disable n64 until the load issue can be worked out 2018-01-08 09:58:09 -08:00
pancake
4541670e60 Fix build on C-compliant compilers (for(int) issue) 2018-01-08 13:01:30 +01:00
pancake
335938be58 r_str_chop -> r_str_trim 2018-01-08 03:22:26 +01:00
pancake
48896bdfb7 Initial implementation of the dyldcache symbols parsing
- Inspired by dsc_syms.c
2018-01-08 03:05:43 +01:00
pancake
37116971d3 Add bin.useldr and bin.usextr options to tweak RBin loading behaviour 2018-01-07 22:08:53 +01:00
pancake
7f40f36c3a Initial draft implementation of the loader plugins for RBin 2018-01-07 21:54:41 +01:00
pancake
eae93e80d7 Remove obd and fix ob-, update help messages 2018-01-07 18:18:54 +01:00
Lowly Worm
a83edb5ccd typo in license 2018-01-06 16:41:53 -08:00
Lowly Worm
c23fe90280 correctly compute size of .text section on n64 roms 2018-01-06 16:38:55 -08:00
Lowly Worm
86904c13d5
add n64 (z64 format) loader (#9142) 2018-01-06 16:33:49 -08:00
pancake
c8f72e05e2 Speedup the loading of version info for ELF 2018-01-07 01:20:27 +01:00
Lowly Worm
c174990e07 fix typo in bin_bios.c 2018-01-06 12:20:36 -08:00
pancake
c6c91dc666 Handle LD_IC_DYLIB and others in rabin2 -H 2018-01-01 23:42:07 +01:00
Khairul Kasmiran
4968a55da8 Fixed Elf_(r_bin_elf_get_osabi_name) 2017-12-29 21:04:13 +08:00
Michael Scherer
66ab19f30d Add a less hacky detection for OS ABI (#9089)
The previous way is using raw memory matching, which is working
for most cases, but a hack. The new code match using section header
notes instead.

This also add minix support
2017-12-29 10:45:38 +01:00
Ziyaddin Sadigov
d4dd6fd5e6 Fix typo regarding byte size (#9067) 2017-12-27 18:33:58 +01:00
pancake
e87e6f64a4 Do not build the .net thing 2017-12-24 19:47:17 +01:00
Maijin
032aff2d55 Add some missing mfc 2017-12-21 23:01:31 +01:00
pancake
0c2eda71f8 Fix warning reported by gcc7 in wasm.c 2017-12-20 18:58:40 +01:00
pancake
a79d2a7bd9 Initial import of the Yara's .NET parser
- Not yet used, incomplete, but builds
2017-12-20 02:47:07 +01:00
pancake
0b1e8eaecc Fix almost all warnings from the msvc build 2017-12-19 00:18:39 +01:00
pancake
e3c1a803db Fix warnings with GCC 2017-12-08 15:47:48 +01:00
Christos Tsopokis
a16d88aa3a Fix arm mach o i aj format (#8961)
* fixed json format issue for iA command on arm fat mach-O files (xtr format not fixed

* adding a bug fix branch for the list as well

* identation fix

* identation fix 3

* identation fix 5

* identation fix 6

* identation fix 6
2017-12-07 10:46:22 +01:00
pancake
0828e5d429 Fix format string issues for windows printf on mach0 and nro 2017-12-03 19:45:54 +01:00
Christos Tsopokis
1089e82a75 Fix json format issue for iA command on arm fat mach-O files Fix #8927 2017-12-03 19:32:38 +01:00
Anton Kochkov
4ef6b508ec
Fix #8031 (#8896) 2017-11-27 16:01:49 +08:00
Anton Kochkov
7ad0152b35 Fix PE endian issue 2017-11-27 13:26:13 +08:00
pancake
e467c81fe1 Implement /ce to search esil expressions matching given string 2017-11-26 19:56:09 +01:00
Khairul Azhar Kasmiran
e8edb95304 Extend str.escbslash to work with iz (#8882) 2017-11-26 01:37:12 +01:00
Tatsuyuki Ishi
754e0e32f9 pdb_downloader: remove redundant static 2017-11-25 13:16:21 +01:00
Tatsuyuki Ishi
6f53a6a69f PDB downloader: workaround MS server bug Fix #8848 2017-11-25 11:24:33 +01:00
Anton Kochkov
c5cf714a6d
Enable missing plugins for AppVeyor (#8876) 2017-11-24 13:13:01 +08:00
pancake
6514041110 Add aflc command to count functions 2017-11-23 18:57:33 +01:00
pancake
474e6586f8 Detect lang=go in ELF binaries 2017-11-22 01:06:57 +01:00
Rick Altherr
750170e27b bin_mz: implement header command (ih) 2017-11-20 03:06:40 -05:00
Rick Altherr
f5689beef4 bin_mz: Restructure check_bytes for clarity
As checks have been added for file formats that include an MZ header but
are handled by a different plugin, bin_mz's check_bytes has gotten hard
to understand.  Restructure it as a default true with early exits to
simplify the logic.
2017-11-20 03:06:40 -05:00
Khairul Kasmiran
645aa62758 vstart_off → i 2017-11-18 13:48:21 +08:00