Repository navigation
Creating string of hashes from PVOID variable #1489
|
I was trying to find a way to create a string of hashes from a PVOID variable in a for loop. For reference I have the following code
Inside the |
Replies: 1 comment
|
The string concatenation functions themselves may not be the problem here. Looking at the code snippet, I'd first verify that the types being passed around are what the Process Hacker string APIs expect. A few observations: 1.
|


The string concatenation functions themselves may not be the problem here. Looking at the code snippet, I'd first verify that the types being passed around are what the Process Hacker string APIs expect.
A few observations:
1.
PhConcatStrings2returns a new stringFunctions such as:
don't append to an existing
PPH_STRING; they allocate and return a new one.For example:
You would then need to manage the references correctly:
If you ignore the returned value, nothing…