mirror of
https://github.com/gchq/CyberChef
synced 2025-12-10 05:13:23 +00:00
update x86 disassembly tests
This commit is contained in:
@@ -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);
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user