Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic Analysis wont fire if database exists but is empty #28

Open
mrfearless opened this issue Mar 26, 2018 · 1 comment
Open

Automatic Analysis wont fire if database exists but is empty #28

mrfearless opened this issue Mar 26, 2018 · 1 comment

Comments

@mrfearless
Copy link

If a database for a debuggee target exists already but is empty - say with the dbclear command (which leaves just the hash value in the database and no labels, comments, breakpoints etc approx file is 57 bytes in size) then when automatic analysis option is checked and debuggee target reaches entrypoint the auto analysis with instead fetch from the database (which is empty) and thus will not trigger the auto analysis.

If the database file is deleted then the auto analysis option will fire correctly as if it is a first time view of the debuggee target.

@ThunderCls
Copy link
Owner

Yeah, the initial approach I had regarding this was to just check for the existence of the db file and not its content, so the analysis would fire in case no db were found and the opposite if found, that's why you're getting this behavior. I can't think of another way to do it but to mess with the db content and do serveral checkings here and there or maybe just check if the db is empty or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants