Skip to content

Commit

Permalink
Merge pull request #75 from Tai7sy/fix_constexpr_msvc
Browse files Browse the repository at this point in the history
fix #74
  • Loading branch information
mrexodia authored Jul 13, 2022
2 parents 5b0caf5 + 34f5502 commit 6f21abb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions VTIL-Architecture/arch/register_desc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ namespace vtil
//
register_flag flags = ( register_flag ) 0;

// unused, padding for msvc bug, see https://github.com/vtil-project/VTIL-Core/issues/74
uint32_t _pad0 = 0;

// Arbitrary identifier, is intentionally not universally unique to let ids of user registers make use
// of the full 64-bit range as otherwise we'd have to reserve some magic numbers for flags and stack pointer.
// Due to this reason, flags should also be compared when doing comparison.
Expand Down

0 comments on commit 6f21abb

Please sign in to comment.