@@ -381,6 +381,7 @@ impl SandboxMemoryLayout {
381381
382382 /// Get the offset in guest memory to the OutB pointer.
383383 #[ instrument( skip_all, parent = Span :: current( ) , level= "Trace" ) ]
384+ #[ allow( dead_code) ]
384385 pub ( super ) fn get_outb_pointer_offset ( & self ) -> usize {
385386 // The outb pointer is immediately after the code pointer
386387 // in the `CodeAndOutBPointers` struct which is a u64
@@ -389,6 +390,7 @@ impl SandboxMemoryLayout {
389390
390391 /// Get the offset in guest memory to the OutB context.
391392 #[ instrument( skip_all, parent = Span :: current( ) , level= "Trace" ) ]
393+ #[ allow( dead_code) ]
392394 pub ( super ) fn get_outb_context_offset ( & self ) -> usize {
393395 // The outb context is immediately after the outb pointer
394396 // in the `CodeAndOutBPointers` struct which is a u64
@@ -416,6 +418,7 @@ impl SandboxMemoryLayout {
416418 /// This function exists to accommodate the macro that generates C API
417419 /// compatible functions.
418420 #[ instrument( skip_all, parent = Span :: current( ) , level= "Trace" ) ]
421+ #[ allow( dead_code) ]
419422 pub ( crate ) fn get_output_data_offset ( & self ) -> usize {
420423 self . output_data_buffer_offset
421424 }
@@ -452,6 +455,7 @@ impl SandboxMemoryLayout {
452455
453456 /// Get the offset in guest memory to the PEB address
454457 #[ instrument( skip_all, parent = Span :: current( ) , level= "Trace" ) ]
458+ #[ allow( dead_code) ]
455459 pub ( super ) fn get_in_process_peb_offset ( & self ) -> usize {
456460 self . peb_offset
457461 }
@@ -486,6 +490,7 @@ impl SandboxMemoryLayout {
486490
487491 /// Get the offset to the guest guard page
488492 #[ instrument( skip_all, parent = Span :: current( ) , level= "Trace" ) ]
493+ #[ allow( dead_code) ]
489494 pub fn get_guard_page_offset ( & self ) -> usize {
490495 self . guard_page_offset
491496 }
0 commit comments