|
qualcomm/qbox
|
Stable userdata passed to every plugin callback. More...
#include <libqemu-plugin.h>

Public Attributes | |
| LibQemuPlugin * | self { nullptr } |
| std::atomic< bool > | alive { true } |
| std::atomic< int > | refcount { 0 } |
Stable userdata passed to every plugin callback.
Heap-allocated when the plugin is constructed and intentionally leaked when it is destroyed. Outliving the plugin lets stale callbacks observe alive == false and exit early without dereferencing freed memory.