From bc9c991e4aba495e2cb7c1962ce790f91ca62d9e Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Sun, 4 Oct 2015 20:19:51 +0000 Subject: Worked in best effort mode to provide a minimal routine when demangling. git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@585 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a --- ChangeLog | 5 +++++ src/format/mangling/demangler.c | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/ChangeLog b/ChangeLog index a98f9fc..0b28d26 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +15-10-04 Cyrille Bagard + + * src/format/mangling/demangler.c: + Work in best effort mode to provide a minimal routine when demangling. + 15-10-01 Cyrille Bagard * src/analysis/binary.c: diff --git a/src/format/mangling/demangler.c b/src/format/mangling/demangler.c index d103550..410153e 100644 --- a/src/format/mangling/demangler.c +++ b/src/format/mangling/demangler.c @@ -94,6 +94,14 @@ static demangling_properties demanglers[/*DGT_COUNT*/] = { GBinRoutine *try_to_demangle_routine(const char *desc) { + GBinRoutine *result; /* Construction à remonter */ + + result = g_binary_routine_new(); + g_binary_routine_set_name(result, strdup(desc)); + + return result; + + #if 0 GBinRoutine *result; /* Construction à remonter */ DemanglerType i; /* Boucle de parcours */ -- cgit v0.11.2-87-g4458