update x86 disassembly tests
This commit is contained in:
parent
5c563c2bdf
commit
6677317e27
@ -432,7 +432,7 @@ color: white;
|
|||||||
it("Disassemble x86", () => {
|
it("Disassemble x86", () => {
|
||||||
const result = chef.disassembleX86(chef.toBase64("one two three"));
|
const result = chef.disassembleX86(chef.toBase64("one two three"));
|
||||||
const expected = `0000000000000000 0000 ADD BYTE PTR [RAX],AL\r
|
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);
|
assert.strictEqual(result.toString(), expected);
|
||||||
}),
|
}),
|
||||||
|
Loading…
Reference in New Issue
Block a user