Skip to content

Commit

Permalink
Fix fuzz
Browse files Browse the repository at this point in the history
  • Loading branch information
nbdd0121 committed Oct 7, 2021
1 parent 4b0d883 commit 6b6728e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fuzz/fuzz_targets/eh_frame.rs
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#![no_main]

use gimli::{
read::{BaseAddresses, CieOrFde, EhFrame, UninitializedUnwindContext, UnwindSection},
read::{BaseAddresses, CieOrFde, EhFrame, UnwindContext, UnwindSection},
LittleEndian,
};
use libfuzzer_sys::fuzz_target;

fuzz_target!(|eh_frame: &[u8]| {
let eh_frame = EhFrame::new(&eh_frame, LittleEndian);

let mut ctx = UninitializedUnwindContext::new();
let mut ctx = Box::new(UnwindContext::new());
let bases = BaseAddresses::default()
.set_eh_frame(0)
.set_eh_frame_hdr(0)
Expand Down

0 comments on commit 6b6728e

Please sign in to comment.