|
SandMark version 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sandmark.watermark.util.BasicBlockMarker | +--sandmark.watermark.util.StaticWriteParityMarker | +--sandmark.watermark.util.InsnCountMarker
This class marks basic blocks with a one-bit value by manipulating the number of instructions in the block. An even number of instructions corresponds to 0; an odd number corresponds to 1.
PutstaticCountMarker
Constructor Summary | |
InsnCountMarker(de.fub.bytecode.generic.ClassGen cg)
|
Method Summary | |
protected int |
getParity(BasicBlock b)
Returns either 0 or 1, based on whether the number of instructions in the given basic block is odd or even. |
Methods inherited from class sandmark.watermark.util.StaticWriteParityMarker |
capacityIsConstant, embed, getCapacity, methodGen, recognize |
Methods inherited from class sandmark.watermark.util.BasicBlockMarker |
embed |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public InsnCountMarker(de.fub.bytecode.generic.ClassGen cg)
Method Detail |
protected int getParity(BasicBlock b)
getParity
in class StaticWriteParityMarker
|
SandMark version 3.0 Wed Jan 29 10:30:05 MST 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |