Rizin
unix-like reverse engineering framework and cli tools
|
#include <rz_types.h>
Go to the source code of this file.
Classes | |
struct | rz_stack_t |
Typedefs | |
typedef void(* | RzStackFree) (void *ptr) |
typedef struct rz_stack_t | RzStack |
Functions | |
RZ_API RzStack * | rz_stack_new (ut32 n) |
RZ_API void | rz_stack_free (RzStack *s) |
RZ_API bool | rz_stack_is_empty (RzStack *s) |
RZ_API RzStack * | rz_stack_newf (ut32 n, RzStackFree f) |
RZ_API bool | rz_stack_push (RzStack *s, void *el) |
RZ_API void * | rz_stack_pop (RzStack *s) |
RZ_API size_t | rz_stack_size (RzStack *s) |
RZ_API void * | rz_stack_peek (RzStack *s) |
typedef struct rz_stack_t RzStack |
typedef void(* RzStackFree) (void *ptr) |
Definition at line 10 of file rz_stack.h.
Definition at line 29 of file stack.c.
Referenced by cons_context_deinit(), dfs_node(), GetSegmentHeapBlocks(), rz_cons_break_end(), rz_str_word_set0_stack(), and tree_dfs_node().
Definition at line 68 of file stack.c.
References s.
Referenced by dfs_node(), GetSegmentHeapBlocks(), rz_cons_break_end(), rz_cons_context_break_push(), rz_stack_peek(), rz_str_word_set0_stack(), and tree_dfs_node().
Definition at line 6 of file stack.c.
References free(), n, NULL, RZ_NEW0, RZ_NEWS0, and s.
Referenced by dfs_node(), GetSegmentHeapBlocks(), rz_stack_newf(), rz_str_word_set0_stack(), and tree_dfs_node().
RZ_API RzStack* rz_stack_newf | ( | ut32 | n, |
RzStackFree | f | ||
) |
Definition at line 21 of file stack.c.
References f, n, rz_stack_new(), and s.
Referenced by cons_context_init(), and rz_cons_break_end().
Definition at line 59 of file stack.c.
Referenced by dfs_node(), GetSegmentHeapBlocks(), rz_cons_context_break_pop(), rz_cons_pop(), rz_str_word_set0_stack(), and tree_dfs_node().
Definition at line 42 of file stack.c.
Referenced by dfs_node(), GetSegmentHeapBlocks(), rz_cons_context_break_push(), rz_cons_push(), rz_str_word_set0_stack(), and tree_dfs_node().