diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2009-06-25 00:34:22 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2009-06-25 00:34:22 (GMT) |
commit | f2696c85e502e36a529a1d8ee3d209498ac2c0e9 (patch) | |
tree | 3d8ffe28a730d32c98e8d048b99f67b7856acec9 /src/analysis/line_code.c | |
parent | 23c7cd436e2ec980a68e6d12a6d8a750e357763c (diff) |
Used Graphviz library for building graphs (first attempt).
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@80 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/analysis/line_code.c')
-rw-r--r-- | src/analysis/line_code.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/analysis/line_code.c b/src/analysis/line_code.c index dcb8c5e..5ca3623 100644 --- a/src/analysis/line_code.c +++ b/src/analysis/line_code.c @@ -287,6 +287,7 @@ GRenderingLine *g_code_line_new(uint64_t offset, GArchInstruction *instr, const result = g_object_new(G_TYPE_CODE_LINE, NULL); G_RENDERING_LINE(result)->offset = offset; + g_arch_instruction_get_location(instr, NULL, &G_RENDERING_LINE(result)->length, NULL); result->instr = instr; result->options = options; |