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

Opcode and Operands accessibility #13

Closed
J4ckKn1ght opened this issue Apr 24, 2019 · 3 comments
Closed

Opcode and Operands accessibility #13

J4ckKn1ght opened this issue Apr 24, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@J4ckKn1ght
Copy link

J4ckKn1ght commented Apr 24, 2019

I want to write a custom pattern base on Opcode and Oprands of IntelInstruction but it is a field in internal type. I cannot access it from my library. Can I access that fields? Any problem if I publish InsInfo type?

[<NoComparison; CustomEquality>]
type InsInfo = internal {
  /// Prefixes.
  Prefixes        : Prefix
  /// REX Prefix.
  REXPrefix       : REXPrefix
  /// VEX information.
  VEXInfo         : VEXInfo option
  /// Opcode.
  Opcode          : Opcode
  /// Operands.
  Operands        : Operands
  /// Instruction size information.
  InsSize         : InsSize
}
@sangkilc
Copy link
Member

Thanks for reporting this bug. I think it should be transparent. Will fix this bug ASAP.

@sangkilc sangkilc added the bug Something isn't working label Apr 24, 2019
@sangkilc
Copy link
Member

Fixed in 4643759.

@J4ckKn1ght
Copy link
Author

Thanks for your support!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants