diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-02-02 20:38:58 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-02-02 20:38:58 (GMT) |
commit | 296b4ed15fd074f80266e1d22ef4ade7ee11905e (patch) | |
tree | 9ec0dc238f42c5f3b7f12e96dd1c631685c539b3 /src/arch/raw.h | |
parent | 62f178cc3dcc889d56ba6d94f6fc8bba7b503c1a (diff) |
Relied on flags for raw instructions.
Diffstat (limited to 'src/arch/raw.h')
-rw-r--r-- | src/arch/raw.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/arch/raw.h b/src/arch/raw.h index aac48ea..a1c3619 100644 --- a/src/arch/raw.h +++ b/src/arch/raw.h @@ -66,6 +66,14 @@ GArchInstruction *g_raw_instruction_new_sleb128(const GBinContent *content, vmpa /* Crée une instruction de type 'db/dw/etc' étendue. */ GArchInstruction *g_raw_instruction_new_array(const GBinContent *, MemoryDataSize, size_t, vmpa2t *, SourceEndian); +/* Drapeaux pour informations complémentaires */ +typedef enum _RawInstrFlag +{ + RIF_PADDING = (1 << (AIF_USER_BIT + 0)),/* Données de bourrage */ + RIF_STRING = (1 << (AIF_USER_BIT + 1)),/* Impression en chaîne */ + +} RawInstrFlag; + /* Marque l'instruction comme ne contenant que du bourrage. */ void g_raw_instruction_mark_as_padding(GRawInstruction *, bool); |