MCPcopy Create free account
hub / github.com/F-Stack/f-stack / create_module_info

Function create_module_info

freebsd/arm/arm/unwind.c:189–198  ·  view source on GitHub ↗

* Create a new empty module_info entry and add it to the tail of the list. */

Source from the content-addressed store, hash-verified

187 * Create a new empty module_info entry and add it to the tail of the list.
188 */
189static struct module_info *
190create_module_info(void)
191{
192 struct module_info *info;
193
194 info = malloc(sizeof(*info), M_CACHE, M_WAITOK | M_ZERO);
195 clear_module_info(info);
196 STAILQ_INSERT_TAIL(&module_list, info, link);
197 return (info);
198}
199
200/*
201 * Search for a module_info entry on the list whose address range contains the

Callers 2

unwind_module_loadedFunction · 0.85
module_info_initFunction · 0.85

Calls 2

mallocFunction · 0.85
clear_module_infoFunction · 0.85

Tested by

no test coverage detected