๐
This file contains hidden or 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
| /* Support for executing system calls in the context of the game process. */ | |
| static const int injection_size = 4; | |
| static const char nop_code_bytes[injection_size] = { | |
| /* This is the byte pattern used to pad function | |
| addresses to multiples of 16 bytes. It consists | |
| of RET and a sequence of NOPs. The NOPs are not | |
| supposed to be used, so they can be overwritten. */ | |
| 0xC3, 0x90, 0x90, 0x90 |
This file contains hidden or 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
| HDCP MASTER KEY (MIRROR THIS TEXT!) | |
| This is a forty times forty element matrix of fifty-six bit | |
| hexadecimal numbers. | |
| To generate a source key, take a forty-bit number that (in | |
| binary) consists of twenty ones and twenty zeroes; this is | |
| the source KSV. Add together those twenty rows of the matrix | |
| that correspond to the ones in the KSV (with the lowest bit | |
| in the KSV corresponding to the first row), taking all elements |
NewerOlder