1
0
mirror of synced 2024-11-30 17:34:27 +01:00

update x86 disassembly tests

This commit is contained in:
a3957273 2024-03-31 01:21:17 +00:00
parent 5c563c2bdf
commit 6677317e27

View File

@ -432,7 +432,7 @@ color: white;
it("Disassemble x86", () => {
const result = chef.disassembleX86(chef.toBase64("one two three"));
const expected = `0000000000000000 0000 ADD BYTE PTR [RAX],AL\r
0000000000000002 0B250000000B OR ESP,DWORD PTR [0000000-F4FFFFF8]\r
0000000000000002 0B250000000B OR ESP,DWORD PTR [000000000B000008]\r
`;
assert.strictEqual(result.toString(), expected);
}),