3813 Commits

Author SHA1 Message Date
jvoisin
79206f80a5 Fix CID 1134708 2014-05-09 11:17:04 +02:00
jvoisin
e483309b9b Fix CID 1134520 2014-05-09 11:17:04 +02:00
jvoisin
1a6dedb5e8 Fix CID 1134519 2014-05-09 11:17:04 +02:00
jvoisin
2c92294b55 Fix CID 1134507 2014-05-09 11:17:03 +02:00
pancake
aa1e7c22fc Fix #906 - Error in nibble search 2014-05-09 10:50:57 +02:00
pancake
1eb08738ba Fix #904 - s/???/invalid/g 2014-05-09 10:48:23 +02:00
jvoisin
9bab36a728 Fix CID 1134827 2014-05-09 10:46:33 +02:00
pancake
731fc03a29 FIx #905 - assemble rdtsc and fix /c 2014-05-09 10:39:56 +02:00
pancake
ee276298b2 Fix memleaks in radiff2, segfaults in 8051 and aagraph 2014-05-09 03:06:05 +02:00
Anton Kochkov
33d5dfbca4 Fix build 2014-05-09 03:53:27 +04:00
Anton Kochkov
bf6e827551 Fix 8051 segfaults 2014-05-09 03:49:36 +04:00
Anton Kochkov
09a8722efa Fix CID 1135016 2014-05-09 03:49:35 +04:00
Anton Kochkov
01a7d72362 Fix CID 1134848 2014-05-09 03:49:35 +04:00
pancake
b52be45418 Fix pe parser issues spotted by corkami tests 2014-05-09 01:22:06 +02:00
jvoisin
91c0aa511e Fix CID 1212089 and simplify cmd_meta_lineinfo 2014-05-09 01:10:42 +02:00
pancake
4c50cbe5a3 Remove all MAKE_JOBS references 2014-05-09 01:09:09 +02:00
jvoisin
7111d5f8e0 Fix CID 1212088 2014-05-09 00:57:20 +02:00
jvoisin
48c72e9fa0 Fix CID 1212095 2014-05-09 00:52:48 +02:00
Anton Kochkov
93757f045a Fix CID 1137867 2014-05-09 01:52:59 +04:00
jvoisin
76fbd4119c Fix some gcc warnings 2014-05-08 23:20:42 +02:00
deeso
4ad0f2a400 Tweaking bin plugins so that they can check bytes along with a binfile and fixed extraneous * in buf.c and r_util.h 2014-05-08 14:09:10 -05:00
deeso
621e425e26 Adding buffer accessors 2014-05-08 12:27:50 -05:00
pancake
887f15b03d Add r_bp_del_all (db-*) and fix some more bugs 2014-05-08 17:38:29 +02:00
Fedor Sakharov
5ec72d68c8 ARC: print numbers in hex, don't use 0x prefix if the number is in [0..9]
Fixes #306
2014-05-08 12:28:02 +04:00
pancake
201231a7a5 Fix remaining segfault in RCons.canvas, still trashy output 2014-05-08 02:58:20 +02:00
pancake
7fa79a3f36 Fix some RCons.canvas bugs 2014-05-08 02:26:42 +02:00
Ilya V. Matveychikov
8167a31d8a tms320: remove unicode symbols from the c55x opcode table 2014-05-08 01:42:39 +02:00
pancake
773b033620 Fix negative/huge mallocs in PE parser and fix invalid fd close 2014-05-08 01:32:06 +02:00
Jody Frankowski
3ff35276bb Fix -Wformat warnings. Use ut64 instead of uint64_t where needed. 2014-05-08 02:12:20 +04:00
pancake
aa1cfa62cb Fix overflow in search hits 2014-05-07 23:49:36 +02:00
Ilya V. Matveychikov
12fd2dffbd tms320: add XACS/XACD fields parsing for the x55x
It was surprising for me that these fields are not parsed properly. Found that
by crafting test cases in radare2-regressions.

Also, opcode table for the c55x was slighly incorrect. Hope, next patch will fix
that confusion.
2014-05-07 23:43:28 +02:00
Ilya V. Matveychikov
f225edde45 tms320: fix c55x opcode table
This patch fixes c55x opcode table and solves the problem with parsing of 2 or
more similar instructions that differs in some bits. Mmatching algorithm doesn't
takes into account wildcard mask length.

It leads to bad situation where first instruction match may complete successfull
but the second instruction, which in turn has more presicely mask, doesn't be
looked up:

       INSN1 with mask AAAA xxxx BBBB	(matched by wildcard mask)
       INSN2 with mask AAAA CCCC BBBB

Here the 'xxxx' is a 4-bit whildcard mask, 'AAAA', 'BBBB' and 'CCCC' is 4-bit
values.

The solution is to rebuild tables sorting items by the wildcard mask length
ascending.
2014-05-07 23:43:28 +02:00
Ilya V. Matveychikov
d25b5511dc tms320: add c55x table generator script 2014-05-07 23:43:28 +02:00
Ilya V. Matveychikov
91ebf19666 tms320: fix invalid k12 field parsing for c55x (in some cases k12=k4+k8) 2014-05-07 23:43:28 +02:00
Anton Kochkov
2add8d4429 Fix CID 1211169 2014-05-08 01:38:17 +04:00
Anton Kochkov
e4fbfe20d5 Fix CID 1211163 2014-05-08 01:38:17 +04:00
pancake
65d7da74c7 Handle dbg.bep=? 2014-05-07 23:21:34 +02:00
inisider
ceee413bb3 fix message in eprintf() in r_bin_pe_init_sections() and Issue #666 2014-05-07 14:20:31 -05:00
deeso
0c3add7ee0 Moving the bin binding to the appropriate locations 2014-05-07 14:04:14 -05:00
pancake
b1349f8b14 Merge branch 'master' of https://github.com/radare/radare2 2014-05-07 16:32:53 +02:00
jvoisin
280068268b Fix CID 1135188 2014-05-07 13:43:31 +02:00
jvoisin
6c7dc17b36 Fix CID 1134630 2014-05-07 13:36:32 +02:00
jvoisin
a45deea1f7 Fix CID 1134593 2014-05-07 13:33:20 +02:00
jvoisin
fdeef9c07f Fix CID 1195075 2014-05-07 13:24:59 +02:00
deeso
03cff1625a Fixing missing get_vaddr function in bin plugin elf64 2014-05-06 23:51:22 -05:00
Ilya V. Matveychikov
5c382ded05 tms320: add dasm initialization to ANAL module 2014-05-07 02:52:04 +02:00
Ilya V. Matveychikov
8405091eb0 tms320: add some ANAL cases for the c55x 2014-05-07 02:52:04 +02:00
Ilya V. Matveychikov
70afe92c81 tms320: fix instruction syntax (space missed) 2014-05-07 02:52:04 +02:00
Ilya V. Matveychikov
dfac2f9f0c tms320: fix error with c55x SSDD fields decoding 2014-05-07 02:52:04 +02:00
Ilya V. Matveychikov
a8bb021882 tms320: don't use hash sign with hex numbers for c55x
The only one rigth thing to do with hex numbers is to precede
such a numbers with '0x', not the '#' (beat me).
2014-05-07 02:52:04 +02:00