20110622 To turn on P1 off the main trun, uncomment the comments in $PEASOUP_HOME/tools/ps_analyze.h that have to do with P1.
Tool Chain
------------------
MEDS: produces annotations
...
...
@@ -16,7 +20,7 @@ Produce coverage information for all candidate functions
Use instruction execution information provided by Grace + instructions info per function provided by MEDS/ELF (for a fn, metric is: #instructions-visited/#instructions-in-function). A better metric here could be: #instructions-stack-reference/#instruction-stack-references-in-function (TBD).
Run BED (Behavioral Equivalence Detector)
Use GrammatTech's replayer tool
Use GrammaTech's replayer tool
Produce final set of spri rules by merging all functions that pass BED
Literally a merge of all the files
...
...
@@ -31,16 +35,19 @@ Deploy binary
NB: to do later: if validation fails we need to iterate and remove rules until we get a set of rules that pass BED. One way of doing this is to use coverage information to guide this search, i.e., start by removing the least covered functions first.
Notes
-----------------------------
P1 only attempts to transform functions that are "nice" (stack frame alloc/dealloc, not memory safe)
------------------
P1 only attempts to transform functions that are "nice" (1 stack frame alloc/dealloc, not memory safe)