summaryrefslogtreecommitdiff
path: root/src/format
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-01-15 09:56:05 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-01-15 09:56:05 (GMT)
commit56e060d11c238ac7c7b3ecf0eb0527bbaebd5b4b (patch)
tree22264b96c96b03aa9f99dc13231bdcfb1c667267 /src/format
parent1aa9ba33144b37ae96859573699a80adde93e509 (diff)
Ensured that symbols always take priority over the disassembled code.
Diffstat (limited to 'src/format')
-rw-r--r--src/format/format.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/format/format.c b/src/format/format.c
index be522cb..550e816 100644
--- a/src/format/format.c
+++ b/src/format/format.c
@@ -334,6 +334,8 @@ bool g_binary_format_add_symbol(GBinFormat *format, GBinSymbol *symbol)
format->symbols = _qinsert(format->symbols, &format->symbols_count,
sizeof(GBinSymbol *), &symbol, index);
+ result = true;
+
switch (g_binary_symbol_get_target_type(symbol))
{
case STP_ROUTINE: