Skip to content

Instantly share code, notes, and snippets.

@obfusk
Created January 1, 2021 12:40
Show Gist options
  • Select an option

  • Save obfusk/14d2997a99bbd2819c3c61e6eaea1c10 to your computer and use it in GitHub Desktop.

Select an option

Save obfusk/14d2997a99bbd2819c3c61e6eaea1c10 to your computer and use it in GitHub Desktop.
python build diff
├── lib/arm64-v8a/libpython3.9.so
│ ├── objdump --line-numbers --disassemble --demangle --reloc --no-show-raw-insn --section=.text {}
│ │ @@ -190721,18 +190721,18 @@
│ │ sub w13, w10, #0x1
│ │ cmp w14, #0xff
│ │ b.ne 1b8ddc <PyUnicode_BuildEncodingMap@@Base+0x668> // b.any
│ │ add w16, w9, #0x1
│ │ strb w9, [x20, x15]
│ │ mov w14, w9
│ │ mov w9, w16
│ │ - and w12, w12, #0x7f
│ │ - and w14, w14, #0xff
│ │ - bfi w12, w14, #7, #8
│ │ - strb w13, [x21, w12, uxtw]
│ │ + and x12, x12, #0x7f
│ │ + and x14, x14, #0xff
│ │ + bfi x12, x14, #7, #8
│ │ + strb w13, [x21, x12]
│ │ sxtw x12, w10
│ │ cmp x25, x12
│ │ add w10, w10, #0x1
│ │ b.gt 1b8da0 <PyUnicode_BuildEncodingMap@@Base+0x62c>
│ │ b 1b87c4 <PyUnicode_BuildEncodingMap@@Base+0x50>
│ │
│ │ 00000000001b8e00 <_PyUnicode_EncodeCharmap@@Base>:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment