Mercurial > hg > Papers > 2018 > ryokka-thesis
view final_main/src/enumerate-inputs.c @ 5:eafc166804f3
fix Capter4.2,5,1
author | ryokka |
---|---|
date | Mon, 19 Feb 2018 18:44:59 +0900 |
parents | 93d26c4576d3 |
children |
line wrap: on
line source
void enumerateInputs(struct Context* context, struct Node* node) { if (context->loopCount > LIMIT_OF_VERIFICATION_SIZE) { return meta(context, Exit); } node->key = nondet_int(); node->value = node->key; context->next = VerifySpecification; context->loopCount++; return meta(context, Put); }