MCPcopy Create free account
hub / github.com/GJDuck/e9patch / e9mmap

Function e9mmap

src/e9patch/e9loader_elf.cpp:150–154  ·  view source on GitHub ↗

* Default mmap() routine. */

Source from the content-addressed store, hash-verified

148 * Default mmap() routine.
149 */
150static intptr_t e9mmap(void *ptr, size_t len, int prot, int flags, int fd,
151 off_t offset)
152{
153 return e9syscall(SYS_mmap, ptr, len, prot, flags, fd, offset);
154}
155
156/*
157 * Allocate or get scratch.

Callers 1

e9scratchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected