#include <CoreServices/CoreServices.h>
#include "mach_override.h"
Go to the source code of this file.
Typedefs | |
| typedef int(* | OriginalFunctionPtrType )(int) |
| typedef void *(* | mallocFunctionPtrType )(size_t) |
Functions | |
| int | original (int input) |
| int | override (int input) |
| void * | myMalloc (size_t size) |
| int | main (int argc, const char *argv[]) |
Variables | |
| OriginalFunctionPtrType | gOriginalReentry |
| mallocFunctionPtrType | gMalloc |
|
|
Definition at line 12 of file override_example.c. |
|
|
Definition at line 10 of file override_example.c. |
|
||||||||||||
|
Definition at line 15 of file override_example.c. References gMalloc, gOriginalReentry, mach_override(), myMalloc(), original(), and override(). |
|
|
Definition at line 65 of file override_example.c. References gMalloc. Referenced by main(). |
|
|
Definition at line 48 of file override_example.c. Referenced by main(). |
|
|
Definition at line 56 of file override_example.c. References gOriginalReentry. Referenced by main(). |
|
|
Definition at line 13 of file override_example.c. Referenced by main(), and myMalloc(). |
|
|
Definition at line 11 of file override_example.c. Referenced by main(), and override(). |
1.3.4