Commit Graph

18177 Commits

Author SHA1 Message Date
pancake
4d61d66e29 Add support for the Zig programming language 2018-05-16 17:12:17 +02:00
pancake
d263e32a3b Fix sys/install.sh when builddir have spaces, make still fails 2018-05-16 16:35:53 +02:00
Paul I
cd6416667e Meson: remove duplicated io_plugins entries (#10108) 2018-05-16 12:12:36 +02:00
condret
4863c0aedc Fix #9483 - Refactor and optimize oom (#10105) 2018-05-16 12:12:12 +02:00
pancake
3051005034 Fix yaml syntax 2018-05-16 11:12:18 +02:00
pancake
32197d8567 Fix travis 2018-05-16 11:01:48 +02:00
Paul I
7e9f982849 Meson: some cleanup (#10076) 2018-05-16 10:24:35 +02:00
pancake
338dc2c206 Do not use strncpy/strncat in bin.ninds 2018-05-16 10:23:30 +02:00
Adrian Studer
8b1257f12f Always return sorted xref/ref lists (#10070) 2018-05-16 10:18:12 +02:00
pancake
de6800716a Do not use non-radare r2r when branch is master 2018-05-16 10:17:21 +02:00
pancake
93551610b8 Fixes for the ios-sdk build 2018-05-16 10:16:56 +02:00
Jörg Thalheim
9656ba12aa meson: make git executable optional (#10092)
This is useful for reproducible offline builds
2018-05-16 08:32:26 +02:00
rrreeezzz
b40958266a Fix ihj ELF (#10081) 2018-05-15 23:46:55 +02:00
Luca Di Bartolomeo
0c9b96b682 Support for every output format for callgraph (agc and agC) (#10103) 2018-05-15 23:43:51 +02:00
sivaramaaa
0adef36e84 Fix fcn maxstack issue in variable recovery (#10086)
* Fix afv commands and other issues
* Honor anal.vars
* Fix some issue in stackop due to inconsistent esil
* Fix afvd printing issue
* Fix vars summary and add afv* to help
2018-05-15 23:14:09 +02:00
skuater
bc03bf2f97 initial fix for issue #10097 2018-05-15 18:21:19 +02:00
Khairul Kasmiran
b8f3794e34 Fixed ps N issue with initial nulls 2018-05-15 18:19:31 +02:00
pancake
f4ad472fd1 Fix 52 oobreads in the avr anal plugin 2018-05-15 14:58:59 +02:00
Riccardo Schirone
2a2938f6f9
bin/p/bin_elf.c: fix segfault when accessing non present symbol (#10099) 2018-05-15 14:49:03 +02:00
pancake
d04c78773f Fix #10091 - crash in AVR analysis 2018-05-15 14:44:47 +02:00
mrmacete
a65bbfd32d Rewrite dyldcache plugin
- still supports only 64-bit caches
- use MACH0_ functions
- parse symbols, sections and classes
- use R_DYLDCACHE_FILTER env variable to symbolicate only a subset of the cache
- rebase unslid caches on-the-fly, properly slide slid caches symbols
2018-05-15 14:01:19 +02:00
mrmacete
7be0af355d Avoid calling RBinPlugin->classes() twice 2018-05-15 14:01:19 +02:00
mrmacete
f6729910ee Tweak mach0_classes parser
- expose `get_class_t`
- put an arbitrary limit on the class name instead of using section size, on files like dyld caches sections can be many hundreds of MB long and can cause a 100x slowdown. objc doesn’t define a max length for class names, but for all practical purposes 256 seems fine
- optionally use an external va2pa conversion function, if provided by the bin obj (again, useful for dyld caches in which references can point to data in different sub-bins)
- avoid calling the bin plugin for finding the __classlist section, instead use bin obj directly
2018-05-15 14:01:19 +02:00
mrmacete
ef03be2675 Fix boundary check on swift demangling
- found by ASAN
2018-05-15 14:01:19 +02:00
mrmacete
d60f9c7684 Tweak mach0 parser
- add a `MACH0_(opts_t)` structure to be passed to the constructors, it holds the `verbose` flag and the `header_at` fields for now, but can be tweaked in future without changing the constructors’ signatures all the time
- add support for loading mach0 files where the header is not at offset 0, that’s the meaning of the `header_at` option, this is needed for parsing dyld cache sub-binaries
- the default `MACH0_(new_buf)` constructor now takes a reference of the given buffer instead of making a copy, so got rid of `MACH0_(new_buf_steal)`
- ported the bin_macho plugin to use the new constructor with options
2018-05-15 14:01:19 +02:00
Khairul Azhar Kasmiran
bae0f69aab
psx escapes newlines (#10089) 2018-05-15 19:33:20 +08:00
pancake
a5477b2de0 Fix some unused function when building without support for pty 2018-05-15 12:11:34 +02:00
pancake
05d092453b Enforce embed-bitcode ldflags in ios-sdk 2018-05-15 11:26:42 +02:00
Vanellope
6107339580 added the browse mode to V! (#10095)
* added the browse mode to V!
* added the missing help messages
2018-05-15 12:38:50 +08:00
Paula
9b6e6a305d Add white logo in SVG format (#10093) 2018-05-14 18:13:52 +02:00
xarkes
721b22de60 Added fortune 2018-05-13 12:31:38 +02:00
Khairul Azhar Kasmiran
ec3861ba7b asm.varxs -> asm.var.access, asm.minvalsub -> asm.var.submin (#10088)
* asm.varxs -> asm.var.access
* asm.minvalsub -> asm.var.submin
2018-05-13 10:32:16 +02:00
Khairul Azhar Kasmiran
94b3ae12a8 asm.varsum -> asm.var.summary, asm.vars -> asm.var (#10083) 2018-05-13 04:03:35 +02:00
Luca Di Bartolomeo
367c24aaba Support every output format for the xrefs graph (agx) (#10084)
* add agx xrefs graph
* Fix various crashes if the interactive graph was custom (aggv)
* Fix scroll wheel after exiting interactive graph
2018-05-13 04:02:50 +02:00
pancake
9faa4f695b Fix crash in ragg2 for x86-64 (and spit 'dword' in mov) 2018-05-13 03:59:37 +02:00
Vanellope
a201b19e43 r_core_visual_panels is way too huge so gradually splitting the function. (#10082) 2018-05-12 17:13:40 +02:00
s1kr10s
b3e726d734 radare2_fix_xss (#10077)
This is reflected when the web service is used.

I have added an input filter for the invalid characters in the names of the files to analyze, using the encodeHtmlEntity() function, applied in the variable x[0].uri
2018-05-12 14:01:42 +02:00
Khairul Azhar Kasmiran
f271f86a38 asm.varsub(_only) 🠢 asm.var.sub(only) (#10080)
* asm.varsub_only 🠢 asm.var.subonly

* asm.varsub 🠢 asm.var.sub
2018-05-12 10:54:54 +02:00
Luca Di Bartolomeo
4364aa3bf0 fixes + refactoring (#10078) 2018-05-12 09:19:58 +02:00
pancake
81f7182800 Initial import of the flag tags registry and minor fixes for 'ft' 2018-05-11 17:18:36 +02:00
sivaramaaa
b4dd6530fe Add command afcf to print "return type function(arg1, arg2...)" (#10075) 2018-05-11 15:27:30 +02:00
Khairul Azhar Kasmiran
8011226135 arm asm.pseudo supports asm.varsub_only for fp (#10074) 2018-05-11 12:53:42 +02:00
pancake
e90fd02b97 Upgrade capstone to fix m68k bugs
Revert "Fix #9855 - Enlarge tmpbuf to 128 bytes because capstone code is crap"
- 11f99872f5.
Revert "Fix #9852 - Workaround to avoid capstone-m68k crash"
- 0607b97b01.
2018-05-11 12:51:36 +02:00
Vanellope
51d2b7894e Visual panels refactoring (#10073) 2018-05-11 11:41:22 +02:00
Luca Di Bartolomeo
731b067f25 Add every output support for agg graph + some agf fixes (#10063) 2018-05-11 10:58:33 +02:00
Paolo Monti
b32dd4ca9f Fix #2639, added support for javascript byte arrays in rax2 -F (#10065) 2018-05-11 10:58:16 +02:00
Fangrui Song
5b181a244f Fix meson (#10072) 2018-05-11 09:50:39 +02:00
Khairul Azhar Kasmiran
e32542aa85 arm asm.varsub supports asm.pseudo for fp (#10071) 2018-05-11 09:40:25 +02:00
pancake
04108092f4 Initial implementation of flag tags 2018-05-11 04:39:08 +02:00
Vanellope
44833bd342 Fixed a small stupid bug concerned with editing stack (#10068) 2018-05-10 20:42:32 +02:00