summaryrefslogtreecommitdiff
path: root/src/analysis
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis')
-rw-r--r--src/analysis/disass/block.c2
-rw-r--r--src/analysis/disass/disassembler.c2
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);