summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-10-04 20:19:51 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-10-04 20:19:51 (GMT)
commitbc9c991e4aba495e2cb7c1962ce790f91ca62d9e (patch)
treee502d04c41f1b1fc3accb542819d3f9db5705314 /src
parentd7ea656a1d8d5eea24ca9356466765f800166779 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/format/mangling/demangler.c8
1 files changed, 8 insertions, 0 deletions
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 */