diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-10-04 20:19:51 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-10-04 20:19:51 (GMT) |
commit | bc9c991e4aba495e2cb7c1962ce790f91ca62d9e (patch) | |
tree | e502d04c41f1b1fc3accb542819d3f9db5705314 | |
parent | d7ea656a1d8d5eea24ca9356466765f800166779 (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-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/format/mangling/demangler.c | 8 |
2 files changed, 13 insertions, 0 deletions
@@ -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 */ |