Struct xbe::AddressInfo[][src]

pub struct AddressInfo<'a> { /* fields omitted */ }

Info for a virtual address in the XBE memory map.

This is suitable for user display, but probably most useful as a crash or debug helper since the Display output is very technical. Using {:?} is not recommended.

Note that if the address is not inside one of the static XBE sections, the output will be pretty useless. It is recommended to check the address against system-managed resources before using this (eg. stack, heap, kernel space).

Methods

impl<'a> AddressInfo<'a>
[src]

The virtual address for which this information was determined.

Returns the offset of virt_addr into its containing section.

Returns None if virt_addr is not inside any section of the XBE.

Returns the section containing the virtual address.

Returns None if virt_addr is not inside any section of the XBE.

Trait Implementations

impl<'a> Debug for AddressInfo<'a>
[src]

Formats the value using the given formatter. Read more

impl<'a> Display for AddressInfo<'a>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> Send for AddressInfo<'a>

impl<'a> Sync for AddressInfo<'a>