
Go to the source code of this file.
Classes | |
| struct | emu_queue_item |
| struct | emu_queue |
Functions | |
| struct emu_queue_item * | emu_queue_item_new (void) |
| void | emu_queue_item_free (struct emu_queue_item *eqi) |
| struct emu_queue * | emu_queue_new (void) |
| void | emu_queue_free (struct emu_queue *eq) |
| void * | emu_queue_front (struct emu_queue *eq) |
| void | emu_queue_enqueue (struct emu_queue *eq, void *data) |
| void * | emu_queue_dequeue (struct emu_queue *eq) |
| bool | emu_queue_empty (struct emu_queue *eq) |
| void* emu_queue_dequeue | ( | struct emu_queue * | eq | ) |
Dequeue the first element from the queue
| eq | the queue |
References emu_queue::back, emu_queue_item::data, emu_queue_empty(), emu_queue_item_free(), emu_queue::front, and emu_queue_item::next.
Referenced by emu_graph_loop_detect(), emu_graph_path_exists(), emu_queue_free(), emu_shellcode_run_and_track(), emu_source_backward_bfs(), and emu_source_forward_bfs().

| bool emu_queue_empty | ( | struct emu_queue * | eq | ) |
Check if the queue is empty
| eq | the queue |
References emu_queue::front.
Referenced by emu_graph_loop_detect(), emu_graph_path_exists(), emu_queue_dequeue(), emu_queue_enqueue(), emu_queue_free(), emu_shellcode_run_and_track(), emu_source_backward_bfs(), and emu_source_forward_bfs().
| void emu_queue_enqueue | ( | struct emu_queue * | eq, | |
| void * | data | |||
| ) |
Enqueue data into the queue.
| eq | the queue | |
| data | the data to enqueue |
References emu_queue::back, emu_queue_item::data, emu_queue_empty(), emu_queue_item_new(), emu_queue::front, and emu_queue_item::next.
Referenced by emu_graph_loop_detect(), emu_graph_path_exists(), emu_shellcode_run_and_track(), emu_source_backward_bfs(), and emu_source_forward_bfs().

| void emu_queue_free | ( | struct emu_queue * | eq | ) |
References emu_queue_dequeue(), and emu_queue_empty().
Referenced by emu_graph_loop_detect(), emu_graph_path_exists(), emu_shellcode_run_and_track(), emu_source_backward_bfs(), and emu_source_forward_bfs().

| void* emu_queue_front | ( | struct emu_queue * | eq | ) |
Retrieve the pointer to the first element
| eq | the queue |
References emu_queue_item::data, and emu_queue::front.
| void emu_queue_item_free | ( | struct emu_queue_item * | eqi | ) |
Referenced by emu_queue_dequeue().
| struct emu_queue_item* emu_queue_item_new | ( | void | ) | [read] |
Referenced by emu_queue_enqueue().
| struct emu_queue* emu_queue_new | ( | void | ) | [read] |
Create a new queue
Referenced by emu_graph_loop_detect(), emu_graph_path_exists(), emu_shellcode_run_and_track(), emu_source_backward_bfs(), and emu_source_forward_bfs().
1.6.1