Skip to content

[Question]: About PAYLOAD GUIDs #84

Closed Answered by vosen
lshqqytiger asked this question in Q&A
Discussion options

You must be logged in to vote

Those GUIDs are keys used by Microsoft Detours library. When ZLUDA launcher (zluda.exe) launches a process it injects the zluda redirector dll and paths to CUDA dlls. The GUIDs are keys used to write and read path information.
For example when you execute

c:\foo\zluda.exe -- c:\bar\app.exe

then injector inside app.exe knows that using key PAYLOAD_NVCUDA_GUID it can get path to nvcuda.dll that is c:\foo\nvcuda.dll.
See Detours wiki here: https://github.com/microsoft/Detours/wiki/DetourBinarySetPayload and here: https://github.com/microsoft/Detours/wiki/DetourFindPayload

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lshqqytiger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants