/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththisfile,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
use thiserror::Error;
#[derive(Debug, Error)] pubenum ProcessReaderError { #[error("Could not convert address {0}")]
ConvertAddressError(#[from] std::num::TryFromIntError), #[error("Could not parse address {0}")]
ParseAddressError(#[from] std::num::ParseIntError), #[cfg(target_os = "windows")] #[error("Cannot enumerate the target process's modules")]
EnumProcessModulesError, #[error("goblin failed to parse a module")]
GoblinError(#[from] goblin::error::Error), #[error("Address was out of bounds")]
InvalidAddress, #[error("Could not read from the target process address space")]
ReadFromProcessError(#[from] ReadError), #[cfg(any(target_os = "windows", target_os = "macos"))] #[error("Section was not found")]
SectionNotFound, #[cfg(any(target_os = "linux", target_os = "android"))] #[error("Could not attach to the target process")]
AttachError(#[from] PtraceError), #[cfg(any(target_os = "linux", target_os = "android"))] #[error("Note not found")]
NoteNotFound, #[cfg(any(target_os = "linux", target_os = "android"))] #[error("waitpid() failed when attaching to the process")]
WaitPidError, #[cfg(any(target_os = "linux", target_os = "android"))] #[error("Could not parse a line in /proc/<pid>/maps")]
ProcMapsParseError, #[error("Module not found")]
ModuleNotFound, #[cfg(any(target_os = "linux", target_os = "android"))] #[error("IO error for file {0}")]
IOError(#[from] std::io::Error), #[cfg(target_os = "macos")] #[error("Failure when requesting the task information")]
TaskInfoError, #[cfg(target_os = "macos")] #[error("The task dyld information format is unknown or invalid")]
ImageFormatError,
}
#[cfg(any(target_os = "linux", target_os = "android"))] #[derive(Debug, Error)] pubenum PtraceError { #[error("Could not read from the target process address space")]
ReadError(#[source] std::io::Error), #[error("Could not trace the process")]
TraceError(#[source] std::io::Error),
}
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.13 Sekunden
(vorverarbeitet am 2026-06-18)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.