Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support null terminated string types #13

Open
emesare opened this issue Dec 23, 2022 · 1 comment
Open

Support null terminated string types #13

emesare opened this issue Dec 23, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@emesare
Copy link
Member

emesare commented Dec 23, 2022

https://docs.python.org/3/library/ctypes.html#ctypes.c_char_p
https://docs.python.org/3/library/ctypes.html#ctypes.c_wchar_p

memflow already supports reading null terminated strings. Only on UTF-8 encoded strings, however. We will need our own for c_wchar_p.

@emesare emesare self-assigned this Dec 23, 2022
@emesare emesare added the enhancement New feature or request label Dec 23, 2022
@emesare
Copy link
Member Author

emesare commented Jan 5, 2023

Preliminary support added with: e76e46e. Once we move to deduplicate our memory read/write functions, broad support for these null terminated string readers will be added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant