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

Method freeELF

src/e9tool/e9frontend.cpp:1576–1581  ·  view source on GitHub ↗

* Free an ELF file object. */

Source from the content-addressed store, hash-verified

1574 * Free an ELF file object.
1575 */
1576void e9tool::freeELF(ELF *elf)
1577{
1578 free((void *)elf->filename);
1579 munmap((void *)elf->data, elf->size);
1580 delete elf;
1581}
1582
1583/*
1584 * ELF getters.

Callers

nothing calls this directly

Calls 2

freeFunction · 0.85
munmapFunction · 0.85

Tested by

no test coverage detected