pub struct Probe {
pub launcher_present: bool,
pub java_major: Option<u32>,
}Expand description
What the environment looks like to the preflight, gathered by the caller.
The checks themselves are pure so they can be tested without a Ghidra install, a JDK, or a mutated process environment. The binary does the IO; this decides what it means.
Fields§
§launcher_present: boolWhether <ghidra_install_dir>/support/analyzeHeadless[.bat] exists.
java_major: Option<u32>Major version reported by java -version, if a java was reachable.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Probe
impl RefUnwindSafe for Probe
impl Send for Probe
impl Sync for Probe
impl Unpin for Probe
impl UnsafeUnpin for Probe
impl UnwindSafe for Probe
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