|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.brics.string.external.PublicExternalVisibility
public class PublicExternalVisibility
Treats public fields and methods as externally visible, and non-public fields and methods as not externally visible.
Under rare circumstances, a non-application class may access a protected or package-private field or method, in which case this strategy is not sound.
Constructor Summary | |
---|---|
PublicExternalVisibility()
|
Method Summary | |
---|---|
boolean |
isExternallyVisibleField(SootField field)
Defines which fields are seen by the string analysis as being acecssible from unknown code. |
boolean |
isExternallyVisibleMethod(SootMethod sm)
Defines which methods are seen by the string analysis as being accessible from unknown code. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PublicExternalVisibility()
Method Detail |
---|
public boolean isExternallyVisibleField(SootField field)
ExternalVisibility
An externally visible field is considered to be corrupt, meaning it can spontaneously change value.
isExternallyVisibleField
in interface ExternalVisibility
field
- a field in the application being analyzed
public boolean isExternallyVisibleMethod(SootMethod sm)
ExternalVisibility
isExternallyVisibleMethod
in interface ExternalVisibility
sm
- a method in the analyzed code.
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |