pub enum ErrorKind {
Show 21 variants
NoEnvironment,
NoCpu,
CpuAlreadySet {
current: String,
},
UnknownCpu {
name: String,
suggestions: Vec<String>,
},
Overlap {
at: String,
marked: String,
},
PartialEquivalent {
range: String,
marked: String,
},
InvalidLabel {
label: String,
reason: &'static str,
},
InvalidArgument {
value: String,
reason: &'static str,
},
UnknownSpace {
name: String,
suggestion: Option<String>,
},
NothingMapped {
at: String,
},
InvalidEquivalent,
AlreadyClassified {
at: String,
marked: String,
covering: String,
cleared: u64,
asked: u64,
},
Io {
message: String,
},
CpuStillNeeded {
cpu: String,
decoded: u64,
},
LabelTaken {
label: String,
holder: String,
},
LocalLabelTaken {
label: String,
holder: String,
},
GeneratedLabel {
label: String,
},
RangeDoesNotDecode {
count: usize,
reasons: Vec<String>,
},
RangeCoversVectors {
vectors: Vec<String>,
},
BarrierStopsAuto {
at: String,
barrier: String,
marked: String,
},
RangeSwallowsTargets {
targets: Vec<String>,
omitted: usize,
first_target: String,
first_source: String,
sources: usize,
},
}Expand description
The facts of a refused command, rendered elsewhere.
Variants§
NoEnvironment
File access needed, none attached.
NoCpu
A disassembly command with no CPU selected.
CpuAlreadySet
set_cpu while a CPU is selected.
UnknownCpu
A CPU with no built-in driver.
Overlap
A range overlapping an existing classification.
PartialEquivalent
An unmap cutting a longer classification.
InvalidLabel
An illegal assembler symbol.
InvalidArgument
A value the command cannot take.
UnknownSpace
An address space this database lacks.
NothingMapped
A classify target with no mapped byte.
InvalidEquivalent
A classification the bytes cannot take.
AlreadyClassified
A mark over already-classified bytes.
Fields
Io
A filesystem failure.
CpuStillNeeded
A cleared CPU with decoded bytes.
LabelTaken
A label another address already holds.
LocalLabelTaken
A local label reused inside one routine.
GeneratedLabel
A label equal to the generated form.
RangeDoesNotDecode
A range that decodes badly.
RangeCoversVectors
A classify range covering live vectors.
BarrierStopsAuto
An auto-disassemble root under a barrier.
RangeSwallowsTargets
A classify range covering branch targets.