summaryrefslogtreecommitdiff
path: root/src/arch/instruction.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2009-10-07 00:22:10 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2009-10-07 00:22:10 (GMT)
commitdaa0084325d4e748f334a223e1cd3800120e6055 (patch)
tree9f8bfe9296e1a4f6aa945418293f895303b771e2 /src/arch/instruction.c
parentd9be16271ab3fbb95d6c95baa92242358f0e7dfd (diff)
Created a function to load n x86 operands and supported extra x86 opcodes.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@128 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/instruction.c')
-rw-r--r--src/arch/instruction.c48
1 files changed, 0 insertions, 48 deletions
diff --git a/src/arch/instruction.c b/src/arch/instruction.c
index 8bc317b..16e5c81 100644
--- a/src/arch/instruction.c
+++ b/src/arch/instruction.c
@@ -196,54 +196,6 @@ void g_arch_instruction_get_location(GArchInstruction *instr, off_t *offset, off
* Paramètres : instr = instance à mettre à jour. *
* opererand = instruction à venir associer. *
* *
-* Description : Attache un seul opérande à un instruction. *
-* *
-* Retour : - *
-* *
-* Remarques : - *
-* *
-******************************************************************************/
-
-void g_arch_instruction_attach_one_operand(GArchInstruction *instr, GArchOperand *operand)
-{
- instr->operands = (GArchOperand **)calloc(1, sizeof(GArchOperand *));
- instr->operands_count = 1;
-
- instr->operands[0] = operand;
-
-}
-
-
-/******************************************************************************
-* *
-* Paramètres : instr = instance à mettre à jour. *
-* operand1 = première instruction à venir associer. *
-* operand2 = seconde instruction à venir associer. *
-* *
-* Description : Attache deux opérandes à un instruction. *
-* *
-* Retour : - *
-* *
-* Remarques : - *
-* *
-******************************************************************************/
-
-void g_arch_instruction_attach_two_operands(GArchInstruction *instr, GArchOperand *operand1, GArchOperand *operand2)
-{
- instr->operands = (GArchOperand **)calloc(2, sizeof(GArchOperand *));
- instr->operands_count = 2;
-
- instr->operands[0] = operand1;
- instr->operands[1] = operand2;
-
-}
-
-
-/******************************************************************************
-* *
-* Paramètres : instr = instance à mettre à jour. *
-* opererand = instruction à venir associer. *
-* *
* Description : Attache un opérande supplémentaire à une instruction. *
* *
* Retour : - *