Skip to content

Conversation

@cromachina
Copy link
Contributor

Fixes allowing you to read 32 bit floats from the target process. Only 64 bit floats were being converted before.
This should fix #6 and #8

Fixes bytes being properly converted from the ctype buffer. Before, attempting to get bytes from data.value would truncate the data like a null terminated string. According to the python docs, you should call bytes(data) to retrieve the entire buffer as bytes, examples here: https://docs.python.org/3/library/ctypes.html#ctypes.create_string_buffer
I think this fixes #7, #9, and #11

@cromachina cromachina marked this pull request as draft June 3, 2025 18:09
@cromachina
Copy link
Contributor Author

There might be more to this I think, the search functions may also need to be fixed.

@cromachina
Copy link
Contributor Author

Okay tested a few more times to find specific byte strings in a process and it seems fine.

@cromachina cromachina marked this pull request as ready for review June 3, 2025 18:22
@JeanExtreme002
Copy link
Owner

Hi @cromachina! Sorry for the delay in getting back to you.

Thanks a lot for your contribution to the PR — really appreciate your help and your patience!

@JeanExtreme002 JeanExtreme002 merged commit 24d2ac2 into JeanExtreme002:master Jun 30, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pattern Scan? Wrong value at the address

2 participants