Adding framework to include hook functions that get executed when copying gocat extension files for compilation. This allows users to invoke python functions to edit golang files at compile time, such as using caldera configuration file settings to change variables within golang code.
Type of change
[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update
How Has This Been Tested?
Tested compilation using a custom hook function for a sandcat extension and verified that the changes were reflected in the resulting golang executable.
Checklist:
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
Description
Adding framework to include hook functions that get executed when copying gocat extension files for compilation. This allows users to invoke python functions to edit golang files at compile time, such as using caldera configuration file settings to change variables within golang code.
Type of change
How Has This Been Tested?
Tested compilation using a custom hook function for a sandcat extension and verified that the changes were reflected in the resulting golang executable.
Checklist: