Skip to content

Instantly share code, notes, and snippets.

@luser
Created April 21, 2021 19:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luser/01416afe654291a8f7e98913d4f292da to your computer and use it in GitHub Desktop.
Save luser/01416afe654291a8f7e98913d4f292da to your computer and use it in GitHub Desktop.
firefox macos unwind info
$ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/llvm-objdump -arch x86_64 --macho --unwind-info /Applications/Firefox.app/Contents/MacOS/firefox
Contents of __unwind_info section:
Version: 0x1
Common encodings array section offset: 0x1c
Number of common encodings in array: 0x1
Personality function array section offset: 0x20
Number of personality functions in array: 0x0
Index array section offset: 0x20
Number of indices in array: 0x2
Common encodings: (count = 1)
encoding[0]: 0x02020400
Personality functions: (count = 0)
Top level indices: (count = 2)
[0]: function offset=0x000015c0, 2nd level page offset=0x00000038, LSDA offset=0x00000038
[1]: function offset=0x0000290d, 2nd level page offset=0x00000000, LSDA offset=0x00000038
LSDA descriptors:
Second level indices:
Second level index[0]: offset in section=0x00000038, base function offset=0x000015c0
[0]: function offset=0x000015c0, encoding[9]=0x021c0400
[1]: function offset=0x00001690, encoding[8]=0x020a1800
[2]: function offset=0x00001870, encoding[7]=0x02281800
[3]: function offset=0x00001ce0, encoding[6]=0x030df800
[4]: function offset=0x000021b0, encoding[5]=0x04000018
[5]: function offset=0x000021d0, encoding[4]=0x028c1800
[6]: function offset=0x000026a0, encoding[3]=0x021c0000
[7]: function offset=0x00002760, encoding[2]=0x04000038
[8]: function offset=0x00002790, encoding[0]=0x02020400
[9]: function offset=0x000027c0, encoding[1]=0x02040802
[10]: function offset=0x000028e0, encoding[0]=0x02020400
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment