summaryrefslogtreecommitdiff
path: root/src/panels
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-12-08 20:50:56 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-12-08 20:50:56 (GMT)
commit39116dce7d40dab310e929f92fdbfc865b5fac20 (patch)
treea0b8dc11070f8a68de6b6f7bbc84b3d4ccf25afd /src/panels
parentcf11fcf862b98ef57935bcfccd6f2f6ae3f925f6 (diff)
Introduced the symbol visibility.
Diffstat (limited to 'src/panels')
-rw-r--r--src/panels/strings.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/panels/strings.c b/src/panels/strings.c
index c7fd393..c60ef0a 100644
--- a/src/panels/strings.c
+++ b/src/panels/strings.c
@@ -135,6 +135,8 @@ void handle_new_exe_on_strings_panel(GtkWidget *panel, const GExeFormat *format)
for (i = 0; i < count; i++)
{
+ if (g_binary_symbol_get_status(symbols[i]) == SSS_IMPORTED) continue;
+
if (g_binary_symbol_get_target_type(symbols[i]) != STP_STRING) continue;
range = g_binary_symbol_get_range(symbols[i]);