pub struct GuestInjectionPlan {Show 27 fields
pub method: Method,
pub target: GuestProcessSelector,
pub payload_path: PathBuf,
pub allocation: GuestAllocationMethod,
pub dependency_policy: GuestDependencyPolicy,
pub tls: GuestTlsMode,
pub final_protections: GuestFinalProtections,
pub loader_metadata: GuestLoaderMetadataPolicy,
pub call_stack: GuestCallStackPolicy,
pub permission_transitions: GuestPermissionTransitions,
pub thread_starts: GuestThreadStartPolicy,
pub image_backing: GuestImageBacking,
pub base_address: GuestBaseAddress,
pub header_wipe: GuestHeaderWipe,
pub loader_entries: GuestLoaderEntries,
pub stack_shaping: GuestStackShaping,
pub cleanup: GuestCleanup,
pub vad_spoof: GuestVadSpoof,
pub target_module: Option<String>,
pub stage_base: Option<u64>,
pub stage_pattern: Option<GuestBytePattern>,
pub result_base: Option<u64>,
pub result_pattern: Option<GuestBytePattern>,
pub hook_module: String,
pub hook_function: String,
pub execution: GuestExecutionConfig,
pub timeout_ms: u32,
}Fields§
§method: Method§target: GuestProcessSelector§payload_path: PathBuf§allocation: GuestAllocationMethod§dependency_policy: GuestDependencyPolicy§tls: GuestTlsMode§final_protections: GuestFinalProtections§loader_metadata: GuestLoaderMetadataPolicy§call_stack: GuestCallStackPolicy§permission_transitions: GuestPermissionTransitions§thread_starts: GuestThreadStartPolicy§image_backing: GuestImageBacking§base_address: GuestBaseAddress§header_wipe: GuestHeaderWipe§loader_entries: GuestLoaderEntries§stack_shaping: GuestStackShaping§cleanup: GuestCleanup§vad_spoof: GuestVadSpoof§target_module: Option<String>§stage_base: Option<u64>§stage_pattern: Option<GuestBytePattern>§result_base: Option<u64>§result_pattern: Option<GuestBytePattern>§hook_module: String§hook_function: String§execution: GuestExecutionConfig§timeout_ms: u32Implementations§
Source§impl GuestInjectionPlan
impl GuestInjectionPlan
pub fn from_config(config: &DecantConfig) -> Result<Self, GuestInjectError>
Trait Implementations§
Source§impl Clone for GuestInjectionPlan
impl Clone for GuestInjectionPlan
Source§fn clone(&self) -> GuestInjectionPlan
fn clone(&self) -> GuestInjectionPlan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GuestInjectionPlan
impl Debug for GuestInjectionPlan
impl Eq for GuestInjectionPlan
Source§impl PartialEq for GuestInjectionPlan
impl PartialEq for GuestInjectionPlan
Source§fn eq(&self, other: &GuestInjectionPlan) -> bool
fn eq(&self, other: &GuestInjectionPlan) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GuestInjectionPlan
Auto Trait Implementations§
impl Freeze for GuestInjectionPlan
impl RefUnwindSafe for GuestInjectionPlan
impl Send for GuestInjectionPlan
impl Sync for GuestInjectionPlan
impl Unpin for GuestInjectionPlan
impl UnsafeUnpin for GuestInjectionPlan
impl UnwindSafe for GuestInjectionPlan
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.