Commit Graph

809 Commits

Author SHA1 Message Date
jvoisin
759e3b24b5 Fix two trivial warnings 2015-01-13 03:05:11 +01:00
pancake
4825bb815c Remove psosvm from master repo (moved to radare2-extras) 2015-01-03 02:27:29 +01:00
Julien Nabet
164bbc7333 Some cppcheck reports fixed:
(warning) Logical disjunction always evaluates to true: regnum < 32 || regnum > 31
(style) Same expression on both sides of '||'
(style) Same expression on both sides of '&&'
(style) Expression is always false because 'else if' condition matches previous condition at line 180
2014-12-28 04:20:14 +01:00
pancake
f495b5031a Handle ET_REL ELF relocs, asm.cpu for arm.cs: v8, mcortex 2014-12-28 03:53:39 +01:00
Andrew McDonnell
6fe4d603ab Fixes other case for #1900: mov ebx, junk 2014-12-26 19:32:00 +01:00
pancake
c253cc5d6f Fix #1900 - The x86.nz 'mov' parser is a bit more strict now 2014-12-23 10:50:18 +01:00
pancake
15098999d2 Fix rep movsb and add retf/retn support for x86.nz assembler 2014-12-10 13:17:50 +01:00
pancake
0c91c7df62 Fix several bugs in the windbg and cris. thanks to coverity 2014-12-09 17:50:19 +01:00
pancake
2d81508caf Fix jalx for mips.gnu and mips.cs 2014-12-09 02:21:58 +01:00
fenugrec
e36d2d4dcf superH analyzer+disasm bigendian support 2014-12-09 01:39:41 +01:00
pancake
85631e7104 Fix build on OSX, fix warnings in shlr/wind and handle asm.cpu and asm.syntax for asm.cris 2014-12-08 23:38:13 +01:00
pancake
e7a4aefdd4 Disassemble CRIS v32 by default (TODO: honor asm.cpu) 2014-12-08 13:51:12 +01:00
pancake
95ddbeb2ec Disassembler fixup for CRIS (still wip) 2014-12-08 13:31:49 +01:00
jvoisin
db28d502d0 Fix some stupid warnings 2014-12-08 00:59:29 +01:00
pancake
274f22001d Add initial support for CRIS cpu as suggested by LolyRoP 2014-12-07 23:18:22 +01:00
Jeffrey Crowell
ed1aae7fd1 fix lots of spelling
fix some errors from the sed script

undo file mode crap
2014-12-07 17:00:59 +01:00
Kamil Rytarowski
60d3e1fc62 Don't set unused variables in arcExtMap_instName 2014-12-05 14:21:20 +01:00
Jeffrey Crowell
559049908e fix crash in asm.c
asm.c could assemble more instructions than spots in the token array,
this fixes it.
2014-12-05 13:32:03 +01:00
Kamil Rytarowski
aadbd0f868 Fix GCC warnings: array subscript has type 'char'
Reported at NetBSD-current/amd64
GCC 4.8.4 (nb1 20141012)
2014-12-04 03:26:08 +00:00
pancake
5687fe2d1b Support AT&T syntax for x86.cs disassembler 2014-12-01 16:49:47 +01:00
Skia
eee51db03a Fix issue #1765 2014-11-30 18:06:14 +01:00
pancake
1fba30bd67 Make i4004 code a bit shorter 2014-11-23 04:08:48 +01:00
Riccardo Schirone
bbd068f647 libr/asm/arch/i4004: fix compilation issue on os x
on os x snprintf is a macro and using another macro for first and second
arguments cause compilation problem.
2014-11-22 16:16:39 -08:00
jvoisin
6d803698a6 Fix some warnings 2014-11-22 16:44:36 +01:00
pancake
0bc0606f74 Avoid using sprintf without format and use snprintf boundaries 2014-11-22 12:06:40 +01:00
pancake
ea725dd685 Fix i4004.mk 2014-11-18 17:11:21 +01:00
condret
c80c68dd43 add disassembler for i4004 2014-11-18 15:50:06 +01:00
Julien Nabet
e20728ec15 cppcheck: fix 1 'else if' cond matches previous cond + test indice before using it 2014-11-16 18:13:06 +01:00
jvoisin
acd93d1b37 Fix some cppcheck warnings 2014-11-15 21:48:13 +01:00
pancake
9c6dc4ce2f Fix crash in x86.cs, handle ^C in /r and fix refptrs in disasm 2014-11-14 03:42:07 +01:00
pancake
4bb8a10390 Fix segfault in RAsm.fini and disable iter api for arm.cs 2014-11-14 00:40:24 +01:00
pancake
17bb6ab675 Fix memleak in x86.cs using the iter api
- Remove unused custom alloc code
- Call plugin destructor in RAsm fini method
2014-11-13 17:21:06 +01:00
pancake
6d4529ffbf Add core.anal plugin a2f command. Fix a bug in x86.cs, align comments at right 2014-11-13 03:36:48 +01:00
pancake
c8d1befac0 Fix w32 build 2014-11-10 17:20:29 +01:00
pancake
2482d569e4 Use capstone sparc by default and better ppc disasm 2014-11-10 16:47:03 +01:00
pancake
af8326bd3d Use capstone by default for POWERPC and do some more fixes in anal 2014-11-10 16:22:09 +01:00
pancake
8e96721eb6 A bit better sparc.cs analysis 2014-11-10 14:49:21 +01:00
pancake
1341cd7b7a Fix build 2014-11-10 11:28:34 +01:00
pancake
208b6ce089 Switch to Capstone for ARM by default 2014-11-10 06:27:19 +01:00
pancake
293ba25765 Switch to Capstone for MIPS (instead of GNU) 2014-11-10 06:21:22 +01:00
pancake
068dcfd7a7 Switch to capstone by default for x86 2014-11-10 06:15:27 +01:00
pancake
47db2652c3 Implement support for 'jmp [reg]' and 'jmp [reg+off]' in x86.nz 2014-11-09 23:14:09 +01:00
pancake
61ef0707eb Handle the latest MIPS asm.cpu variants from Capstone 2014-11-09 17:18:33 +01:00
pancake
479f31ee8f Update capstone again 2014-11-08 13:22:49 +01:00
pancake
6754144ce3 Fix #1552 - Handle rip variants of lea in the x86.nz assembler 2014-11-07 23:16:24 +01:00
pancake
b40bce8284 Fix all latest Coverity issues 2014-11-07 10:52:44 +01:00
pancake
6e5b360e00 Handle flag resolution in RAsm.num from RCore.num 2014-11-06 15:13:11 +01:00
pancake
4790375679 Random enhacements for RHex apis and relocs 2014-11-04 02:16:40 +01:00
pancake
fb9002d026 Fix bug in usage of cs_disasm_iter 2014-11-03 15:45:04 +01:00
pancake
a9eb8da77b Fix overflow in r_asm_disassemble() and implement rip-relative refs in anal.x86.cs 2014-11-03 03:27:22 +01:00