forked from SiSTR0/ps4-hen-vtx
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add some syscalls for Apollo compatibility
Huge thanks to everyone involved with ps4debug, and special appreciation to @BestPig for figuring this out! https://github.com/BestPig/ps4-hen-vtx
- Loading branch information
1 parent
a913c0d
commit b1dbd13
Showing
46 changed files
with
999 additions
and
12 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
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#ifndef __OFFSETS_H__ | ||
#define __OFFSETS_H__ | ||
#pragma once | ||
|
||
// 7.00-7.02 | ||
#define XFAST_SYSCALL_addr 0x000001C0 | ||
|
||
// Names - Data | ||
#define PRISON0_addr 0x00113E398 | ||
#define ROOTVNODE_addr 0x0022C5750 | ||
#define PMAP_STORE_addr 0x0022C5268 | ||
#define DT_HASH_SEGMENT_addr 0x000D09F78 | ||
|
||
// Functions | ||
#define pmap_protect_addr 0x0003E18A0 | ||
#define pmap_protect_p_addr 0x0003E18E7 | ||
|
||
// Patches | ||
// debug menu error | ||
#define debug_menu_error_patch1 0x005016FA | ||
#define debug_menu_error_patch2 0x0050296C | ||
|
||
// disable signature check | ||
#define disable_signature_check_patch 0x006BE880 | ||
|
||
// enable debug RIFs | ||
#define enable_debug_rifs_patch1 0x00668270 | ||
#define enable_debug_rifs_patch2 0x006682A0 | ||
|
||
// allow sys_dynlib_dlsym in all processes | ||
#define sys_dynlib_dlsym_patch1 0x0009547B | ||
#define sys_dynlib_dlsym_patch2 0x002F2C20 | ||
|
||
// disable some check for mmap | ||
#define vm_map_protect_check 0x00264C08 | ||
|
||
// enable debug log | ||
#define enable_debug_log_patch 0x000BC817 | ||
|
||
// enable uart output | ||
#define enable_uart_patch 0x01A6EAA0 | ||
|
||
#endif |
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,43 @@ | ||
#ifndef __OFFSETS_H__ | ||
#define __OFFSETS_H__ | ||
#pragma once | ||
|
||
// 7.50-7.51 | ||
#define XFAST_SYSCALL_addr 0x000001C0 | ||
|
||
// Names - Data | ||
#define PRISON0_addr 0x0113B728 | ||
#define ROOTVNODE_addr 0x01B463E0 | ||
#define PMAP_STORE_addr 0x0215EA40 | ||
#define DT_HASH_SEGMENT_addr 0x00C05068 | ||
|
||
// Functions | ||
#define pmap_protect_addr 0x001A9800 | ||
#define pmap_protect_p_addr 0x001A9847 | ||
|
||
// Patches | ||
// debug menu error | ||
#define debug_menu_error_patch1 0x004FF322 | ||
#define debug_menu_error_patch2 0x0050059C | ||
|
||
// disable signature check | ||
#define disable_signature_check_patch 0x006DD9A0 | ||
|
||
// enable debug RIFs | ||
#define enable_debug_rifs_patch1 0x00668140 | ||
#define enable_debug_rifs_patch2 0x00668170 | ||
|
||
// allow sys_dynlib_dlsym in all processes | ||
#define sys_dynlib_dlsym_patch1 0x004523C4 | ||
#define sys_dynlib_dlsym_patch2 0x00029A30 | ||
|
||
// disable some check for mmap | ||
#define vm_map_protect_check 0x003014C8 | ||
|
||
// enable debug log | ||
#define enable_debug_log_patch 0x0026F827 | ||
|
||
// enable uart output | ||
#define enable_uart_patch 0x01564910 | ||
|
||
#endif |
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 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 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 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
Oops, something went wrong.