mirror of
https://github.com/mandiant/GoReSym
synced 2026-06-08 15:40:15 +00:00
18 lines
389 B
Plaintext
18 lines
389 B
Plaintext
// https://github.com/golang/go/blob/master/src/reflect/type.go
|
|
typedef uint8_t tflag;
|
|
typedef int32_t nameOff;
|
|
typedef int32_t typeOff;
|
|
|
|
struct rtype {
|
|
size_t size;
|
|
size_t ptrdata;
|
|
uint32_t hash;
|
|
tflag tflag;
|
|
uint8_t align;
|
|
uint8_t fieldAlign;
|
|
uint8_t kind;
|
|
void* alg; // ptr to struct holding hash and equal functions
|
|
void* gcdata;
|
|
nameOff str;
|
|
typeOff ptrToThis;
|
|
} |