4484 Commits

Author SHA1 Message Date
jvoisin
4dd5fbe7ec Fix CID 1212091 and refactor check_bytes 2014-05-09 16:53:19 +02:00
jvoisin
77fb4aadea Fix CID 1212090 2014-05-09 15:50:39 +02:00
jvoisin
f37a120422 Fix CID 1135066 2014-05-09 15:47:42 +02:00
jvoisin
822088e159 Fix CID 1135051 2014-05-09 15:45:42 +02:00
jvoisin
e91a45e867 Fix CID 1194806 2014-05-09 15:33:01 +02:00
jvoisin
36a5f5b56d Fix CID 1135160 2014-05-09 15:26:32 +02:00
jvoisin
f115779c5f Fix CID 1134541 2014-05-09 15:08:47 +02:00
jvoisin
74bd8f577c Fix CID 1211164 2014-05-09 14:45:48 +02:00
jvoisin
2a04c2544d Fix typo introduced by previous commit 2014-05-09 13:34:06 +02:00
jvoisin
282d96f6b1 Fix CID 1134542 2014-05-09 13:32:39 +02:00
jvoisin
8b888da2ce Fix some vulns in rarun2
Check return values ffs!
2014-05-09 13:29:11 +02:00
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
Susanne588586
c8a90a5fcd Some random fixes in the sys/*.sh 2014-05-09 10:55:34 +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
jvoisin
28ce76db49 Fix CID 1134669 2014-05-09 01:34:16 +02:00
jvoisin
02f6097a18 Fix CID 1108515 2014-05-09 01:34:16 +02:00
jvoisin
55c92cc642 Fix CID 715926 2014-05-09 01:34:16 +02: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
Giovanni Condello
e0c8d18986 Unbroken capstone-build from git 2014-05-08 01:48:49 +02:00
zonkzonk
fe7e1fe089 remove a hg reference in install-rev 2014-05-08 01:47:22 +02:00
zonkzonk
772f9756aa remove a hg reference in update.sh 2014-05-08 01:46:33 +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