Skip to content

Instantly share code, notes, and snippets.

@stryku
Created March 5, 2017 17:45
Show Gist options
  • Save stryku/6ad56796874a03cccfbf4ac97b077b35 to your computer and use it in GitHub Desktop.
Save stryku/6ad56796874a03cccfbf4ac97b077b35 to your computer and use it in GitHub Desktop.
template <typename ...rest_of_tokens>
struct matcher_impl<tuple<tokens::tok_exit, rest_of_tokens...>>
{
using instruction = values_container<inst::to_size<inst::id_t::EXIT>>;
static constexpr auto eip_change = get_eip_change<inst::id_t::EXIT>;
using instruction_tokens = tuple<tokens::tok_exit>;
using rest_of_tokens_t = tuple<rest_of_tokens...>;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment