Commit Graph

128 Commits

Author SHA1 Message Date
de4dot fee1b62ed8 Add Get/SetImmediate() methods 2018-09-21 18:51:06 +02:00
de4dot 72523a5584 Simplify AddReg() 2018-09-21 18:50:58 +02:00
de4dot 9516f6f319 Don't sign extend to 64 bits if it's an imm64 op when calling Create(reg,uint) 2018-09-21 18:50:47 +02:00
de4dot ecf824d712 Sort nop/xchg code values 2018-09-21 18:50:34 +02:00
de4dot 273c5eea33 Make MemorySize property read only 2018-09-21 18:50:19 +02:00
de4dot 6708ad429e Change mem size to Unknown 2018-09-21 18:50:08 +02:00
0xd4d fffc09315c
Merge pull request #21 from xoofx/inst-create-uint
Add Instruction.Create overloads with uint/ulong parameters
2018-09-20 22:00:49 +02:00
Alexandre Mutel eec1ce6b93 Add Instruction.Create overloads with uint/ulong parameters along existing int/long 2018-09-20 21:50:56 +02:00
de4dot da828feed4 Add the instruction to the thrown encoder exception 2018-09-20 21:05:22 +02:00
de4dot 459c1ab815 Change Encode/TryEncode return type to uint, fixes #20 2018-09-20 18:19:23 +02:00
0xd4d 4b8f71448c
Merge pull request #17 from xoofx/new-opcode-mov
Add support for instructions with +rb +rw +rd +ro 8bit encoding
2018-09-20 15:01:09 +02:00
Alexandre Mutel d88b0fe94c Remove extra EncoderFlags.P66 from Encoder.AddReg 2018-09-20 14:48:10 +02:00
Alexandre Mutel 4ce66e5d23 Rename Xchg to r16_AX/r32_EAX/r64_RAX 2018-09-20 14:45:04 +02:00
Alexandre Mutel 3e0d384908 Fix EncoderTest errorMessage 2018-09-20 14:35:13 +02:00
Alexandre Mutel 32659b6822 Improve Encoder.AddReg handling of if statements 2018-09-20 13:59:44 +02:00
Alexandre Mutel a10c8a08ce Fix HexUtils.ToString 2018-09-20 13:21:51 +02:00
Alexandre Mutel 1975c9b450 Simply OpCodeHandlers64 2018-09-20 13:21:04 +02:00
Alexandre Mutel e3eecd4db9 Change CodeFlags.CodeBits from 13 to 12 bits 2018-09-20 13:09:59 +02:00
Alexandre Mutel 2060f132f4 Add support for Code.Bswap_r16, Bswap_r32, Bswap_r64 2018-09-20 13:06:36 +02:00
Alexandre Mutel 75f480be07 Add support for Xchg_AX_r16, Xchg_EAX_r32, Xchg_RAX_r64 2018-09-20 12:52:37 +02:00
Alexandre Mutel d579af350e Add support for Mov_r8_imm8, Mov_r16_imm16, Mov_r32_imm32, Mov_r64_imm64 2018-09-20 11:46:33 +02:00
Alexandre Mutel 8eb2cf9105 Merge remote-tracking branch 'source/master' into new-opcode-mov
# Conflicts:
#	Iced.UnitTests/Intel/EncoderTests/EncoderTest.cs
2018-09-20 10:25:25 +02:00
Alexandre Mutel cc16730743 Migrate instructions: Inc|Dec_r16/r32 push|pop_r16/r32/r64 2018-09-20 10:18:42 +02:00
de4dot eda091e30a Sort 2018-09-19 19:50:21 +02:00
de4dot 7e2b752387 Change sig 2018-09-19 19:50:08 +02:00
de4dot 41a7a01ed9 Rename 2018-09-19 19:49:58 +02:00
de4dot 3e10b1af17 Add TryEncode() 2018-09-19 19:49:50 +02:00
de4dot 40be8fae8e Add missing memory op tests 2018-09-19 19:49:42 +02:00
de4dot be4cb5354e Add #if 2018-09-19 19:49:33 +02:00
de4dot e9fce2f6a0 Add Instruction.Create() methods 2018-09-18 23:38:51 +02:00
de4dot 03877b65fb Decoder handlers use new internal props to write to reg fields 2018-09-18 23:38:39 +02:00
de4dot 96744c75ad Make Instruction.OpCount read only, fixes #19 2018-09-17 22:48:14 +02:00
de4dot ebc8fb103f Rename 2018-09-17 21:03:29 +02:00
de4dot b5344acd43 Rename fxsave/fxrstor 2018-09-17 21:00:53 +02:00
0xd4d 78b7f00dfa
Merge pull request #18 from 0xd4d/rename-Code-values
Rename Code values
2018-09-17 20:26:16 +02:00
de4dot bfc5f296a5 Rename Xbegin REX.W Code value 2018-09-17 20:06:31 +02:00
de4dot fd61680f52 Rename Code values 2018-09-17 19:49:26 +02:00
de4dot e49702a43d Fix memory size value 2018-09-17 19:19:29 +02:00
de4dot 72f1d05fdd Update encoder table: call/jmp far mem only support mem ops 2018-09-17 19:19:15 +02:00
de4dot 64125de948 Ignore es,cs,ss,ds in 64-bit mode if they're used by a mem op 2018-09-15 12:38:43 +02:00
0xd4d 53f71781d2
Merge pull request #7 from 0xd4d/amd
Add remaining AMD instructions
2018-09-14 22:31:25 +02:00
de4dot 0153956bbc Add instruction info tests (AMD Instructions) 2018-09-14 22:22:01 +02:00
de4dot 4ae55dd41b Add instruction info (AMD Instructions) 2018-09-14 22:21:54 +02:00
de4dot ae0d29c7c6 Add pseudo ops tests 2018-09-14 22:21:46 +02:00
de4dot e4db0bd533 Add more tests 2018-09-14 22:21:38 +02:00
0xd4d b95e55ea09
Update README, fixes #15 2018-09-14 14:12:10 +02:00
de4dot 5c6a0f45f7 Update formatters (AMD instructions) 2018-09-13 21:48:23 +02:00
de4dot 71c309ac52 Add formatter tests (AMD instructions) 2018-09-13 21:48:16 +02:00
de4dot eff433e656 Update comment 2018-09-13 21:48:07 +02:00
de4dot 113ff36170 Re-add xunit.runner.visualstudio, it's needed by 'dotnet test' 2018-09-13 09:30:03 +02:00