2024-09-09 08:52:07 +00:00
|
|
|
#include <asm/unistd.h>
|
|
|
|
#include <sys/mman.h>
|
|
|
|
#include <signal.h>
|
2024-09-09 08:57:42 +00:00
|
|
|
#include <as-layout.h>
|
|
|
|
#include <stub-data.h>
|
2024-09-09 08:52:07 +00:00
|
|
|
|
|
|
|
#ifdef __i386__
|
|
|
|
#include "stub_32.h"
|
|
|
|
#else
|
|
|
|
#include "stub_64.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
extern void stub_segv_handler(int, siginfo_t *, void *);
|
|
|
|
extern void stub_clone_handler(void);
|