Skip to main content

ItemKind

Enum ItemKind 

Source
pub enum ItemKind {
Show 13 variants UnmappedGap { from: String, to: String, len: AddressValue, }, TargetOutsideImage { verb: Flow, from: String, to: String, }, MisalignedTarget { verb: Flow, from: String, to: String, covering: String, }, UnfollowedTarget { verb: Flow, from: String, to: String, barrier: Option<UnfollowedBarrier>, }, FlowIntoData { from: String, to: String, barrier: String, decodes_like_code: bool, }, FlowIntoUndefined { from: String, to: String, }, FlowOffEnd { from: String, to: String, }, UndecodedEntryPoint { at: String, name: String, reason: String, }, UndefinedBytes { range: String, count: AddressValue, }, ProvisionalLabel { at: String, role: String, caller: Option<String>, starts: Option<String>, working_name: Option<String>, noted: bool, }, UnnamedData { at: String, refs: usize, first: String, inferred: bool, }, UndocumentedRoutine { at: String, name: String, has_comment: bool, }, UndecidedOperand { at: String, value: String, candidates: Vec<String>, },
}
Expand description

One problem’s facts, rendered elsewhere.

Variants§

§

UnmappedGap

A hole inside the mapped image.

Fields

§from: String
§

TargetOutsideImage

A control target outside the image.

Fields

§verb: Flow
§from: String
§

MisalignedTarget

A control target inside another instruction.

Fields

§verb: Flow
§from: String
§covering: String

The instruction covering to.

§

UnfollowedTarget

A control target not yet decoded.

Fields

§verb: Flow
§from: String
§barrier: Option<UnfollowedBarrier>

The blocking run over to.

§

FlowIntoData

Code falls through into data.

Fields

§from: String
§barrier: String

The data run covering to.

§decodes_like_code: bool

Whether the data decodes cleanly.

§

FlowIntoUndefined

Code falls through into unclassified bytes.

Fields

§from: String
§

FlowOffEnd

Code runs off the mapped bytes.

Fields

§from: String
§

UndecodedEntryPoint

A vector whose handler is not decoded.

Fields

§name: String
§reason: String
§

UndefinedBytes

Bytes neither code nor typed data.

Fields

§range: String
§

ProvisionalLabel

A referenced address without a real name.

Fields

§role: String

subroutine or jump target.

§caller: Option<String>
§starts: Option<String>

The first instruction at at.

§working_name: Option<String>

The draft name, when one was tried.

§noted: bool

Whether a note already covers at.

§

UnnamedData

Pointer-addressed data without a name.

Fields

§refs: usize
§first: String
§inferred: bool

Whether the pointer reference is inferred.

§

UndocumentedRoutine

A named routine with no note.

Fields

§name: String
§has_comment: bool
§

UndecidedOperand

An operand with an ambiguous space.

Fields

§value: String
§candidates: Vec<String>

Implementations§

Source§

impl ItemKind

Source

pub fn slug(&self) -> &'static str

The kind string used in ids.

Source

pub fn phase(&self) -> Phase

The phase this kind blocks.

Source

pub fn severity(&self) -> Severity

How much this kind matters.

Trait Implementations§

Source§

impl Clone for ItemKind

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ItemKind

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Serialize for ItemKind

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more