Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
if (pakfire_string_startswith(name, "__stack_chk_fail"))
return 0;
+ // Or if the symbol is called __stack_chk_guard
+ else if (pakfire_string_startswith(name, "__stack_chk_guard"))
+ return 0;
+
+ // Or if the symbol is called __intel_security_cookie
+ else if (pakfire_string_startswith(name, "__intel_security_cookie"))
+ return 0;
+
// Count any global functions
if ((ELF64_ST_BIND(symbol.st_info) == STB_GLOBAL) &&
(ELF64_ST_TYPE(symbol.st_info) == STT_FUNC))