4 #define USE_BB_STACKPTR 0
5 #define USE_BB_LINEAR 1
12 switch (
op->stackop) {
38 *ostackptr = stackptr;
39 switch (
op->stackop) {
44 stackptr +=
op->stackptr;
60 static int ds_ostackptr_atfcn(
RzDisasmState *ds,
int *ostackptr) {
66 return _stackptr_range(ds, ds->
fcn->
addr, ds->
at, 0, ostackptr);
80 rz_list_foreach (paths, pathi,
path) {
81 rz_list_foreach (
path, bbi, bb) {
86 stackptr = _stackptr_range(ds, bb->
addr,
end, stackptr, ostackptr);
95 static int ds_ostackptr_at(
RzDisasmState *ds,
int *ostackptr) {
111 return ds_ostackptr_atfcn(ds, ostackptr);
120 int stackptr = ds_ostackptr_at(ds, &ostackptr);
124 : stackptr > ostackptr ?
"+"
125 : stackptr < ostackptr ?
"-"
RZ_API RzList * rz_core_analysis_graph_to(RzCore *core, ut64 addr, int n)
RZ_API RzAnalysisOp * rz_core_analysis_op(RzCore *core, ut64 addr, int mask)
RZ_API int rz_cons_printf(const char *format,...)
static static fork const void static count static fd const char const char static newpath const char static path const char path
static void ds_print_stackptr(RzDisasmState *ds)
RZ_DEPRECATE RZ_API RzAnalysisFunction * rz_analysis_get_fcn_in(RzAnalysis *analysis, ut64 addr, int type)
RZ_API RzAnalysisBlock * rz_analysis_fcn_bbget_in(const RzAnalysis *analysis, RzAnalysisFunction *fcn, ut64 addr)
RZ_API void rz_list_free(RZ_NONNULL RzList *list)
Empties the list and frees the list pointer.
RZ_API void rz_analysis_op_free(void *op)
@ RZ_ANALYSIS_FCN_TYPE_NULL
@ RZ_ANALYSIS_STACK_RESET
@ RZ_ANALYSIS_STACK_ALIGN
@ RZ_ANALYSIS_OP_TYPE_CALL
@ RZ_ANALYSIS_OP_TYPE_RET
#define rz_warn_if_reached()
RzAnalysisStackOp stackop
ut64(WINAPI *w32_GetEnabledXStateFeatures)()