mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:47:47 +00:00
UserspaceEmulator: Don't audit accesses in calloc() and libsystem.so
These generate a lot of false positives and nothing of value.
This commit is contained in:
parent
a457b90733
commit
38fc522f5d
3 changed files with 20 additions and 1 deletions
|
@ -214,7 +214,7 @@ void MallocTracer::audit_read(const Region& region, FlatPtr address, size_t size
|
|||
if (!m_auditing_enabled)
|
||||
return;
|
||||
|
||||
if (m_emulator.is_in_malloc_or_free()) {
|
||||
if (m_emulator.is_in_malloc_or_free() || m_emulator.is_in_libsystem()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue