diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/libudis86/python3.patch | |
Diffstat (limited to 'vcpkg/ports/libudis86/python3.patch')
| -rw-r--r-- | vcpkg/ports/libudis86/python3.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/vcpkg/ports/libudis86/python3.patch b/vcpkg/ports/libudis86/python3.patch new file mode 100644 index 0000000..0c8f851 --- /dev/null +++ b/vcpkg/ports/libudis86/python3.patch @@ -0,0 +1,17 @@ +diff --git a/scripts/ud_opcode.py b/scripts/ud_opcode.py +index fe1833d..30c9f43 100644 +--- a/scripts/ud_opcode.py ++++ b/scripts/ud_opcode.py +@@ -550,10 +550,10 @@ def printWalk(tbl, indent=""): + entries = tbl.entries() + for k, e in entries: + if isinstance(e, UdOpcodeTable): +- self.log("%s |-<%02x> %s" % (indent, k, e)) ++ self.log("%s |-<%02x> %s" % (indent, int(k), e)) + printWalk(e, indent + " |") + elif isinstance(e, UdInsnDef): +- self.log("%s |-<%02x> %s" % (indent, k, e)) ++ self.log("%s |-<%02x> %s" % (indent, int(k), e)) + printWalk(self.root) + + |