Commit Graph

10429 Commits

Author SHA1 Message Date
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
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
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
pancake
66b87e12fd Fix crash in self:// 2016-09-05 04:35:05 +02:00
Anton Kochkov
c23c5971a2 Fix macroses help 2016-09-05 04:45:41 +03:00
Ahmed Mohamed Abd El-MAwgood
38f8f7bf60 fixing bug in anal type matching
It should stop its work if the calling convention is not found
2016-09-04 19:13:10 +03:00
BlueC0re
c4f301e52e Fix null pointer deref in meta variable comments 2016-09-04 16:58:00 +02:00
BlueC0re
5d3c7d1d36 Added array size support for structures 2016-09-04 16:49:12 +02:00
Vlad Ivanov
1dbcdb3ca8 anal_xtensa: fix "callx0 a0" ESIL (#5689) 2016-09-04 14:24:13 +02:00
pancake
dad6847883 Add zG exact-match zignatures support 2016-09-04 14:13:08 +02:00
Álvaro Felipe Melchor
158d3fcc6b More ELFic works 2016-09-04 14:03:35 +02:00
pancake
07656c523b Fix #5684 - Add cfg.minzlen to force minimum length as valid zignatures 2016-09-04 14:02:27 +02:00
pancake
e3e95d1f4c Implement optimized zo command 2016-09-04 13:54:37 +02:00
pancake
e6324bcc62 Add zo command and fix build 2016-09-04 13:44:02 +02:00
Álvaro Felipe Melchor
4d82d3b3bb fix build 2016-09-04 13:43:31 +02:00
pancake
69cefa1442 More fixes for agv path discoverty 2016-09-04 13:31:37 +02:00
NighterMan
9f7ebda012 Fix for invalid JSON ouput on search cmd 2016-09-04 12:17:46 +02:00
pancake
6b5e4f151b Add core.breakLoop for 1000ds and fix 'ds #' 2016-09-04 01:05:14 +02:00
pancake
e4948d4c28 asm.emustr enables asm.emu automatically 2016-09-03 20:31:30 +02:00
pancake
dbffaeb602 Aim to fix the missing font tag issue in scr.html 2016-09-03 18:38:12 +02:00
pancake
b3ccf6387c More checks for agv 2016-09-03 17:57:30 +02:00
pancake
0db8170801 Fix latest covs 2016-09-03 17:26:56 +02:00
SkUaTeR
d5c0671a50 fixed esil STOSB opcode for 16 bits (#5676) 2016-09-03 17:08:21 +02:00
pancake
ea09d9df2b Fix pxr0 regression 2016-09-03 17:08:02 +02:00
Álvaro Felipe Melchor
41a584b91b cache symbols and imports from phdr 2016-09-03 16:58:36 +02:00