// This function needs to be safe to call before TLS is set up, so it can't // access errno or the stack protector. // Cannot use HWASan, as this is called during setup of the HWASan runtime to // determine the page size.
__LIBC_HIDDEN__ unsignedlong __bionic_getauxval(unsignedlong type, bool* exists) __attribute__((no_sanitize("hwaddress"))) { for (ElfW(auxv_t)* v = __libc_shared_globals()->auxv; v->a_type != AT_NULL; ++v) { if (v->a_type == type) {
*exists = true; return v->a_un.a_val;
}
}
*exists = false; return0;
}
// Cannot use HWASan, as this is called during setup of the HWASan runtime to // determine the page size. extern"C"unsignedlong getauxval(unsignedlong type) __attribute__((no_sanitize("hwaddress"))) { bool exists; unsignedlong result = __bionic_getauxval(type, &exists); if (!exists) errno = ENOENT; return result;
}
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.10 Sekunden
(vorverarbeitet am 2026-06-28)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.