summaryrefslogtreecommitdiff
path: root/src/format/symbol-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-04-13 22:53:32 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-04-13 22:53:32 (GMT)
commit0794024b412604ae5e5aca0f104b5a8f3ec5412c (patch)
treec5b73975561cf95e9c65f84b27423f218ffab2b0 /src/format/symbol-int.h
parente75a1aea506869d441fc084f78102367be1f9ed2 (diff)
Avoided to look for syscalls in a kernel binary.
Diffstat (limited to 'src/format/symbol-int.h')
-rw-r--r--src/format/symbol-int.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/format/symbol-int.h b/src/format/symbol-int.h
index 5e77a4d..99cee88 100644
--- a/src/format/symbol-int.h
+++ b/src/format/symbol-int.h
@@ -34,7 +34,7 @@
typedef char * (* get_symbol_label_fc) (const GBinSymbol *);
-/* Informations glissées dans la structure GObject de GArchInstruction */
+/* Informations glissées dans la structure GObject de GBinSymbol */
typedef union _sym_obj_extra
{
struct
@@ -82,9 +82,9 @@ struct _GBinSymbol
#if __SIZEOF_INT__ == __SIZEOF_LONG__
-# define INIT_BIN_SYMBOL_EXTRA(sym) ins->extra.lock = 0
+# define INIT_BIN_SYMBOL_EXTRA(sym) sym->extra.lock = 0
-# define GET_BIN_SYMBOL_EXTRA(sym) &ins->extra
+# define GET_BIN_SYMBOL_EXTRA(sym) &sym->extra
#else