MCPcopy Create free account
hub / github.com/qilingframework/qiling / __heap_alloc

Function __heap_alloc

qiling/os/windows/utils.py:42–46  ·  view source on GitHub ↗
(size: int)

Source from the content-addressed store, hash-verified

40 allocations = []
41
42 def __heap_alloc(size: int) -> int:
43 address = ql.os.heap.alloc(size)
44 allocations.append(address)
45
46 return address
47
48 def __free_all(allocations: Iterable[int]) -> None:
49 for address in allocations:

Callers 2

io_WriteFunction · 0.85
ioctlFunction · 0.85

Calls 2

allocMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected