Skip to content

Commit

Permalink
feat: move authenticode init token in pe module struct
Browse files Browse the repository at this point in the history
  • Loading branch information
vthib committed Jan 8, 2023
1 parent 251671e commit ed8ef92
Show file tree
Hide file tree
Showing 4 changed files with 205 additions and 182 deletions.
2 changes: 1 addition & 1 deletion boreal/src/compiler/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ impl Compiler {
#[cfg(feature = "object")]
let _r = this.add_module(crate::module::MachO);
#[cfg(feature = "object")]
let _r = this.add_module(crate::module::Pe);
let _r = this.add_module(crate::module::Pe::new());

this
}
Expand Down
2 changes: 1 addition & 1 deletion boreal/src/module/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ mod tests {
{
test_type_traits_non_clonable(Elf);
test_type_traits_non_clonable(MachO);
test_type_traits_non_clonable(Pe);
test_type_traits_non_clonable(Pe::new());
}

assert_eq!(format!("{:?}", Value::Integer(0)), "Integer(0)");
Expand Down
Loading

0 comments on commit ed8ef92

Please sign in to comment.