Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coreboot/coreboot
/ xrealloc
Function
xrealloc
util/kconfig/util.c:99–106 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
97
}
98
99
void *xrealloc(void *p, size_t size)
100
{
101
p = realloc(p, size);
102
if (p)
103
return p;
104
fprintf(stderr,
"Out of memory.\n"
);
105
exit(1);
106
}
107
108
char *xstrdup(const char *s)
109
{
Callers
5
variable_add
Function · 0.85
__expand_string
Function · 0.85
dialog_inputbox
Function · 0.85
add_byte
Function · 0.85
str_append
Function · 0.85
Calls
3
realloc
Function · 0.85
fprintf
Function · 0.85
exit
Function · 0.85
Tested by
no test coverage detected