gchq / gchq/CyberChef

Bug report: Disassemble_x86 - Wrong instruction position displayed

Open
#2,107 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
35.8k
Forks
4.1k
Avg merge
2d 26m
Merged PRs (30d)
33

Description

**Describe the bug**
Wrong instruction position displayed for the Disassemble_x86 tool.

**To Reproduce**
1. Add a simple instruction as 'Input' e.g. FF E0 - JMP RAX. Correct 0000000000000000 position is displayed in 'Output'
2. Decrease 'Offset (IP)' to -1. 00000000FFFFFFFF position is displayed in 'Output'
3. Increase 'Offset (IP)' back to 0.
4. Incorrect position 00000000FFFF0000 is displayed in 'Output'

**Expected behaviour**
0000000000000000 position should be displayed in 'Output' when there is no offset

**Screenshots**
Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.