Skip to content

Instantly share code, notes, and snippets.

@kay
Created May 27, 2013 19:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kay/5658590 to your computer and use it in GitHub Desktop.
Save kay/5658590 to your computer and use it in GitHub Desktop.
tag_underran and tag_overran
bool tag_underran(memory_t * memory) {
return *PTR_START_TAG(memory) != VALID_START_TAG;
}
bool tag_overran(memory_t * memory) {
return *PTR_END_TAG(memory) != VALID_END_TAG;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment