Skip to main content

Tips and Troubleshooting

Development tips

All notes, code, structure about customising and developing CAPEv2. This mostly includes things that are not inside their documentation and things relevant to the development of the sandbox.

Debugging, Error Handling, General

  • If you want to generate logs, just initialise with log = logging.getLogger() from the logging module, from there you can just do log.{options}("message")
    • Options includes info, error, debug
  • To abort the analysis in the VM, just raise CuckooError
  • You can throw NotImplementedError for abstract functions