Skip to content

Releases: MeteorsLiu/go-runtime-hack

Refactor: rename

Choose a tag to compare

@MeteorsLiu MeteorsLiu released this 03 Dec 03:00

Lately i found this project is useful when i tried to hack Go's runtime.
However, i forgot i wrote this tool and took me a long time to find it becase of the wrong repo name

Allow to get/modify the value in P struct

Choose a tag to compare

@MeteorsLiu MeteorsLiu released this 09 Jul 08:43
v1.2

allow to modify the struct field in P

Allow to change the value in M/G struct

Choose a tag to compare

@MeteorsLiu MeteorsLiu released this 09 Jul 08:23

This is a hack tool for Go runtime.
Please read the readme.md for more details.

Get custom Data from TLS in G.

Choose a tag to compare

@MeteorsLiu MeteorsLiu released this 25 Jun 10:54

Example:

CustomInG[uint64]("goid")

Be careful!
Make sure your type and type name are correct.

YOU SHOULD CHECK THE SOURCE IN RUMTIME BEFORE USING.

https://cs.opensource.google/go/go/+/refs/heads/master:src/runtime/runtime2.go;drc=a031f4ef83edc132d5f49382bfef491161de2476;l=414