Rizin
unix-like reverse engineering framework and cli tools
sh_il.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: 2022 Dhruv Maroo <dhruvmaru007@gmail.com>
2 // SPDX-License-Identifier: LGPL-3.0-only
3 
4 #ifndef SH_RZIL_H
5 #define SH_RZIL_H
6 
7 #include <rz_analysis.h>
8 #include "../../../asm/arch/sh/disassembler.h"
9 
14 typedef struct sh_il_context_t {
16  bool use_banked;
18 
21 
22 #endif /* SH_RZIL_H */
#define RZ_IPI
Definition: analysis_wasm.c:11
#define RZ_NULLABLE
Definition: rz_types.h:65
#define RZ_NONNULL
Definition: rz_types.h:64
#define RZ_BORROW
Definition: rz_types.h:63
struct sh_il_context_t SHILContext
To store the context of the IL lifter ; Used to pass around information outside effects Other context...
RZ_IPI bool rz_sh_il_opcode(RZ_NONNULL RzAnalysis *analysis, RZ_NONNULL RzAnalysisOp *aop, ut64 pc, RZ_BORROW RZ_NONNULL const SHOp *op, RZ_NULLABLE SHILContext *ctx)
Store the lifted IL for op in aop This function also takes care of initializing and adding the privil...
Definition: sh_il.c:1759
RZ_IPI RzAnalysisILConfig * rz_sh_il_config(RZ_NONNULL RzAnalysis *analysis)
Initialize new config for the SuperH IL.
Definition: sh_il.c:1784
Description of the global context of an RzAnalysisILVM.
Definition: rz_analysis.h:1134
To store the context of the IL lifter ; Used to pass around information outside effects Other context...
Definition: sh_il.h:14
bool use_banked
Set to true (default) whenever the IL should use banked registers in case of privileged mode ; Settin...
Definition: sh_il.h:16
bool privilege_check
Set to true whenever the privilege mode is calculated (used to add a SETL effect for the privilege bi...
Definition: sh_il.h:15
Definition: dis.c:32
ut64(WINAPI *w32_GetEnabledXStateFeatures)()