Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ no_malloc
Function
no_malloc
ccan/ccan/opt/test/run-set_alloc.c:5–8 ·
view source on GitHub ↗
Make sure we override these! */
Source
from the content-addressed store, hash-verified
3
4
/* Make sure we override these! */
5
static void *no_malloc(size_t size UNNEEDED)
6
{
7
abort();
8
}
9
static void *no_realloc(void *p UNNEEDED, size_t size UNNEEDED)
10
{
11
abort();
Callers
nothing calls this directly
Calls
1
abort
Function · 0.85
Tested by
no test coverage detected