MCPcopy Create free account
hub / github.com/F12FLASH/CTF / cleanup

Function cleanup

4.Stackless Stack/public/downloads/stackless_stack.c:184–188  ·  view source on GitHub ↗

* @brief Cleanup resources * @param region Pointer to memory region to cleanup */

Source from the content-addressed store, hash-verified

182 * @param region Pointer to memory region to cleanup
183 */
184void cleanup(memory_region_t *region) {
185 if (region != MAP_FAILED && region != NULL) {
186 munmap(region, MMAP_SIZE);
187 }
188}
189
190/**
191 * @brief Main function - challenge entry point

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected