honeynet/droidbot

Is there a way to stop Droidbot from generating the "Force Stop" operation

HongheZ opened this issue · 2 comments

Hello! May I ask another question? When I used Droidbot to generate random operation, the "Force Stop" operation event generated by Droidbot would affect the experimental results. Therefore, is there a way to stop Droidbot from generating the "Force Stop" operation? Or could you please tell me which part of the program can change the settings related to operation generation of the Droidbot? Thanks!

Sure.
The input generation policies are mostly implemented in https://github.com/honeynet/droidbot/blob/master/droidbot/input_policy.py file.
By searching for "get_stop_intent" in the file, you will find the "stop" operations. You may need to find the class for the input policy you are using (e.g. UtgGreedySearchPolicy) and modify it accordingly.

Thank you for your reply!