forked from thp/apkenv
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
debug/wrappers: Link wrapper code directly to apkenv
Instead of compiling the wrappers as separate units, built them into the main binary and use the functions directly as data (with the data fields found by the first occurence of 0xFFFFFFFF, which is not a valid ARM instruction).
- Loading branch information
Showing
9 changed files
with
74 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#ifndef WRAPPER_CODE_H | ||
#define WRAPPER_CODE_H | ||
|
||
void wrapper_code_generic() __attribute__((naked,noinline)); | ||
void wrapper_code_arm() __attribute__((naked,noinline)); | ||
void wrapper_code_thumb() __attribute__((naked,noinline)); | ||
|
||
#endif /* WRAPPER_CODE_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.