GP-0 corrected various test failures

This commit is contained in:
ghidra1 2023-01-06 17:32:16 -05:00
parent 68b9cb54e4
commit 0f3bb2acee
6 changed files with 15 additions and 20 deletions

View file

@ -15,8 +15,7 @@
*/
package ghidra.app.plugin.assembler.sleigh;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import static org.junit.Assert.*;
import org.junit.Test;
@ -151,8 +150,8 @@ public class x64AssemblyTest extends AbstractAssemblyTest {
@Test
public void testAssemble_CMP_byte_ptr_m0x006dbeefm_0() {
assertOneCompatRestExact("CMP byte ptr [0x006dbeef],0", "80:3d:e8:be:6d:c0:00",
"CMP byte ptr [0x006dbeef],0x0");
assertOneCompatRestExact("CMP byte ptr [RIP + -0x3f924118],0", "80:3d:e8:be:6d:c0:00",
"CMP byte ptr [RIP + -0x3f924118],0x0");
}
@Test