12305 Commits

Author SHA1 Message Date
BlueC0re
bf33929287 Feature/var struct offsets (#5733)
* delete variables which are shadowed by a structure field
* implemented varsub with structure fields (currently only depth of 1)
2016-09-12 22:43:05 +02:00
pancake
c125f577e1 Revert "Upgrade capstone-next from git"
This reverts commit 547e98e1f400146586d36a4da67bd2507f73f014.
2016-09-12 22:41:21 +02:00
n4☠0r
811f902b5c Child thread heap analysis support (#5741) 2016-09-12 22:08:16 +02:00
pancake
d2e0a7e0fa Fix 'Cannot allocate issue via rap:// 2016-09-12 22:06:58 +02:00
Vlad Ivanov
0f168ff73b anal_xtensa: fix l32r offset calculation (#5740) 2016-09-12 21:18:43 +02:00
pancake
547e98e1f4 Upgrade capstone-next from git 2016-09-12 21:16:10 +02:00
pancake
7c1d783d4d More fixes for ios-static 2016-09-12 21:13:24 +02:00
pancake
496da56a9e Fix sys/ios-static.sh 2016-09-12 20:52:12 +02:00
Vlad Ivanov
b0b71f9f09 aae improvements (#5727)
* anal: increment instruction ptr even when no ESIL result is available

* anal: axf: try to resolve function names for 'C' refs

* disasm: print function names for 'C' refs
2016-09-12 18:41:11 +02:00
Marc
c3c0363196 Check array boundaries for proto, types, fields and methods in DEX 2016-09-12 18:39:23 +02:00
Anton Todorov
6a6b4ec7f3 Remove unused variable in r_debruijn_offset() 2016-09-12 18:31:48 +02:00
Ahmed Mohamed Abd El-MAwgood
db1d20c054 stack frame size for xtensa functions (#5734) 2016-09-11 23:36:55 +03:00
Vlad Ivanov
3de8491858 xtensa calling convention (#5731) 2016-09-11 04:25:08 +02:00
jvoisin
3f2cb95869 Sort a bit the fortunes 2016-09-10 18:47:51 +02:00
pancake
61bb951cfd Fix dex oob index and uninit access issues 2016-09-10 16:31:28 +02:00
pancake
798952b561 Fix #5723 - fix null deref in elf.destroy 2016-09-10 13:22:29 +02:00
pancake
edb720d791 Add r_str_{starts|ends}with 2016-09-10 13:19:43 +02:00
pancake
f12b1dbec8 Fix #5720 - Add v in VV 2016-09-10 13:17:09 +02:00
Maijin
532606160a Fix (null) in afna
Fix (null) in afna
2016-09-10 11:36:07 +02:00
Maijin
aa9139d9e4 Add ?$ in the documentation 2016-09-10 00:37:09 +02:00
Ole André Vadla Ravnås
abc9187e14 Fix invalid free() on teardown for io plugins (#5722)
For example given a plugin defined like this:

RIOPlugin r_io_plugin_foo = {
	.name = "foo",
	...snip...
};

#ifndef CORELIB
RLibStruct radare_plugin = {
	.type = R_LIB_TYPE_IO,
	.data = &r_io_plugin_foo,
	.version = R2_VERSION
};
#endif

We will try to `free(&r_io_plugin_foo)`, which was not allocated on the
heap. Static io plugins are OTOH allocated like this, so we need to do
the same for dynamically loaded io plugins. However, this is not the same
across the different plugin types, so we need to special-case io plugins
here.
2016-09-09 19:30:23 +02:00
Paul
10db9ed827 pdf/pdr/anal fix (#5709) 2016-09-09 19:28:47 +02:00
Marc
a76977a895 Enhance DEX parser 2016-09-09 19:27:36 +02:00
jvoisin
9fdc110816 Fix a typo 2016-09-09 14:52:29 +02:00
Vlad Ivanov
c82e9d7867 anal: fix aae command arguments handling 2016-09-09 14:34:15 +02:00
leberus
03b2079c15 Fix: fix segfault for really long mapped files processes (#5714) 2016-09-09 14:30:41 +02:00
pancake
59c72bed21 Fix #5715 - Show ?0 variables in ?$ 2016-09-09 14:29:42 +02:00
pancake
618ac8ad03 Fix format string vuln in r_cons_yesno 2016-09-09 14:08:47 +02:00
pancake
8ed95246d7 Fix esil expression for x86 2016-09-09 14:02:49 +02:00
Maijin
6bb5c88116 Fix typo in types-x86-windows
Fix typo in types-x86-windows
2016-09-09 14:02:13 +02:00
Álvaro Felipe Melchor
61fd4f6d0d added message entitlement mach when malformed 2016-09-08 14:45:11 +02:00
Anton Kochkov
b86f1c471d Add , help 2016-09-08 13:24:42 +03:00
Álvaro Felipe Melchor
7ea11a38c5 remove check in check_sections pe.c 2016-09-07 20:08:57 +02:00
Álvaro Felipe Melchor
89de312a06 fix coding style in pe.c 2016-09-07 20:08:54 +02:00
Álvaro Felipe Melchor
d1b4435405 added comments into RBinPlugin 2016-09-07 20:08:53 +02:00
Álvaro Felipe Melchor
7826f7fda7 fix crash due to latest changes in anal 2016-09-07 20:06:36 +02:00
pancake
a458a36814 Fix android build 2016-09-07 00:10:25 +02:00
Vlad Ivanov
676d4dbc2d core: anal: ref R_ANAL_REF_TYPE_CALL for R_ANAL_OP_TYPE_UCALL (#5706) 2016-09-06 23:00:59 +02:00
Vlad Ivanov
38e9b80943 anal_xtensa: set jump_target in esil (adds ref during aae) (#5707) 2016-09-06 23:00:04 +02:00
dromero
d250d21385 Fix for the #5671 issue (#5704) 2016-09-06 12:02:38 +02:00
Maijin
8b413f101e asm.relsub=true by default
asm.relsub=true by default
2016-09-06 10:22:57 +02:00
pancake
2952120e88 Add p=0 and p=F 2016-09-06 05:17:44 +02:00
pancake
6df53f8bb1 Fixes for enum types in t and pf 2016-09-06 04:29:42 +02:00
Álvaro Felipe Melchor
11bbcfd690 Fix bad interpretation from dynamic section (#5702)
We were not using correctly DT_PLTREL
2016-09-06 02:53:45 +02:00
pancake
6fabf7acc2 Set leahints to false by default 2016-09-06 02:48:01 +02:00
pancake
d77d7984aa Fix build 2016-09-05 21:56:39 +02:00
Paul
30a0987c0a Various analysis enhancements
* Updated anal.nonskip is updated
* Possible infinite recursion fix
* anal.hpskip is added (false by default)
* mips fix; build fix; flag_exist_at callback is added
* nopskip fix
* asm.leahints fix
2016-09-05 20:42:04 +02:00
Roman Valls Guimerà
0e3b2c20a0 A bit more documentation on ESIL (for AVR) does not hurt (#5701) 2016-09-05 20:38:01 +02:00
Maijin
003ecd5108 Man correction -n is the new -N and opposite 2016-09-05 14:19:40 +02:00
BlueC0re
00d74d68e1 fixed array types in parsing routines + added special case for char[] (#5696)
Interpret char[] as char* in the pf format (use z instead of c).
2016-09-05 12:17:01 +02:00