Last change
on this file since 422 was 153, checked in by Nicholas Riley, 21 years ago |
Integrates SCPatch and mach_inject; unfinished, buggy.
|
File size:
530 bytes
|
Line | |
---|
1 | #pragma once
|
---|
2 |
|
---|
3 | typedef struct SCPatchParams
|
---|
4 | {
|
---|
5 | short version;
|
---|
6 | pid_t parent;
|
---|
7 | HFSUniStr255 parentBundleID;
|
---|
8 | HFSUniStr255 patchBundleID;
|
---|
9 | FSRef patchRef;
|
---|
10 | } SCPatchParams;
|
---|
11 |
|
---|
12 | typedef mach_error_t (*SCPatchEntry)( SCPatchParams *paramBlock );
|
---|
13 |
|
---|
14 | #define err_couldnt_load_main_bundle (err_local|1)
|
---|
15 | #define err_couldnt_find_injection_bundle (err_local|2)
|
---|
16 | #define err_couldnt_load_injection_bundle (err_local|3)
|
---|
17 | #define err_couldnt_find_injectedThread_symbol (err_local|4)
|
---|
18 | #define err_couldnt_find_patch_bundle (err_local|5) |
---|
Note:
See
TracBrowser
for help on using the repository browser.