7 lines
166 B
Plaintext
Raw Normal View History

2025-02-21 13:47:56 +01:00
extern kernel32 {
VirtualFree(address *any, size uint, type uint32) -> bool
}
2025-02-26 14:33:41 +01:00
free(address []any) {
kernel32.VirtualFree(address-8, len(address)+8, mem.decommit)
2025-02-21 13:47:56 +01:00
}