I am trying to read a value from a text file through kernel, which I do so via: 'ZwReadFile' and read into a CHAR streamRead[32]
Printing this value shows
Value is: 0000021A5DFFD9B0 which is the correct string from the file, I then wish to pass this to a call of MmCopyVirtualMemory, which causes me problems and the functions fails because of this variable, replacing it with the hardcoded 0x0000021A5DFFD9B0 works fine, can someone please point me in the right direction on how I can convert my value to a memory address?
The final form needs to be PVOID, but tried everything and can't get this to work properly, any help much appreciated,
Thanks