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

Debugging cuckoo monitor #83

Open
3ntr0phy opened this issue Aug 16, 2020 · 1 comment
Open

Debugging cuckoo monitor #83

3ntr0phy opened this issue Aug 16, 2020 · 1 comment

Comments

@3ntr0phy
Copy link

Hello,
I am making some changes to the monitor and I was wondering if there is any useful API for debugging it. I am mainly working on the hook part.
Thank you

@baxitaurus
Copy link

As far as I know there is no API to debug the monitor. You can debug-print it in two ways:

  • compiling the project using ./make-debug.sh (it's in the root of the project). This will allow you to debug-print using log_debug("you message here")
  • Using pipe("INFO:your message here") in the code (you can change the level of course)

Depending on your choice:

  • In the first case all the log_debug messages will be printed to the file related to the process being debugged (the file will be uploaded to the Results Server as a dropped file)
  • In the second case you'll find the debug prints in the live analysis.log file.

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

No branches or pull requests

2 participants