Commit graph

627 commits

Author SHA1 Message Date
pancake
3f7a70fb7d Fix #4564 - oobread in dalvik disasm+analyzer 2016-04-10 01:12:58 +02:00
Evan Shaw
58328def22 Show absolute offsets for relative branches in SNES disassembly
This makes the disassembly easier to read.
2016-04-02 10:02:27 +02:00
pancake
d629165ec8 Remove unnecessary = NULL in bin/p/*.c 2016-03-27 23:02:29 +02:00
pancake
9d62ee0ddf Fix m68k.cs disassembler issue, honor asm.cpu in anal.m68k.cs 2016-03-24 16:21:49 +01:00
pancake
a461bbc536 Fix #4304 - asm.filter for m68k 2016-03-22 12:45:05 +01:00
pancake
76fa5bddcf Add missing signature 2016-03-18 17:19:06 +01:00
pancake
446add902f Fix #4345 - Add scas{bwd} for x86.nz 2016-03-18 16:59:47 +01:00
pancake
dc33b03011 Handle movk and movz in the arm64 assembler and pseudo disassembler 2016-03-17 17:26:08 +01:00
Evan Shaw
36e42b33fe Support 16-bit immediate operands in SNES
Size for immediate operands depends on the value of the M flag
(for register A) or the X flag (for registers X and Y). A register is
8-bit when its respective flag is set and 16-bit when clear.

These flags can be set or unset independently, so this still isn't quite right
for when one flag is set and the other isn't, but it's an improvement. It's
possible to force a particular instruction to decode correctly by using the
`afh` command.
2016-03-12 03:06:46 +01:00
oddcoder
966900121d adding bunch of another esil & fixing the bits 2016-03-09 15:32:50 +01:00
oddcoder
888b7d575d fixing bug in goto disassmebly 2016-03-09 12:21:56 +01:00
Álvaro Felipe Melchor
0efdf9cf97 Fix again #4215 2016-03-07 22:17:59 +01:00
pancake
d00beba767 Fix arm.cs thumb thing 2016-03-07 17:06:26 +01:00
pancake
75bf9b233a Fix aat->aap typo and add no-mclass option for x86.arm.cs 2016-03-07 12:31:50 +01:00
pancake
be9d53417e Fix #4215 - Fix disasm of thumb mrs 0, primask 2016-03-07 04:50:06 +01:00
pancake
8de14dc2b6 Fix #4242 - OOB read in riscv disassembler 2016-03-07 00:21:49 +01:00
oddcoder
9b21040898 fixing logic error in rcall instruction
I just misread the operands of the rcall instruction
their is 2 similar types of instruction (naming conveintions used only
by me and mentioned no where in the manual) the N_T where the n operand
is 8 bit and NET_T where the n operand is 11 bit
the rcall looks like the following 1101 1nnn nnnn nnnn which is obviosly
NEX_T
2016-03-05 19:54:31 +01:00
oddcoder
115c0bd40d fixing OSX Darwin compilation error #4218 2016-03-04 15:20:20 +01:00
oddcoder
599cbcd3c7 attempt to fix scan.converity bugs
I also hunted 4th illegal memory read
the first 2 bytes of b is always casted to (ut16) type
with out checking if b even contains 2 bytes
now it is handled it correctly
2016-03-04 00:50:25 +01:00
oddcoder
7fe6c6dff2 Adding initial support for PIC18C diassembler 2016-03-02 11:55:22 +01:00
mrdanielps
7fe1d56932 V810: fixes
* Proper bound checking when decoding.
* Reuse some macros.
* Follow code style guidelines.
2016-02-28 17:43:40 +01:00
pancake
af2f02515f Support and load r_fs plugins 2016-02-21 02:32:28 +01:00
pancake
55eee73c6d Fix #4061 - properly assemble ldr.w thumb instruction 2016-02-16 17:12:37 +01:00
pancake
384cfb1042 Fix last coverities 2016-02-16 02:08:09 +01:00
pancake
cdf63617d7 Initial support for LANAI disassembler 2016-02-15 13:27:23 +01:00
pancake
838b254cc8 Fix #4090 - Do not assemble one-arg xors in x86.nz 2016-02-11 07:35:51 -06:00
pancake
b08892dbb3 Fix Tricore warnings and handle in ELF 2016-01-30 02:58:45 +01:00
pancake
d7a244f010 Initial import of asm.tricore disassembler plugin 2016-01-30 02:47:17 +01:00
pancake
d30b2f4894 Initial import of the anal.xtensa plugin 2016-01-30 01:37:04 +01:00
pancake
6f1655c491 Initial support for xtensa CPU disassmbler (from GNU binutils) 2016-01-28 23:59:50 +01:00
pancake
0911012a13 Refix xor assembler in x86.nz 2016-01-27 03:22:15 +01:00
pancake
e0b5efcb6b Fix #4004 - support xor r8-r15 in the x86.nz assembler 2016-01-27 02:54:13 +01:00
NighterMan
67038f8738 Add CLAC/STAC instructions support (SMAP) 2016-01-25 16:11:21 +01:00
pancake
59a7b7cda7 Handle r8-r15 in push/pop for x86-64 in x86.nz assembler 2016-01-22 17:47:41 +01:00
pancake
2fed275e04 Handle few x86-16 instructions in x86.nz 2016-01-12 17:37:19 +01:00
pancake
8e25f942f2 Fix #3821 - Add x86.nasm in default plugin list 2016-01-11 01:42:19 +01:00
pancake
056e933bdf Fix #3920 - Implement NEG in x86.nz 2016-01-09 00:22:13 +01:00
pancake
1d8b761ca1 Various static and iOS related build issues are now fixed 2015-12-28 02:01:45 +01:00
Asger Hautop Drewsen
c72cd131ee Fix syntax choice for asm_x86_as 2015-12-08 21:32:15 +01:00
pancake
40e08dbd89 Get rid of _Bool 2015-12-01 12:39:12 +01:00
pancake
bf54c766f3 6502 is also for Tamagotchis 2015-12-01 12:06:10 +01:00
Dax
412934d20e Initial PSX Executable Support
PSX Plugin: Deleted useless file
PSX Plugin: Adjusted coding style, minor fixes
PSX Plugin: Removed typo, adjusted makefile, call check_bytes with correct parameters
2015-11-23 20:56:19 +01:00
pancake
a31cd1101e Initial import of the VAX asm/anal/bin support 2015-11-23 12:34:53 +01:00
pancake
ad74a6ec6b Move msil and mdmp into radare2-extras, add r2pm pkgs 2015-11-11 11:07:32 +01:00
pancake
92f4e72228 Fix infinite analysis for archs without anal plugs 2015-11-05 16:51:36 +01:00
pancake
f4e6c8a7df Fix static builds 2015-11-01 00:20:58 +01:00
pancake
f88b35afba Fixes for asm.riscv 2015-10-30 00:06:38 +01:00
qnix
09f1ea9856 Initial RISC-V support (32,64bit disasm) 2015-10-29 23:57:22 +01:00
pancake
079a679de6 Fix #3605 - infinite print loops in m68k and mcs96 2015-10-29 12:02:06 +01:00
pancake
67c5b06173 Tiny fix for anal.m68k.cs invalid instructions 2015-10-29 01:58:52 +01:00
pancake
afbcddb508 Fix #3516 - masm syntax was not working 2015-10-27 15:45:27 +01:00
pancake
922da0064b Fix asm.gb build 2015-10-21 19:45:54 +02:00
condret
7d7024b2c6 initial commit for gameboy-assembler 2015-10-21 18:22:14 +00:00
pancake
488cc4ca28 Fix to support older capstone libraries 2015-10-14 01:20:27 +02:00
pancake
35f97e3862 Add register profile for AVR 2015-10-13 23:01:30 +02:00
pancake
a876216fcd Fixes for m68k.cs 2015-10-10 12:22:12 +02:00
XVilka
720341c2df Improve -fPIC handling, take 2 2015-10-09 22:24:15 +03:00
pancake
7f9c9722a2 Optimize and add some workarounds to avoid m68k.cs crashes 2015-10-07 15:50:09 +02:00
pancake
d629131baf Initial support for capstone-m68k 2015-10-07 14:37:25 +02:00
pancake
83063970fe Fix rasm assembler parsing for instructions with : 2015-09-18 21:54:25 +02:00
pancake
ff0e2724a1 Debugger, Write, HVSplit in material WebUI and more 2015-09-25 03:57:48 +02:00
pancake
72d442931d Fix #3191 - Fix // to repeat last search 2015-09-23 13:04:15 +02:00
pancake
486c88954f Darwin: start debugging suspended. Fixes in lm32 2015-09-22 02:28:04 +02:00
Felix Held
c43fedd9e5 lm32: fix instr->op valid range detection
instr->op is always < RAsmLm32OpcodeNumber, but this additional check
shouldn't hurt
2015-09-21 22:22:20 +02:00
Felix Held
05b388bbf2 fix lm32_op_raise decode 2015-09-21 22:22:20 +02:00
Felix Held
db39374b8b add lm32 disassembly support 2015-09-20 23:58:12 +02:00
Jeffrey Crowell
9f892f1eed fix some COV 2015-09-17 00:48:07 -04:00
pancake
f807abff7c Honor asm.invhex in avr and ppc.cs 2015-09-16 22:20:14 +02:00
condret
6c278703af add mcs96-disassembler (needs a lots of love) 2015-09-16 00:45:01 +00:00
pancake
b86bf19c85 Fix #3051 - Honor CFLAGS everywhere and fix some windows/android warnings 2015-09-14 20:43:11 +02:00
pancake
49975ccf95 Fix #3286 - Use stdbool.h 2015-09-14 02:08:31 +02:00
Darkkey
7f7a596d77 Fixed out/in instructions assembling; Fixed branched operands 2015-09-10 01:57:40 +02:00
jvoisin
9db340a0a8 Fix some malloc(A*B) overflow detected by clang-analyzer 2015-09-09 21:44:06 +02:00
pancake
56040f6a19 Fix #3241 - avr warnings 2015-09-09 11:03:45 +02:00
pancake
deafc518b0 Refactor RAnal.ESIL (-800 LOC). Fix x86-64 32bit mov 2015-09-05 10:44:51 +02:00
pancake
346cc8e758 Fix latest covs 2015-09-03 12:23:49 +02:00
Darkkey
61735aabb5 Added AVR assembler, fixed AVR 'sts' command disassembling. 2015-09-02 23:00:25 +02:00
pancake
7fcb8e081d Remove last GPL headers and move old.rarc2 into r2e 2015-09-02 16:06:57 +02:00
mrdanielps
98f14bb506 V810 & V850: Sanity checks 2015-08-31 23:05:42 +02:00
jvoisin
4261075d60 Misc fixes to make clang-analyser even more happy 2015-08-29 18:08:38 +02:00
pancake
604cf153fa Update arm.gnu plugin to support CRC and UDF instructions 2015-08-28 14:40:25 +02:00
pancake
62755eeb0e Fix latest COVs 2015-08-25 12:40:21 +02:00
pancake
59dfda515f Fix #3136 - Add ARM and ARM64 assemmbler support from NDK 2015-08-24 15:43:13 +02:00
pancake
4ecf45d264 MASM is not supported on all versions of Capstone 2015-08-24 10:34:47 +02:00
pancake
e774d332b7 Fix #3082 - Add support for MASM syntax in x86.cs 2015-08-21 15:29:37 +02:00
pancake
f4528faa93 Fix #3031 - Another ODR violation from @revskills 2015-08-19 18:58:48 +02:00
pancake
4beb0dc6a3 Add support for 'mov byte [reg], imm' for x86.nz 2015-08-11 14:15:13 +02:00
pancake
bbb90d5ce3 Fix #3041 - assemble 'mov edx, [rbp-4]' 2015-08-09 03:56:22 +02:00
pancake
191fecab85 Fix RAsm build 2015-07-15 01:04:22 +02:00
Jonathan Neuschäfer
c07cf42a2e asm_java: remove unnecessary "a->pc += op->size" 2015-07-13 01:48:29 +02:00
Jonathan Neuschäfer
ecf6792318 Fix #2927 and random code cleanups
- asm_dcpu16: remove an obsolete comment
  It was obsoleted in 5285d1bdea.
- Indentation fixes
- fix a few typos
- remove "#define NEW_ESIL"
- move comment about r_bin_filter_name to the right place
- README.md: Add V810 to the list of supported architectures
- Also, de-duplicate LH5801
- Add attribution to randomart.c, fixes #2927
2015-07-12 19:20:36 +02:00
Jonathan Neuschäfer
523aa3af5c add .version to all plugins 2015-07-12 19:05:33 +02:00
pancake
ab7c399b38 Fix monospace font issues on the material webui 2015-07-10 17:20:17 +02:00
pancake
146a3a64c7 Fix iOS build 2015-07-10 14:40:10 +02:00
mrdanielps
dce2a1eb88 Add V810 support 2015-07-08 21:09:59 +02:00
pancake
c0b1e5fad3 Fix iOS build 2015-06-04 04:30:48 +02:00
pancake
add3ff9b2d Add missing hppa files 2015-05-28 11:57:22 +02:00
pancake
663cbb0455 Fix some warnings 2015-05-28 11:09:13 +02:00
pancake
b88ae16ffa Fix #2585 - fix 64bit mov in x86.nz 2015-05-18 20:00:10 +02:00
Quentin Santos
d5c40be889 Fix signed char boundaries when assembling jump
Signed char can be between -0x80 and 0x7f. The offset in the jump must be
computed taking into account the instruction length.
2015-05-14 17:29:28 +02:00