Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Fuzzer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
XML Signature Mutator
Fuzzer
Commits
3c815033
There was an error fetching the commit references. Please try again later.
Commit
3c815033
authored
May 30, 2023
by
Timo Wiese
Browse files
Options
Downloads
Patches
Plain Diff
Add logging to plugin creation
parent
22c4cab9
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
xml_signature_mutator/afl_interface.py
+7
-1
7 additions, 1 deletion
xml_signature_mutator/afl_interface.py
with
7 additions
and
1 deletion
xml_signature_mutator/afl_interface.py
+
7
−
1
View file @
3c815033
...
@@ -312,10 +312,16 @@ def load_plugins() -> None:
...
@@ -312,10 +312,16 @@ def load_plugins() -> None:
for
item
in
mutator_cfg
[
"
mutator_cfg
"
]:
for
item
in
mutator_cfg
[
"
mutator_cfg
"
]:
logger
.
debug
(
f
"
Creating mutator
{
item
}
"
)
logger
.
debug
(
f
"
Creating mutator
{
item
}
"
)
tmp_plugin
=
plugin_util
.
create_plugin
(
item
)
tmp_plugin
=
plugin_util
.
create_plugin
(
item
)
logger
.
debug
(
f
"
Init mutator
"
)
try
:
tmp_plugin
.
init
(
seed
)
tmp_plugin
.
init
(
seed
)
except
:
logger
.
debug
(
"
exception during init
"
)
logger
.
debug
(
f
"
Add mutator to dict of created plugins
"
)
tmp_loaded_plugins
.
update
({
tmp_plugin
.
identifier
:
tmp_plugin
})
tmp_loaded_plugins
.
update
({
tmp_plugin
.
identifier
:
tmp_plugin
})
PLUGIN_STATE
.
update
({
"
mutators
"
:
tmp_loaded_plugins
})
PLUGIN_STATE
.
update
({
"
mutators
"
:
tmp_loaded_plugins
})
logger
.
debug
(
"
Load fallback mutator
"
)
# load fallback mutator separately
# load fallback mutator separately
tmp_plugin
=
plugin_util
.
create_plugin
(
tmp_plugin
=
plugin_util
.
create_plugin
(
mutator_cfg
[
"
fallback_mutator_cfg
"
].
pop
()
mutator_cfg
[
"
fallback_mutator_cfg
"
].
pop
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment