Skip to content

bswap r9w (undefined behavior/bad operand) needs to always be 0x00 #21

@brandonros

Description

@brandonros
RUST_BACKTRACE=1 cargo run --target x86_64-apple-darwin --release -- -6 -vvv --regs --nocolors -f /Users/brandonros/Downloads/DTS9_PatcherV.exe > output.txt
{
    "message": "newValue mismatch",
    "i": 4,
    "x64dbgLine": {
      "rawLine": {
        "Index": "00004",
        "Address": "0000000144F84075",
        "Bytes": "6644:0FB6C8",
        "Disassembly": "movzx r9w,al",
        "Registers": "r9: 0-> A4",
        "Memory": "",
        "Comments": ""
      },
      "rip": "144f84075",
      "registerChanges": [
        {
          "registerName": "r9",
          "previousValue": "0",
          "newValue": "a4"
        }
      ],
      "memoryChanges": [
        ""
      ]
    },
    "scemuLine": {
      "rip": "144f84075",
      "registerChanges": [
        {
          "registerName": "r9",
          "previousValue": "0",
          "newValue": "8a"
        }
      ],
      "memoryChanges": []
    }
  },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions