port: ProcessCRC verbatim (module introspection adapted) + XTrap mapped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
6d2d262de8
commit
80c5a1e39f
@@ -0,0 +1,65 @@
|
||||
{
|
||||
"reference": "UserInterface/ProcessCRC.cpp",
|
||||
"reference_sha256": "5d7e9065b473da7dbf043c5251087114064d8f9a3b0d77108f5a4d71ca15e41c",
|
||||
"priority": "P4",
|
||||
"contracts": [],
|
||||
"functions": {
|
||||
"stristr": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/UserInterface/ProcessCRC.cpp:stristr"
|
||||
],
|
||||
"test": [
|
||||
"tests/port/port_process_crc_test.cpp"
|
||||
]
|
||||
},
|
||||
"GetProcessInformation": {
|
||||
"status": "ADAPTED",
|
||||
"impl": [
|
||||
"src/platform/UserInterface/ProcessCRC.cpp:GetProcessInformation"
|
||||
],
|
||||
"test": [
|
||||
"tests/port/port_process_crc_test.cpp"
|
||||
],
|
||||
"note": "40250: Toolhelp32 module snapshot, returns the path/base of the module whose path contains the exe name, false if none. Port: no module snapshot on the platform, always false. Invariant: __GetExeCRC then takes the not-found path (ProcCRC = 0)."
|
||||
},
|
||||
"GetProcessMemoryCRC": {
|
||||
"status": "ADAPTED",
|
||||
"impl": [
|
||||
"src/platform/UserInterface/ProcessCRC.cpp:GetProcessMemoryCRC"
|
||||
],
|
||||
"test": [
|
||||
"tests/port/port_process_crc_test.cpp"
|
||||
],
|
||||
"note": "40250: CRC32 of the first 1 MB of the module image via ReadProcessMemory, 0 on failure. Port: returns 0 (no ReadProcessMemory); unreachable since GetProcessInformation is always false. Invariant: ProcCRC bytes of the magic cube are 0."
|
||||
},
|
||||
"__GetExeCRC": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/UserInterface/ProcessCRC.cpp:__GetExeCRC"
|
||||
],
|
||||
"test": [
|
||||
"tests/port/port_process_crc_test.cpp"
|
||||
],
|
||||
"note": "FileCRC = GetFileCRC32(GetExcutedFileName), whose PORT returns the working folder"
|
||||
},
|
||||
"BuildProcessCRC": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/UserInterface/ProcessCRC.cpp:BuildProcessCRC"
|
||||
],
|
||||
"test": [
|
||||
"tests/port/port_process_crc_test.cpp"
|
||||
]
|
||||
},
|
||||
"GetProcessCRCMagicCubePiece": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/UserInterface/ProcessCRC.cpp:GetProcessCRCMagicCubePiece"
|
||||
],
|
||||
"test": [
|
||||
"tests/port/port_process_crc_test.cpp"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"reference": "UserInterface/WiseLogicXTrap.cpp",
|
||||
"reference_sha256": "429871b63fecbc1c89f2d5522fa13637103602af72c54a0b24b74cdf36a4c8ab",
|
||||
"priority": "P4",
|
||||
"contracts": [],
|
||||
"functions": {
|
||||
"XTrap_Init": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/UserInterface/WiseLogicXTrap.cpp:XTrap_Init"
|
||||
],
|
||||
"note": "the #else (no XTRAP_CLIENT_ENABLE) build: the shipped Locale_inc.h (LOCALE_SERVICE_SINGAPORE) does not define it"
|
||||
},
|
||||
"XTrap_CheckInit": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/UserInterface/WiseLogicXTrap.cpp:XTrap_CheckInit"
|
||||
],
|
||||
"note": "the #else (no XTRAP_CLIENT_ENABLE) build: the shipped Locale_inc.h (LOCALE_SERVICE_SINGAPORE) does not define it"
|
||||
},
|
||||
"XTrap_PollEvent": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/UserInterface/WiseLogicXTrap.cpp:XTrap_PollEvent"
|
||||
],
|
||||
"note": "the #else (no XTRAP_CLIENT_ENABLE) build: the shipped Locale_inc.h (LOCALE_SERVICE_SINGAPORE) does not define it"
|
||||
},
|
||||
"XTrap_ValidateCheckStream": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/UserInterface/WiseLogicXTrap.cpp:XTrap_ValidateCheckStream"
|
||||
],
|
||||
"note": "the #else (no XTRAP_CLIENT_ENABLE) build: the shipped Locale_inc.h (LOCALE_SERVICE_SINGAPORE) does not define it"
|
||||
},
|
||||
"XTrap_SetUserInfo": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/UserInterface/WiseLogicXTrap.cpp:XTrap_SetUserInfo"
|
||||
],
|
||||
"note": "the #else (no XTRAP_CLIENT_ENABLE) build: the shipped Locale_inc.h (LOCALE_SERVICE_SINGAPORE) does not define it"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user