LibELF: Warn on self-dlopening libraries while initializing

This commit is contained in:
Tim Schumacher 2022-06-24 11:12:07 +02:00 committed by Linus Groh
commit 6732fec8b8
Notes: sideshowbarker 2024-07-17 10:00:21 +09:00
3 changed files with 13 additions and 1 deletions

View file

@ -82,6 +82,7 @@ public:
DynamicObject const& dynamic_object() const;
bool is_fully_relocated() const { return m_fully_relocated; }
bool is_fully_initialized() const { return m_fully_initialized; }
private:
@ -161,6 +162,7 @@ private:
mutable RefPtr<DynamicObject> m_cached_dynamic_object;
bool m_fully_relocated { false };
bool m_fully_initialized { false };
};