Skip to content

Instantly share code, notes, and snippets.

@klange
Created January 30, 2022 02:45
Show Gist options
  • Save klange/f30a8f46cc340801e62c446c922d778d to your computer and use it in GitHub Desktop.
Save klange/f30a8f46cc340801e62c446c922d778d to your computer and use it in GitHub Desktop.
Placed krk_currentThread in tls zone at 0x10
x = 0x10; symname=krk_currentThread; size=120
krk_currentThread (0x400aa020) = {
.next = 0x0,
.frames = 0x400b9060,
.frameCount = 0x0,
.stack = 0x0,
.stackTop = 0x0,
.openUpvalues = 0x0,
.exitOnFrame = 0x0,
.module = 0x0,
.currentException = 0xffffffffffffffff,
.flags = 0x0,
.stackMax = 0x0,
.scratchSpace = 0x400aa080,
}
krk_currentThread (0x400aa010) = {
.next = 0x0,
.frames = 0x0,
.frameCount = 0x0,
.stack = 0x0,
.stackTop = 0x8,
.openUpvalues = 0x400bb060,
.exitOnFrame = 0x400bb060,
.module = 0x0,
.currentException = 0x0,
.flags = 0x0,
.stackMax = 0xffffffffffffffff,
.scratchSpace = 0x400aa070,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment