Home - GarCoSim/TraceFileSim GitHub Wiki
Introduction
Start by reading these slides
Getting Started
- Check out the code
- Navigate to root/Debug
- Type "make" (withouth the quotation marks)
- Run TraceFileSimulator (executable name might have a different ending depending on OS)
Tracefile Format
The tracefile accepts the following commands:
a Tt Oo Ss Nn Cc
allocates objecto
to threadt
with a size ofs
bytes,n
pointers and classc
+ Tt Oo
adds objecto
to the rootset of threadt
- Tt Oo
removes objecto
from the rootset of threadt
- Tt Cc
removes classc
from the rootset of threadt
w Tt Pp #n Oo
write reference to objecto
into slot numbern
of parent objectp
in threadt
c Tt Cc Oo
change the class of objecto
in threadt
to classc
r Tt Oo
read from objecto
in threadt
Troubleshooting
- We have tested our code under Ubuntu 14.10 64-bit, Windows 7 64-bit, and Mac OS X 10.10 64-bit. Other OS might work as well, but we did not test them yet.
- For editing we either recommend Eclipse for a heavyweight IDE or Sublime Text for a lightweight IDE