2 * Execution Flow Controller
3 * Function Injector for GCC 4.x
9 * @brief Injector for GCC4 x86
10 * @details This is procedure call injector that works on GCC 4
13 class gcc4_x86_injector
: public injector
{
15 void *get_vptr(void *instance
);
21 * @details Replaces default vtable entries with addresses of injected function which code
22 * is placed in vcall.S at label vcall. Note that functions are injected to all
23 * instances of the specific class at the same time.
24 * @param object Pointer to an instance of class that code has to be injected to.
26 virtual void inject(void *obj
);