diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-07-26 23:23:42 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-07-26 23:23:42 (GMT) |
commit | 9606b8e49299e37b297da039fc8a645f1ab4cf2d (patch) | |
tree | 16eb18d5292ec04ee4b7a24756e59d3c430f104e /src/analysis | |
parent | b80a36ab9746ca47b9c50827efe3856ce2840144 (diff) |
Updated the process collecting line widths.
Diffstat (limited to 'src/analysis')
-rw-r--r-- | src/analysis/disass/block.c | 2 | ||||
-rw-r--r-- | src/analysis/disass/disassembler.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/analysis/disass/block.c b/src/analysis/disass/block.c index 74aaf66..f0bee99 100644 --- a/src/analysis/disass/block.c +++ b/src/analysis/disass/block.c @@ -573,7 +573,7 @@ static char *g_basic_block_build_tooltip(const GBasicBlock *block) if (label != NULL) { - cache = g_buffer_cache_new(NULL, DLC_COUNT); + cache = g_buffer_cache_new(NULL, DLC_COUNT, DLC_ASSEMBLY_LABEL); g_buffer_cache_append(cache, G_LINE_GENERATOR(symbol), BLF_NONE); line = g_buffer_cache_find_line_by_index(cache, 0); diff --git a/src/analysis/disass/disassembler.c b/src/analysis/disass/disassembler.c index 9e4cd3e..0b81180 100644 --- a/src/analysis/disass/disassembler.c +++ b/src/analysis/disass/disassembler.c @@ -405,7 +405,7 @@ void output_disassembly(GLoadedBinary *binary, GProcContext *context, GtkStatusS content = g_known_format_get_content(G_KNOWN_FORMAT(format)); lang = g_asm_language_new(); - *cache = g_buffer_cache_new(content, DLC_COUNT); + *cache = g_buffer_cache_new(content, DLC_COUNT, DLC_ASSEMBLY_LABEL); g_generic_config_get_value(get_main_configuration(), MPK_LABEL_OFFSET, &offset); |