File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
fuzzers/full_system/qemu_intel_pt_bootloader/src
libafl_qemu/src/modules/systemmode Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ fn main() {
72
72
. accelerator ( Accelerator :: Kvm )
73
73
//.snapshot(true) todo: doesnt work
74
74
. default_devices ( false )
75
- . bios ( "/home/marco/code /qemu-libafl-bridge/build/qemu-bundle/usr/local/share/qemu/" )
75
+ . bios ( "target/debug /qemu-libafl-bridge/build/qemu-bundle/usr/local/share/qemu/" )
76
76
. start_cpu ( false )
77
77
. build ( ) ;
78
78
@@ -103,7 +103,6 @@ fn main() {
103
103
qemu. set_hw_breakpoint ( * BOOTLOADER_CODE . start ( ) as GuestAddr )
104
104
. unwrap ( ) ;
105
105
106
- // todo: there is smth broken somewhere, QemuExitReason::Breakpoint reports a wrong address
107
106
unsafe {
108
107
match qemu. run ( ) {
109
108
Ok ( QemuExitReason :: Breakpoint ( ba) ) => {
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ impl<T> AddressFilter for IntelPTModule<T>
127
127
where
128
128
T : Debug + ' static ,
129
129
{
130
- fn register ( & mut self , address_range : Range < GuestAddr > ) {
130
+ fn register ( & mut self , address_range : & Range < GuestAddr > ) {
131
131
let pt = self . pt . as_mut ( ) . unwrap ( ) ;
132
132
let mut filters = pt. ip_filters ( ) ;
133
133
let range_inclusive =
You can’t perform that action at this time.
0 commit comments