Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Structure

Andrea Mambretti edited this page Jan 8, 2020 · 2 revisions

Project structure

src/: Contains the speculator monitor code.

include/: Contains speculator data structures definition.

speculator.json: Contains the configuration for speculator. Each record within the json file represents a counter that will be decoded and used during the execution of the snippet of code. The first part is reserved for the victim process. The second instead, it is reserved for the attacker in case running in attacker/victim mode.

confs: Contains the template config file for each architecture. During the first time cmake runs one of this is selected and copied into speculator main folder.

scripts/*: Contains all the scripts useful for running in batch all the tests and summirize the tests from the results folder.

tests/* : This location is where the new tests and/or the examples should be dropped (either copying or generating or symliking them) to be compiled through speculator build system. Within this folder automatically the build system sets up the right header file that are architectural specific (e.g. x86).

examples/: Contains all the tests written using speculator that can be found in the paper (and eventually more). To used this files please move them under testsfolder

Clone this wiki locally