mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 10:27:35 +00:00
UserspaceEmulator: Cache the location and size of "malloc" and "free"
This allows us to quickly skip some auditing checks while we're inside malloc/free themselves.
This commit is contained in:
parent
862ab82c19
commit
67cdbe1925
2 changed files with 14 additions and 2 deletions
|
@ -117,6 +117,11 @@ private:
|
|||
|
||||
bool m_shutdown { false };
|
||||
int m_exit_status { 0 };
|
||||
|
||||
FlatPtr m_malloc_symbol_start { 0 };
|
||||
FlatPtr m_malloc_symbol_end { 0 };
|
||||
FlatPtr m_free_symbol_start { 0 };
|
||||
FlatPtr m_free_symbol_end { 0 };
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue