-
Notifications
You must be signed in to change notification settings - Fork 563
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
Use log helper #449
Use log helper #449
Commits on Feb 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f7d03a8 - Browse repository at this point
Copy the full SHA f7d03a8View commit details -
Need something like this for when modules are imported by other modules (no main in oletools is run, so no log_helper.enable_logging)
Configuration menu - View commit details
-
Copy full SHA for a025857 - Browse repository at this point
Copy the full SHA a025857View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68a27d0 - Browse repository at this point
Copy the full SHA 68a27d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c0db3b - Browse repository at this point
Copy the full SHA 5c0db3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f7a3957 - Browse repository at this point
Copy the full SHA f7a3957View commit details -
olevba: close() the VBA_Parser
So glad we have the unittests, otherwise would never have found this
Configuration menu - View commit details
-
Copy full SHA for 55d9926 - Browse repository at this point
Copy the full SHA 55d9926View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e59e93 - Browse repository at this point
Copy the full SHA 5e59e93View commit details -
This is slightly more complicated since olevba has its own json-print functions that need to be made compatible with log_helper's json formatting
Configuration menu - View commit details
-
Copy full SHA for ca0ee46 - Browse repository at this point
Copy the full SHA ca0ee46View commit details -
log_helper: allow integration with other json-printers
Make log_helper compatible with olevba which has its own print_json function and does not (yet?) use logging to create json.
Configuration menu - View commit details
-
Copy full SHA for cdede5b - Browse repository at this point
Copy the full SHA cdede5bView commit details -
log_helper: Use stdout for all json logging
Logging uses the default StreamHandler, which per default sends its output to sys.stderr. However, the surrounding '[', ']' are printed to stdout. Fix that.
Configuration menu - View commit details
-
Copy full SHA for 1e920d6 - Browse repository at this point
Copy the full SHA 1e920d6View commit details -
log_helper: provide logging.NOTSET
This constant is needed for enable_logging() functions. It is the only reason for `import logging` in common-logging-enabled modules. Easier to provide it in log_helper
Configuration menu - View commit details
-
Copy full SHA for 87378db - Browse repository at this point
Copy the full SHA 87378dbView commit details -
log_helper: Provide logger.setLevel also for older python
This is part of LoggerAdapter only since python 3.2
Configuration menu - View commit details
-
Copy full SHA for 41b986a - Browse repository at this point
Copy the full SHA 41b986aView commit details -
tests: Update olevba test to slight change in json output
Do not need the last meta-information return code json output from olevba any more
Configuration menu - View commit details
-
Copy full SHA for 58954d6 - Browse repository at this point
Copy the full SHA 58954d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for a3a5775 - Browse repository at this point
Copy the full SHA a3a5775View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79b3c64 - Browse repository at this point
Copy the full SHA 79b3c64View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c1c523 - Browse repository at this point
Copy the full SHA 6c1c523View commit details -
Configuration menu - View commit details
-
Copy full SHA for de1e1ee - Browse repository at this point
Copy the full SHA de1e1eeView commit details -
Logging in mraptor is used for debugging olevba only
Configuration menu - View commit details
-
Copy full SHA for bcc339d - Browse repository at this point
Copy the full SHA bcc339dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 410baa0 - Browse repository at this point
Copy the full SHA 410baa0View commit details -
tests: fix & extend olevba crypto test
VBA stomping warning might occur here
Configuration menu - View commit details
-
Copy full SHA for f899797 - Browse repository at this point
Copy the full SHA f899797View commit details -
On my test VM this reduces test time for this one test from 33s to 10s
Configuration menu - View commit details
-
Copy full SHA for b8ba847 - Browse repository at this point
Copy the full SHA b8ba847View commit details