summaryrefslogtreecommitdiff
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
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
-rw-r--r--ChangeLog5
-rw-r--r--src/format/mangling/demangler.c8
2 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a98f9fc..0b28d26 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+15-10-04 Cyrille Bagard <nocbos@gmail.com>
+
+ * src/format/mangling/demangler.c:
+ Work in best effort mode to provide a minimal routine when demangling.
+
15-10-01 Cyrille Bagard <nocbos@gmail.com>
* 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 */