[go: up one dir, main page]

Struct gimli::Evaluation [] [src]

pub struct Evaluation<'context, 'input, Endian> where Endian: 'context + Endianity, 'input: 'context { /* fields omitted */ }

A DWARF expression evaluation.

Methods

impl<'context, 'input, Endian> Evaluation<'context, 'input, Endian> where Endian: 'context + Endianity, 'input: 'context
[src]

Create a new DWARF expression evaluator.

Set an initial value to be pushed on the DWARF expression evaluator's stack. This can be used in cases like DW_AT_vtable_elem_location, which require a value on the stack before evaluation commences.

Set the enclosing object's address, as used by DW_OP_push_object_address

Set the maximum number of iterations to be allowed by the expression evaluator. The default is None. This value can be set to avoid denial of service attacks by bad DWARF bytecode.

Evaluate a DWARF expression.

Trait Implementations

impl<'context, 'input, Endian: Debug> Debug for Evaluation<'context, 'input, Endian> where Endian: 'context + Endianity, 'input: 'context
[src]

Formats the value using the given formatter.