Re:PicoC: a very small C interpreter for scripting
by rw- on Friday September 03, 2010 @05:35AM
(#1659022)
Are you sure? Even Valgrind does not detect everything.
E.g. when you mess up variables within your stack.
You simply need to verify each access before allowing it, much like Valgrind does.
Of course it's quite costly do to so, and since C gives the programmer a lot of freedom I guess it's hard to optimize the tests, i.e. to know which accesses are safe without explicitly keeping track.