Hi,
How to get Function name and parameter from MAP file?
Regards,
Siva
Printable View
Hi,
How to get Function name and parameter from MAP file?
Regards,
Siva
I think you can't find out the function parameter if MAP file.
You should find it in cod file.
Depends on the compiler. VC++ 2010 the symbols in the map file are mangled, so you have to know how to unmangle them. Microsoft name mangling is pretty complex, but if you're up to the task here's a link that explains it in detail.
As mentioned, if you look at the map file you'll see decorated names - however it is a trival task to write a small app that can decode these.
Take a look at UndecroateSymbolName in MSDN.
Quote:Code:E:\undname
Microsoft (R) C++ Name Undecorator
Copyright (C) Microsoft Corporation 1981-2001. All rights reserved.
Usage: undname [flags] fname [fname...]
or: undname [flags] file