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

Can't use ZydisGetEncodableInstructions #413

Open
shitfuscator opened this issue Jan 12, 2023 · 2 comments
Open

Can't use ZydisGetEncodableInstructions #413

shitfuscator opened this issue Jan 12, 2023 · 2 comments
Labels
A-encoder Area: Encoder C-question Category: Question and assistance with usage

Comments

@shitfuscator
Copy link

shitfuscator commented Jan 12, 2023

I'm using the v4.0.0 amalgamation. I can't use the function ZydisGetEncodableInstructions from Zydis.h.

@athre0z
Copy link
Member

athre0z commented Jan 12, 2023

ZydisGetEncodableInstructions is an internal function that is not exported. It lives in Zydis/Internal/EncoderData.h when not amalgamated -- admittedly, that is harder to determine when using amalgamation. We should probably exclude the Internal directory from being included when generating the amalgamated header. For the time being, you can tell exported function from internal ones by the lack of the ZYDIS_EXPORT macro in front of the definition.

@flobernd flobernd added C-question Category: Question and assistance with usage A-encoder Area: Encoder labels Jan 13, 2023
@flobernd
Copy link
Member

Im just curious: Is there a specific reason you want to call this internal function?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-encoder Area: Encoder C-question Category: Question and assistance with usage
Projects
None yet
Development

No branches or pull requests

3 participants