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

wrong offsets for nameless struct inside union #3

Closed
bnbdr opened this issue Apr 28, 2017 · 0 comments
Closed

wrong offsets for nameless struct inside union #3

bnbdr opened this issue Apr 28, 2017 · 0 comments
Labels

Comments

@bnbdr
Copy link
Owner

bnbdr commented Apr 28, 2017

offsets calculated for nameless struct inside union are wrong if its not the first member.
reproducible using:

union([
    (DWORD, 'hex'),
    struct([
        (BYTE, 'r'),
        (BYTE, 'g'),
        (BYTE, 'b'),
        (BYTE, 'a')
    ])
])
@bnbdr bnbdr added the bug label Apr 28, 2017
@bnbdr bnbdr mentioned this issue Sep 10, 2017
@bnbdr bnbdr closed this as completed Sep 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant