summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-04-26 10:34:20 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-04-26 10:34:20 (GMT)
commit60f7839e36d0eaf5bcc90ffe1369dae56ed53dbe (patch)
tree752ad498b9704951eb1912f77ab42c6b5ac9f475 /src/gui
parentee0ff01247738e847ae3faa44dcb5168d7b758ba (diff)
Loaded internal smybols ; created entry points only when needed.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@520 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/panels/symbols.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/panels/symbols.c b/src/gui/panels/symbols.c
index b523cd2..42098c8 100644
--- a/src/gui/panels/symbols.c
+++ b/src/gui/panels/symbols.c
@@ -662,6 +662,7 @@ static void reload_symbols_for_new_list_view(GSymbolsPanel *panel)
switch (g_binary_symbol_get_target_type(symbols[i]))
{
case STP_ROUTINE:
+ case STP_ENTRY_POINT:
icon = G_SYMBOLS_PANEL_GET_CLASS(panel)->routine_img;
break;
case STP_OBJECT:
@@ -843,6 +844,7 @@ static void reload_symbols_for_new_tree_view(GSymbolsPanel *panel)
switch (g_binary_symbol_get_target_type(symbols[i]))
{
case STP_ROUTINE:
+ case STP_ENTRY_POINT:
icon = G_SYMBOLS_PANEL_GET_CLASS(panel)->routine_img;
break;
case STP_OBJECT:
@@ -1044,7 +1046,7 @@ static bool is_symbol_filtered(GSymbolsPanel *panel, const GBinSymbol *symbol)
type = g_binary_symbol_get_target_type(symbol);
- if (type != STP_ROUTINE && type != STP_OBJECT)
+ if (type != STP_ROUTINE && type != STP_ENTRY_POINT && type != STP_OBJECT)
return true;
if (panel->filter == NULL)