Merge branch 'master' of feistymeow.org:feisty_meow
[feisty_meow.git] / scripts / buildor / vistu_find_mangled_names.sh
diff --git a/scripts/buildor/vistu_find_mangled_names.sh b/scripts/buildor/vistu_find_mangled_names.sh
new file mode 100644 (file)
index 0000000..de35a4f
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/bash
+# this script takes one microsoft compiler output file and tries to find the
+# mangled C++ function names contained in it.
+file=$1
+dumpbin //all "$file" | grep SECREL | sed -e 's/^.*0000C *[0-9a-fA-F][0-9a-fA-F] *\([^ ]*\).*$/\1/' 
+