summaryrefslogtreecommitdiff
path: root/src/arch/raw.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-02-09 16:38:45 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-02-09 16:38:45 (GMT)
commit946f5f093c7265dc5a5e00694325605b249eea43 (patch)
treed3f42b4c1585572fd939918299a8b96d55ebf0c1 /src/arch/raw.h
parent76f44a20a5b277d7cbc441c4e71943d4e5507a9d (diff)
Built raw instructions from uleb128 values.
Diffstat (limited to 'src/arch/raw.h')
-rw-r--r--src/arch/raw.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/raw.h b/src/arch/raw.h
index 459ade2..b40b411 100644
--- a/src/arch/raw.h
+++ b/src/arch/raw.h
@@ -55,6 +55,9 @@ GType g_raw_instruction_get_type(void);
/* Crée une instruction de type 'db/dw/etc' simple. */
GArchInstruction *g_raw_instruction_new_from_value(const vmpa2t *, MemoryDataSize, uint64_t);
+/* Crée une instruction de type 'db/dw/etc' pour un uleb128. */
+GArchInstruction *g_raw_instruction_new_uleb128(const GBinContent *content, vmpa2t *);
+
/* Crée une instruction de type 'db/dw/etc' étendue. */
GArchInstruction *g_raw_instruction_new_array(const GBinContent *, MemoryDataSize, size_t, vmpa2t *, SourceEndian);