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

Convert c structures to ctypes #17

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

Convert c structures to ctypes #17

emesare opened this issue Dec 24, 2022 · 1 comment

Comments

@emesare
Copy link
Member

emesare commented Dec 24, 2022

Not something that will exist within memflow-py however it would be a great addition to have a tool be able to convert a c structure into a ctypes structure. Something like https://github.com/fox-it/dissect.cstruct seems to have a rather "simple" parser for c-like structs, however I see no mention of generating ctypes structures, regardless generating the ctypes structure is the easy part,

@emesare
Copy link
Member Author

emesare commented Dec 24, 2022

Found something promising! https://github.com/trolldbois/ctypeslib I will give it a try and report back.

@emesare emesare pinned this issue Dec 24, 2022
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

No branches or pull requests

1 participant