Skip to content

Commit

Permalink
Fix alignment check in 32-bits.
Browse files Browse the repository at this point in the history
  • Loading branch information
plusvic committed Apr 8, 2024
1 parent 3395fee commit 9c26038
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions libyara/include/yara/types.h
Expand Up @@ -293,8 +293,13 @@ struct YR_RULE
// Number of atoms generated for this rule.
int32_t num_atoms;

// Number of strings that must match for this rule to have some possibility
// to match.
uint32_t required_strings;

// Just for padding.
uint32_t unused;

DECLARE_REFERENCE(const char*, identifier);
DECLARE_REFERENCE(const char*, tags);
DECLARE_REFERENCE(YR_META*, metas);
Expand Down

0 comments on commit 9c26038

Please sign in to comment.