Rizin
unix-like reverse engineering framework and cli tools
rz_graph_drawable.h
Go to the documentation of this file.
1 #ifndef RZ_GRAPH_DRAWABLE_H
2 #define RZ_GRAPH_DRAWABLE_H
3 
4 #include <rz_types.h>
5 #include <rz_util/rz_graph.h>
6 #include <rz_config.h>
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
18  char *title;
19  char *body;
28 
29 RZ_API void rz_graph_free_node_info(void *ptr);
30 RZ_API RzGraphNodeInfo *rz_graph_create_node_info(const char *title, const char *body, ut64 offset);
31 RZ_API RzGraphNode *rz_graph_add_node_info(RzGraph *graph, const char *title, const char *body, ut64 offset);
32 
40 RZ_API char *rz_graph_drawable_to_dot(RzGraph /*<RzGraphNodeInfo *>*/ *graph, const char *node_properties, const char *edge_properties);
48 RZ_API void rz_graph_drawable_to_json(RzGraph /*<RzGraphNodeInfo *>*/ *graph, PJ *pj, bool use_offset);
49 
50 #ifdef __cplusplus
51 }
52 #endif
53 #endif
#define RZ_API
voidpf uLong offset
Definition: ioapi.h:144
RZ_API void rz_graph_drawable_to_json(RzGraph *graph, PJ *pj, bool use_offset)
Convert graph to JSON.
RZ_API RzGraphNodeInfo * rz_graph_create_node_info(const char *title, const char *body, ut64 offset)
RZ_API char * rz_graph_drawable_to_dot(RzGraph *graph, const char *node_properties, const char *edge_properties)
Convert graph to Graphviz dot format.
RZ_API void rz_graph_free_node_info(void *ptr)
Definition: graph_drawable.c:8
struct rz_analysis_graph_node_info_t RzGraphNodeInfo
Generic drawable graph node.
RZ_API RzGraphNode * rz_graph_add_node_info(RzGraph *graph, const char *title, const char *body, ut64 offset)
Definition: rz_pj.h:12
Generic drawable graph node.
ut64 offset
Optional offset for the object corresponding to node.
ut64(WINAPI *w32_GetEnabledXStateFeatures)()