diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2013-06-08 12:37:43 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2013-06-08 12:37:43 (GMT) |
commit | 05a0e578f49fbd7c8614ce108ba790601663d8cd (patch) | |
tree | f2530f7dfeeff19e7d689bbb55830456e06de66a /src/analysis/disass | |
parent | c23e671df7621ad85f590eee14e6fa7c7e71a526 (diff) |
Removed all usages of gdk_threads_enter()/gdk_threads_leave() in the status bar.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@349 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/analysis/disass')
-rw-r--r-- | src/analysis/disass/disassembler.c | 2 | ||||
-rw-r--r-- | src/analysis/disass/fetch.c | 2 | ||||
-rw-r--r-- | src/analysis/disass/fetch.h | 2 | ||||
-rw-r--r-- | src/analysis/disass/limit.c | 2 | ||||
-rw-r--r-- | src/analysis/disass/limit.h | 2 | ||||
-rw-r--r-- | src/analysis/disass/links.c | 2 | ||||
-rw-r--r-- | src/analysis/disass/links.h | 2 | ||||
-rw-r--r-- | src/analysis/disass/loop.c | 2 | ||||
-rw-r--r-- | src/analysis/disass/loop.h | 2 | ||||
-rw-r--r-- | src/analysis/disass/macro.c | 2 | ||||
-rw-r--r-- | src/analysis/disass/macro.h | 2 | ||||
-rw-r--r-- | src/analysis/disass/output.c | 2 | ||||
-rw-r--r-- | src/analysis/disass/output.h | 2 | ||||
-rw-r--r-- | src/analysis/disass/rank.c | 2 | ||||
-rw-r--r-- | src/analysis/disass/rank.h | 2 |
15 files changed, 15 insertions, 15 deletions
diff --git a/src/analysis/disass/disassembler.c b/src/analysis/disass/disassembler.c index 74b3add..f5f72f0 100644 --- a/src/analysis/disass/disassembler.c +++ b/src/analysis/disass/disassembler.c @@ -203,7 +203,7 @@ static void g_delayed_disassembly_process(GDelayedDisassembly *disass, GtkExtSta #endif GBinRoutine **routines; /* Liste des routines trouvées */ size_t routines_count; /* Nombre de ces routines */ - guint id; /* Identifiant de statut */ + bstatus_id_t id; /* Identifiant de statut */ routines = g_binary_format_get_routines(G_BIN_FORMAT(disass->format), &routines_count); diff --git a/src/analysis/disass/fetch.c b/src/analysis/disass/fetch.c index a1df5e3..6ad9755 100644 --- a/src/analysis/disass/fetch.c +++ b/src/analysis/disass/fetch.c @@ -45,7 +45,7 @@ * * ******************************************************************************/ -GArchInstruction *disassemble_binary_parts(const GLoadedBinary *binary, GBinPart **parts, size_t count, GtkExtStatusBar *statusbar, guint id) +GArchInstruction *disassemble_binary_parts(const GLoadedBinary *binary, GBinPart **parts, size_t count, GtkExtStatusBar *statusbar, bstatus_id_t id) { GArchInstruction *result; /* Liste d'instr. à renvoyer */ GBinFormat *format; /* Format du fichier binaire */ diff --git a/src/analysis/disass/fetch.h b/src/analysis/disass/fetch.h index 89c3226..d33784b 100644 --- a/src/analysis/disass/fetch.h +++ b/src/analysis/disass/fetch.h @@ -31,7 +31,7 @@ /* Procède au désassemblage basique d'un contenu binaire. */ -GArchInstruction *disassemble_binary_parts(const GLoadedBinary *, GBinPart **, size_t, GtkExtStatusBar *, guint); +GArchInstruction *disassemble_binary_parts(const GLoadedBinary *, GBinPart **, size_t, GtkExtStatusBar *, bstatus_id_t); diff --git a/src/analysis/disass/limit.c b/src/analysis/disass/limit.c index 2598d7e..a000c07 100644 --- a/src/analysis/disass/limit.c +++ b/src/analysis/disass/limit.c @@ -49,7 +49,7 @@ static vmpa_t find_best_ending_address_for_routine(GArchInstruction *, size_t, c * * ******************************************************************************/ -void limit_all_routines(GArchInstruction *list, GBinRoutine **routines, size_t count, GtkExtStatusBar *statusbar, guint id) +void limit_all_routines(GArchInstruction *list, GBinRoutine **routines, size_t count, GtkExtStatusBar *statusbar, bstatus_id_t id) { size_t i; /* Boucle de parcours */ vmpa_t *starts; /* Adresses de départ */ diff --git a/src/analysis/disass/limit.h b/src/analysis/disass/limit.h index 7ef9396..e0d18dc 100644 --- a/src/analysis/disass/limit.h +++ b/src/analysis/disass/limit.h @@ -31,7 +31,7 @@ /* S'assure que toutes les routines ont une taille définie. */ -void limit_all_routines(GArchInstruction *, GBinRoutine **, size_t, GtkExtStatusBar *, guint); +void limit_all_routines(GArchInstruction *, GBinRoutine **, size_t, GtkExtStatusBar *, bstatus_id_t); diff --git a/src/analysis/disass/links.c b/src/analysis/disass/links.c index df0c77f..595f783 100644 --- a/src/analysis/disass/links.c +++ b/src/analysis/disass/links.c @@ -41,7 +41,7 @@ * * ******************************************************************************/ -void establish_links_between_lines(GArchInstruction *list, GBinRoutine **routines, size_t count, GtkExtStatusBar *statusbar, guint id) +void establish_links_between_lines(GArchInstruction *list, GBinRoutine **routines, size_t count, GtkExtStatusBar *statusbar, bstatus_id_t id) { size_t i; /* Boucle de parcours */ vmpa_t start; /* Adresse de départ */ diff --git a/src/analysis/disass/links.h b/src/analysis/disass/links.h index 0ca7816..ec9feac 100644 --- a/src/analysis/disass/links.h +++ b/src/analysis/disass/links.h @@ -30,7 +30,7 @@ /* Etablit les liens entres les différentes lignes de code. */ -void establish_links_between_lines(GArchInstruction *, GBinRoutine **, size_t, GtkExtStatusBar *, guint); +void establish_links_between_lines(GArchInstruction *, GBinRoutine **, size_t, GtkExtStatusBar *, bstatus_id_t); diff --git a/src/analysis/disass/loop.c b/src/analysis/disass/loop.c index 6fd73f2..dc68253 100644 --- a/src/analysis/disass/loop.c +++ b/src/analysis/disass/loop.c @@ -274,7 +274,7 @@ static void track_loops_in_code(GArchInstruction *list, vmpa_t start, vmpa_t end * * ******************************************************************************/ -void detect_loops_in_code(GArchInstruction *list, GBinRoutine **routines, size_t count, GtkExtStatusBar *statusbar, guint id) +void detect_loops_in_code(GArchInstruction *list, GBinRoutine **routines, size_t count, GtkExtStatusBar *statusbar, bstatus_id_t id) { size_t i; /* Boucle de parcours */ vmpa_t start; /* Adresse de départ */ diff --git a/src/analysis/disass/loop.h b/src/analysis/disass/loop.h index 8466405..b8d916f 100644 --- a/src/analysis/disass/loop.h +++ b/src/analysis/disass/loop.h @@ -31,7 +31,7 @@ /* Détecte les boucles dans du code machine. */ -void detect_loops_in_code(GArchInstruction *, GBinRoutine **, size_t, GtkExtStatusBar *, guint); +void detect_loops_in_code(GArchInstruction *, GBinRoutine **, size_t, GtkExtStatusBar *, bstatus_id_t); diff --git a/src/analysis/disass/macro.c b/src/analysis/disass/macro.c index ebd236a..43c4046 100644 --- a/src/analysis/disass/macro.c +++ b/src/analysis/disass/macro.c @@ -814,7 +814,7 @@ static GInstrBlock *build_instruction_block(GArchInstruction *instrs, const code * * ******************************************************************************/ -void group_routines_instructions(GArchInstruction *list, GBinRoutine **routines, size_t count, GtkExtStatusBar *statusbar, guint id) +void group_routines_instructions(GArchInstruction *list, GBinRoutine **routines, size_t count, GtkExtStatusBar *statusbar, bstatus_id_t id) { size_t i; /* Boucle de parcours */ vmpa_t start; /* Adresse de départ */ diff --git a/src/analysis/disass/macro.h b/src/analysis/disass/macro.h index 64df785..2e3358e 100644 --- a/src/analysis/disass/macro.h +++ b/src/analysis/disass/macro.h @@ -31,7 +31,7 @@ /* Regroupe les instructions par blocs. */ -void group_routines_instructions(GArchInstruction *, GBinRoutine **, size_t, GtkExtStatusBar *, guint); +void group_routines_instructions(GArchInstruction *, GBinRoutine **, size_t, GtkExtStatusBar *, bstatus_id_t); diff --git a/src/analysis/disass/output.c b/src/analysis/disass/output.c index 135168e..fd34bc1 100644 --- a/src/analysis/disass/output.c +++ b/src/analysis/disass/output.c @@ -48,7 +48,7 @@ * * ******************************************************************************/ -void print_disassembled_instructions(GCodeBuffer *buffer, const GExeFormat *format, const GArchInstruction *instrs, GBinRoutine * const *routines, size_t count, GtkExtStatusBar *statusbar, guint id) +void print_disassembled_instructions(GCodeBuffer *buffer, const GExeFormat *format, const GArchInstruction *instrs, GBinRoutine * const *routines, size_t count, GtkExtStatusBar *statusbar, bstatus_id_t id) { GLangOutput *output; /* Modèle de sortie adéquat */ GArchProcessor *proc; /* Architecture du binaire */ diff --git a/src/analysis/disass/output.h b/src/analysis/disass/output.h index 81c028d..13b2ef3 100644 --- a/src/analysis/disass/output.h +++ b/src/analysis/disass/output.h @@ -33,7 +33,7 @@ /* Transcrit du code désassemblé en texte humainement lisible. */ -void print_disassembled_instructions(GCodeBuffer *, const GExeFormat *, const GArchInstruction *, GBinRoutine * const *, size_t, GtkExtStatusBar *, guint); +void print_disassembled_instructions(GCodeBuffer *, const GExeFormat *, const GArchInstruction *, GBinRoutine * const *, size_t, GtkExtStatusBar *, bstatus_id_t); diff --git a/src/analysis/disass/rank.c b/src/analysis/disass/rank.c index 6f12f31..a1c869f 100644 --- a/src/analysis/disass/rank.c +++ b/src/analysis/disass/rank.c @@ -403,7 +403,7 @@ void rank_routine_blocks(GBinRoutine *routine) * * ******************************************************************************/ -void rank_routines_blocks(GBinRoutine **routines, size_t count, GtkExtStatusBar *statusbar, guint id) +void rank_routines_blocks(GBinRoutine **routines, size_t count, GtkExtStatusBar *statusbar, bstatus_id_t id) { size_t i; /* Boucle de parcours */ diff --git a/src/analysis/disass/rank.h b/src/analysis/disass/rank.h index 04da689..935d5fb 100644 --- a/src/analysis/disass/rank.h +++ b/src/analysis/disass/rank.h @@ -34,7 +34,7 @@ void rank_routine_blocks(GBinRoutine *); /* Classe les blocs des routines. */ -void rank_routines_blocks(GBinRoutine **, size_t, GtkExtStatusBar *, guint); +void rank_routines_blocks(GBinRoutine **, size_t, GtkExtStatusBar *, bstatus_id_t); |