Is there something like Java ProGuard or .NET Obfuscator for native code?

Somekind of application which strips uneeded references (variables, fuctions) from DLL / EXE based on root (main) function.

Thanks in advance.