Struct libafl_cc::cfg::EntryBasicBlockInfo
source · pub struct EntryBasicBlockInfo {
pub calling_func: String,
pub node_loc: usize,
pub successor_edges: Vec<usize>,
}
Expand description
An entry basic block of a function.
Fields§
§calling_func: String
Name of the function that contains such basic block. For anonymous function, it is “__”.
node_loc: usize
The node’s index (i.e., cur_loc
).
successor_edges: Vec<usize>
prev_loc
>> 1 ^ cur_loc
of edges connecting [EntryBasicBlockInfo.node_loc
]
to successor blocks.
Implementations§
source§impl EntryBasicBlockInfo
impl EntryBasicBlockInfo
sourcepub fn add_successor(&mut self, successor_loc: usize)
pub fn add_successor(&mut self, successor_loc: usize)
Add a successor for an edge.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EntryBasicBlockInfo
impl RefUnwindSafe for EntryBasicBlockInfo
impl Send for EntryBasicBlockInfo
impl Sync for EntryBasicBlockInfo
impl Unpin for EntryBasicBlockInfo
impl UnwindSafe for EntryBasicBlockInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more