jtpereyda / boofuzz

A fork and successor of the Sulley Fuzzing Framework
GNU General Public License v2.0
2.03k stars 345 forks source link

Feature request: ability to log custom messages from procmon #273

Open fritzophrenic opened 5 years ago

fritzophrenic commented 5 years ago

Possibly related to or superseded by #202 . I would like to add specific logging to my procmon implementation so that I can see more detailed error information than "External instrumentation detects a crash" in the logs.

I can partially workaround this by manually passing the loggers which I create, to my own procmon implementation. However this does not include the database logger, so I am not able to use my log messages for any advanced filtering, etc. through the database.

This could be fixed if the pre_send, post_send, etc. functions received the logger object used by the session.

jtpereyda commented 5 years ago

Agreed. Thanks for making this need a little more concrete than the wording in #202. I agree that a situation where the pre_send and post_send functions have a logger object and use the same logging interface as the rest of the code base makes a lot of sense.