11168 Commits

Author SHA1 Message Date
Sven Steinbauer
64bea8794c Add support for blx op with register values 2016-11-14 11:48:49 +00:00
pancake
5322cc17d5 Implement aaT to analyze after traps (and nopsleds) 2016-11-14 12:09:29 +01:00
Sven Steinbauer
ef448c64fe Fix ldr assembly for 4 bit values
values that can be expressed with 4 bits care outputted with shorter instructions.
2016-11-14 09:18:37 +00:00
pancake
a8ad157026 Initial support of linux-arm-32 for ragg2-cc 2016-11-14 04:24:50 +01:00
pancake
3bcad010f1 Add more anal/d/types 2016-11-14 02:15:12 +01:00
pancake
cbcdd4de0c Properly deinitialize the anal.trace after afta 2016-11-14 01:46:39 +01:00
pancake
f40209baf8 Hide loop-max warning for afta 2016-11-14 01:30:14 +01:00
pancake
b070e13f75 esil.verbose honored to reduce warns in afta 2016-11-14 01:17:58 +01:00
pancake
41c91f4db6 Add more types getpid, write, .. 2016-11-14 01:17:42 +01:00
pancake
5878c116d4 Do not set anal.bits twice 2016-11-14 00:13:34 +01:00
Marc
c4428f088d Haddr entrypoints for ELF, PE and mach0 (#6167) 2016-11-13 23:34:45 +01:00
pancake
24e08bb23d Aim to fix the asm.emu regression after the memoization 2016-11-13 23:32:24 +01:00
pancake
15ee118550 Fix r_num_is_float() 2016-11-13 22:12:19 +01:00
pancake
e6ce86c7f3 Do not reload anal plugin if is the same 2016-11-13 22:11:37 +01:00
pancake
7fc002dfd9 Remove unnecessary call to impaddr() and some reindents 2016-11-13 01:40:44 +01:00
pancake
0e9efc635b Honor type in drb (thanks @skuater) 2016-11-13 00:07:06 +01:00
pancake
77f1b4fbf5 Add @arena modifier to the 1st column in the reg profile 2016-11-12 23:19:03 +01:00
pancake
5accea8d56 Fix #6174 - Honor scr.html after the html pipe 2016-11-12 23:02:48 +01:00
Duncan Ogilvie
e16b490db5 fixed incorrect jna/jbe (#6185) 2016-11-12 17:58:00 +01:00
Sebastian Reichel
0deb096ea7 Fix magic files (#6178)
* magic: fix 'Printf format is too long' warnings

* magic: fix warning: Current entry does not yet have a description for adding a MIME type

* magic: fix mime type for debian packages

* magic: workaround for libmagic bug

libmagic currently warns about beshort/leshort type being
printed as "%hd" with the following warning:

Printf format is too long for type `leshort' in description `%hd'

As a workaround the short value can be printed using '%d'
without generating a warning.
2016-11-12 11:10:09 +01:00
Sebastian Reichel
e9383b1441 Arch independent data in share (#6183)
* magic data is architecture independent

* fcnsign data is architecture independent

* opcode data is architecture independent

* syscall data is architecture independent

* hud data is architecture independent
2016-11-12 11:08:34 +01:00
oddcoder
6c853210eb FIX #59999 (#6182)
it was shitty typo, but it helped finding another bug where
r_anal_type_get_size never took arrays in concideration, not it should
work well.
2016-11-12 00:08:40 +02:00
Sven Steinbauer
9eb8802a0e Handle numeric values for ldr rN, [rN, N]
does not handle special cases with values ending in 0, 4, 8
2016-11-11 19:09:42 +00:00
Sven Steinbauer
26cdbfdbdc Fix thumb ldr r0, [rN] assembly 2016-11-11 08:37:06 +00:00
Lowly Worm
7444c14a94 fix leaks and null deref
COV
CID 1365729
CID 1365728
CID 1365727
2016-11-10 22:26:15 -08:00
Álvaro Felipe Melchor
d4b91790b0 bp and sp both must be zero 2016-11-10 13:35:38 +01:00
Álvaro Felipe Melchor
bb6daf8d0f Fix regressiong with aeim 2016-11-10 12:41:22 +01:00
pancake
ec15203dc4 Fix aeim- and show warning when reinitializing aeim 2016-11-10 12:32:34 +01:00
pancake
700955a186 Add HTML pipe for #5934 (x H> a.html) 2016-11-10 12:02:27 +01:00
pancake
4e3837ad8f Fix last COVs 2016-11-10 11:44:00 +01:00
pancake
a4ab69320b Fix _IOR usage to make every linux taste happy 2016-11-10 11:14:00 +01:00
pancake
129212d127 Honor _IOR from kernel if available 2016-10-29 03:00:27 +02:00
pancake
fa473b86c4 Fix #6168 - Initialize stack for aaaa 2016-11-10 10:22:47 +01:00
Sebastian Reichel
ff868af3be asm_m68k_cs: Add missing CORELIB check (#6169)
radare_plugin should not be defined for builtin plugins.
2016-11-10 10:14:45 +01:00
pancake
19295f880e Add missing SN in linux-arm64 debugger reg profile 2016-11-10 02:57:34 +01:00
Stefan Marsiske
ec4e60d2bd fix radare_plugin redundantly defined (#6165)
without these guards the linker complains:

p/asm_z80.o:(.data.rel+0x0): multiple definition of `radare_plugin'
p/asm_m68k_cs.o:(.data.rel+0x0): first defined here
collect2: error: ld returned 1 exit status
2016-11-09 17:35:47 +01:00
Álvaro Felipe Melchor
e4f57ae9ca refactor izz and fix regression 2016-11-09 17:21:37 +01:00
pancake
831f8151b6 Fix #6160 - dupplicated -1 in x86-32's b8ffffffff 2016-11-09 02:52:26 +01:00
pancake
a9607cf526 Fix #6163 - crash in Vst 2016-11-09 02:35:44 +01:00
Álvaro Felipe Melchor
f5166f936d Fix some meamleaks (#6156) 2016-11-09 02:28:14 +01:00
pancake
b5c2facba3 Refactor, cleanup and fix proects, still wip 2016-11-09 02:27:12 +01:00
Álvaro Felipe Melchor
6ba8497f81 aim to fix #5982 2016-11-08 23:48:25 +01:00
Álvaro Felipe Melchor
06b08f43b9 Revert change from uninitialized values 2016-11-08 17:24:00 +01:00
Álvaro Felipe Melchor
df4f5d70c0 fix regression 2016-11-08 16:47:13 +01:00
pancake
8804952eec Fix some uninitialized arguments 2016-11-08 15:37:44 +01:00
pancake
ca730772f4 Fix wrong usage of sizeof(ptr) 2016-11-08 15:12:43 +01:00
pancake
ea5c83ce4e Fix a bunch of malloc(0) 2016-11-08 15:09:52 +01:00
pancake
d78220d023 Fix sandbox scape in chroot 2016-11-08 14:52:25 +01:00
pancake
f23336b393 Fix null callback issue in io.self 2016-11-08 14:46:50 +01:00
pancake
56b4b75277 Fix android build 2016-11-08 14:33:15 +01:00