No description
.. it looks like (opcode == -1) should maybe lead to an error return
rather than a continue, but in any case we need to avoid leaking
'args' in this situation.
.. the previous arrangement lead to compiler diagnostics when
building with 'scan-build make', such as:
libtvm/tvm_parser.c:186:39: warning: Potential leak of memory pointed to by 'args'
for (line_idx = 0; tokens[line_idx]; line_idx++) {
^~~~~~~~
1 warning generated.
|
||
|---|---|---|
| bin | ||
| include/tvm | ||
| lib | ||
| libtvm | ||
| mlibc@abfeae4b1a | ||
| programs | ||
| src | ||
| tdb | ||
| .gitignore | ||
| .gitmodules | ||
| GNUmakefile | ||
| LICENSE | ||
| README | ||
| SYNTAX | ||
| TODO | ||
TinyVM is a virtual machine with the goal of having a small footprint. Low memory usage, a small amount of code, and a small binary. Building can be accomplished on UNIX-like systems with make and GCC. There are no external dependencies, save the C standard library. Building can be accomplished using "make," or "make rebuild". To build a debug version, add "DEBUG=yes" after "make". To build a binary with profiling enabled, add "PROFILE=yes" after "make". I can be reached at "joseph.kogut(at)gmail.com"