model: set reads_from "return value" in model-checker
authorBrian Norris <banorris@uci.edu>
Sat, 7 Jul 2012 01:37:11 +0000 (18:37 -0700)
committerBrian Norris <banorris@uci.edu>
Sat, 7 Jul 2012 02:04:34 +0000 (19:04 -0700)
commitbc487ada50f22a523e2bf92ff62bacba7db98701
tree06862ee3ba911fc496246cb687544d078afae27f
parenta124fdeef4ab9a7bcadf8d601742619ec06db5e3
model: set reads_from "return value" in model-checker

Previously, values (let alone the reads-from relationship) were not actually
returned from the model-checker to the user. This step sets up the return value
so that the user context can retrieve it rather than using a value stuck in the
snapshotting memory.

There are still several TODOs along with the reads-from relationship, but this
code is stable enough for providing a basis for further work.
model.cc