diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2023-09-10 22:02:21 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2023-09-10 22:02:21 (GMT) |
commit | b370370a9e35f9dd2357102b17338d3d93bb62aa (patch) | |
tree | b8a8c5019a0705a75cf9cf8572c07219bc159076 /src/analysis/disass | |
parent | 2424c52c4f3bc44ce5f36348442cfa103e0989c2 (diff) |
Tune the compilation using flags instead of a config file.
Diffstat (limited to 'src/analysis/disass')
-rw-r--r-- | src/analysis/disass/block.c | 6 | ||||
-rw-r--r-- | src/analysis/disass/disassembler.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/analysis/disass/block.c b/src/analysis/disass/block.c index 973fd56..e15b4c1 100644 --- a/src/analysis/disass/block.c +++ b/src/analysis/disass/block.c @@ -88,7 +88,7 @@ static block_link_t *g_basic_block_get_sources(const GBasicBlock *, const GBlock /* Fournit les détails des destinations de bloc de code. */ static block_link_t *g_basic_block_get_destinations(const GBasicBlock *, const GBlockList *, size_t *); -#ifdef HAVE_GTK_SUPPORT +#ifdef INCLUDE_GTK_SUPPORT /* Fournit la représentation graphique d'un bloc de code. */ static GBufferView *g_basic_block_build_view(const GBasicBlock *, segcnt_list *); @@ -137,7 +137,7 @@ static void g_basic_block_class_init(GBasicBlockClass *class) block->cmp_links = (block_compare_links_fc)g_basic_block_compare_links; block->get_src = (block_get_links_fc)g_basic_block_get_sources; block->get_dest = (block_get_links_fc)g_basic_block_get_destinations; -#ifdef HAVE_GTK_SUPPORT +#ifdef INCLUDE_GTK_SUPPORT block->build = (block_build_view_fc)g_basic_block_build_view; block->build_tooltip = (block_build_tooltip_fc)g_basic_block_build_tooltip; #endif @@ -472,7 +472,7 @@ static block_link_t *g_basic_block_get_destinations(const GBasicBlock *block, co } -#ifdef HAVE_GTK_SUPPORT +#ifdef INCLUDE_GTK_SUPPORT /****************************************************************************** diff --git a/src/analysis/disass/disassembler.c b/src/analysis/disass/disassembler.c index 7ea127d..4baa810 100644 --- a/src/analysis/disass/disassembler.c +++ b/src/analysis/disass/disassembler.c @@ -391,7 +391,7 @@ void output_disassembly(GLoadedBinary *binary, GProcContext *context, GtkStatusS GBinContent *content; /* Contenu bianire manipulé */ GCodingLanguage *lang; /* Langage de sortie préféré */ int offset; /* Décalage des étiquettes */ -#ifdef HAVE_GTK_SUPPORT +#ifdef INCLUDE_GTK_SUPPORT GWidthTracker *tracker; /* Gestionnaire de largeurs */ #endif char **text; /* Contenu brute à imprimer */ @@ -411,7 +411,7 @@ void output_disassembly(GLoadedBinary *binary, GProcContext *context, GtkStatusS g_generic_config_get_value(get_main_configuration(), MPK_LABEL_OFFSET, &offset); -#ifdef HAVE_GTK_SUPPORT +#ifdef INCLUDE_GTK_SUPPORT tracker = g_buffer_cache_get_width_tracker(*cache); g_width_tracker_set_column_min_width(tracker, DLC_ASSEMBLY_LABEL, offset); g_object_unref(G_OBJECT(tracker)); |