diff options
Diffstat (limited to 'src/analysis/line_code.c')
-rw-r--r-- | src/analysis/line_code.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/analysis/line_code.c b/src/analysis/line_code.c index cd7eba6..dcb8c5e 100644 --- a/src/analysis/line_code.c +++ b/src/analysis/line_code.c @@ -294,3 +294,22 @@ GRenderingLine *g_code_line_new(uint64_t offset, GArchInstruction *instr, const return G_RENDERING_LINE(result); } + + +/****************************************************************************** +* * +* Paramètres : line = line de rendu à consulter. * +* * +* Description : Fournit l'instruction associée à la ligne de code binaire. * +* * +* Retour : Adresse de l'instruction associée. * +* * +* Remarques : - * +* * +******************************************************************************/ + +GArchInstruction *g_code_line_get_instruction(const GCodeLine *line) +{ + return line->instr; + +} |