You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test fails as CryptoAnalysis is unable to find any misuses. My guess is that the error is somewhere in the FlowDroid configuration which is done in CogniCryptAndroidAnalysis.
Reason for the error (probably) is because onClick() is nowhere connected to the onCreate() method (which is the virtual main() for android apps). Thus the constructed callgraph does not contain the button callback and CryptoAnalysis is unable to check rules against the onCreate() method.
As far as i understand the FlowDroid documentation it should be able to get it working, however i was not able to find the relevant code pieces yet.
The text was updated successfully, but these errors were encountered:
Consider the following app code
with
MainActivity.java
and
activity_main.xml
Analyzing the code is done as follows:
The test fails as CryptoAnalysis is unable to find any misuses. My guess is that the error is somewhere in the FlowDroid configuration which is done in
CogniCryptAndroidAnalysis
.Reason for the error (probably) is because
onClick()
is nowhere connected to theonCreate()
method (which is the virtual main() for android apps). Thus the constructed callgraph does not contain the button callback and CryptoAnalysis is unable to check rules against theonCreate()
method.As far as i understand the FlowDroid documentation it should be able to get it working, however i was not able to find the relevant code pieces yet.
The text was updated successfully, but these errors were encountered: