File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ pub struct MemEvents {
4444pub enum AccessEvent {
4545 /// A read occurred on this memory range.
4646 Read ( AccessRange ) ,
47- /// A read occurred on this memory range.
47+ /// A read occurred on this memory range.
4848 Write ( AccessRange ) ,
4949}
5050
Original file line number Diff line number Diff line change @@ -202,7 +202,9 @@ pub unsafe fn init_sv() -> Result<(), SvInitError> {
202202 // The "Ok" case means that we couldn't ptrace.
203203 Ok ( e) => return Err ( e) ,
204204 Err ( p) => {
205- eprintln ! ( "Supervisor process panicked!\n {p:?}\n \n Try running again without using the native-lib tracer." ) ;
205+ eprintln ! (
206+ "Supervisor process panicked!\n {p:?}\n \n Try running again without using the native-lib tracer."
207+ ) ;
206208 std:: process:: exit ( 1 ) ;
207209 }
208210 }
Original file line number Diff line number Diff line change @@ -408,10 +408,7 @@ fn handle_segfault(
408408 match x86_operand. op_type {
409409 // We only care about memory accesses
410410 arch:: x86:: X86OperandType :: Mem ( _) => {
411- let push = AccessRange {
412- addr,
413- size : x86_operand. size . into ( ) ,
414- } ;
411+ let push = AccessRange { addr, size : x86_operand. size . into ( ) } ;
415412 // It's called a "RegAccessType" but it also applies to memory
416413 let acc_ty = x86_operand. access . unwrap ( ) ;
417414 if acc_ty. is_readable ( ) {
You can’t perform that action at this time.
0 commit comments