Struct panopticon_core::program::Program [] [src]

pub struct Program {
    pub uuid: Uuid,
    pub name: String,
    pub call_graph: CallGraph,
    pub imports: HashMap<u64, String>,
}

A collection of functions calling each other.

Fields

Unique, immutable identifier

Human-readable name

Graph of functions

Symbolic References (Imports)

Methods

impl Program
[src]

[src]

Create a new, empty Program named n.

[src]

Returns a function if it matches the condition in the filter closure.

[src]

Returns a mutable reference to the first function that matches the condition in the filter closure.

[src]

Returns a reference to the function with an entry point starting at start.

[src]

Returns the function with UUID a.

[src]

Returns the function with UUID a.

[src]

Puts function into the call graph, returning the UUIDs of all new Todos that are called by function

[src]

Returns the function, todo item or symbolic reference with UUID uu.

[src]

Returns an iterator over every Function in this program

[src]

Returns a mutable iterator over every Function in this program

[src]

Calls Function::set_plt on all matching functions

Trait Implementations

impl Debug for Program
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a> IntoIterator for &'a Program
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

[src]

Creates an iterator from a value. Read more