Package soot.jimple.toolkits.typing.fast
Interface ITypingStrategy
-
- All Known Implementing Classes:
DefaultTypingStrategy
public interface ITypingStrategyProvides a way to use different was to create and minimizeTypings.- Author:
- Marc Miltenberger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TypingcreateTyping(Typing tg)Creates a new typing class as a copy from a given classTypingcreateTyping(Chain<Local> locals)Creates a newTypingclass instance with initialized bottom types for the given localsvoidfinalizeTypes(Typing tp)Finalizes the given types, i.e., converts intermediate types such as [0..1] to final types such asboolean.voidminimize(List<Typing> tgs, IHierarchy h)Minimize the given typing list using the hierarchy
-
-
-
Method Detail
-
createTyping
Typing createTyping(Chain<Local> locals)
Creates a newTypingclass instance with initialized bottom types for the given locals- Parameters:
locals- the locals- Returns:
- the
Typing
-
createTyping
Typing createTyping(Typing tg)
Creates a new typing class as a copy from a given class
-
minimize
void minimize(List<Typing> tgs, IHierarchy h)
Minimize the given typing list using the hierarchy- Parameters:
tgs- theTypinglisth- the hierarchy
-
finalizeTypes
void finalizeTypes(Typing tp)
Finalizes the given types, i.e., converts intermediate types such as [0..1] to final types such asboolean.- Parameters:
tp- The typing to finalize
-
-