能力值:
( LV9,RANK:260 )
|
-
-
10 楼
发我用来劫持的代码,这是用某个工具生成的
#pragma comment(linker, "/EXPORT:DbgHelpCreateUserDump=_dbghelp.DbgHelpCreateUserDump,@1")
#pragma comment(linker, "/EXPORT:DbgHelpCreateUserDumpW=_dbghelp.DbgHelpCreateUserDumpW,@2")
#pragma comment(linker, "/EXPORT:EnumerateLoadedModules64=_dbghelp.EnumerateLoadedModules64,@3")
#pragma comment(linker, "/EXPORT:EnumerateLoadedModules=_dbghelp.EnumerateLoadedModules,@4")
#pragma comment(linker, "/EXPORT:ExtensionApiVersion=_dbghelp.ExtensionApiVersion,@5")
#pragma comment(linker, "/EXPORT:FindDebugInfoFile=_dbghelp.FindDebugInfoFile,@6")
#pragma comment(linker, "/EXPORT:FindDebugInfoFileEx=_dbghelp.FindDebugInfoFileEx,@7")
#pragma comment(linker, "/EXPORT:FindExecutableImage=_dbghelp.FindExecutableImage,@8")
#pragma comment(linker, "/EXPORT:FindExecutableImageEx=_dbghelp.FindExecutableImageEx,@9")
#pragma comment(linker, "/EXPORT:FindFileInPath=_dbghelp.FindFileInPath,@10")
#pragma comment(linker, "/EXPORT:FindFileInSearchPath=_dbghelp.FindFileInSearchPath,@11")
#pragma comment(linker, "/EXPORT:GetTimestampForLoadedLibrary=_dbghelp.GetTimestampForLoadedLibrary,@12")
#pragma comment(linker, "/EXPORT:ImageDirectoryEntryToData=_dbghelp.ImageDirectoryEntryToData,@13")
#pragma comment(linker, "/EXPORT:ImageDirectoryEntryToDataEx=_dbghelp.ImageDirectoryEntryToDataEx,@14")
#pragma comment(linker, "/EXPORT:ImageNtHeader=_dbghelp.ImageNtHeader,@15")
#pragma comment(linker, "/EXPORT:ImageRvaToSection=_dbghelp.ImageRvaToSection,@16")
#pragma comment(linker, "/EXPORT:ImageRvaToVa=_dbghelp.ImageRvaToVa,@17")
#pragma comment(linker, "/EXPORT:ImagehlpApiVersion=_dbghelp.ImagehlpApiVersion,@18")
#pragma comment(linker, "/EXPORT:ImagehlpApiVersionEx=_dbghelp.ImagehlpApiVersionEx,@19")
#pragma comment(linker, "/EXPORT:MakeSureDirectoryPathExists=_dbghelp.MakeSureDirectoryPathExists,@20")
#pragma comment(linker, "/EXPORT:MapDebugInformation=_dbghelp.MapDebugInformation,@21")
#pragma comment(linker, "/EXPORT:MiniDumpReadDumpStream=_dbghelp.MiniDumpReadDumpStream,@22")
#pragma comment(linker, "/EXPORT:MiniDumpWriteDump=_dbghelp.MiniDumpWriteDump,@23")
#pragma comment(linker, "/EXPORT:SearchTreeForFile=_dbghelp.SearchTreeForFile,@24")
#pragma comment(linker, "/EXPORT:StackWalk64=_dbghelp.StackWalk64,@25")
#pragma comment(linker, "/EXPORT:StackWalk=_dbghelp.StackWalk,@26")
#pragma comment(linker, "/EXPORT:SymCleanup=_dbghelp.SymCleanup,@27")
#pragma comment(linker, "/EXPORT:SymEnumSourceFiles=_dbghelp.SymEnumSourceFiles,@28")
#pragma comment(linker, "/EXPORT:SymEnumSym=_dbghelp.SymEnumSym,@29")
#pragma comment(linker, "/EXPORT:SymEnumSymbols=_dbghelp.SymEnumSymbols,@30")
#pragma comment(linker, "/EXPORT:SymEnumTypes=_dbghelp.SymEnumTypes,@31")
#pragma comment(linker, "/EXPORT:SymEnumerateModules64=_dbghelp.SymEnumerateModules64,@32")
#pragma comment(linker, "/EXPORT:SymEnumerateModules=_dbghelp.SymEnumerateModules,@33")
#pragma comment(linker, "/EXPORT:SymEnumerateSymbols64=_dbghelp.SymEnumerateSymbols64,@34")
#pragma comment(linker, "/EXPORT:SymEnumerateSymbols=_dbghelp.SymEnumerateSymbols,@35")
#pragma comment(linker, "/EXPORT:SymEnumerateSymbolsW64=_dbghelp.SymEnumerateSymbolsW64,@36")
#pragma comment(linker, "/EXPORT:SymEnumerateSymbolsW=_dbghelp.SymEnumerateSymbolsW,@37")
#pragma comment(linker, "/EXPORT:SymFindFileInPath=_dbghelp.SymFindFileInPath,@38")
#pragma comment(linker, "/EXPORT:SymFromAddr=_dbghelp.SymFromAddr,@39")
#pragma comment(linker, "/EXPORT:SymFromName=_dbghelp.SymFromName,@40")
#pragma comment(linker, "/EXPORT:SymFunctionTableAccess64=_dbghelp.SymFunctionTableAccess64,@41")
#pragma comment(linker, "/EXPORT:SymFunctionTableAccess=_dbghelp.SymFunctionTableAccess,@42")
#pragma comment(linker, "/EXPORT:SymGetFileLineOffsets64=_dbghelp.SymGetFileLineOffsets64,@43")
#pragma comment(linker, "/EXPORT:SymGetLineFromAddr64=_dbghelp.SymGetLineFromAddr64,@44")
#pragma comment(linker, "/EXPORT:SymGetLineFromAddr=_dbghelp.SymGetLineFromAddr,@45")
#pragma comment(linker, "/EXPORT:SymGetLineFromName64=_dbghelp.SymGetLineFromName64,@46")
#pragma comment(linker, "/EXPORT:SymGetLineFromName=_dbghelp.SymGetLineFromName,@47")
#pragma comment(linker, "/EXPORT:SymGetLineNext64=_dbghelp.SymGetLineNext64,@48")
#pragma comment(linker, "/EXPORT:SymGetLineNext=_dbghelp.SymGetLineNext,@49")
#pragma comment(linker, "/EXPORT:SymGetLinePrev64=_dbghelp.SymGetLinePrev64,@50")
#pragma comment(linker, "/EXPORT:SymGetLinePrev=_dbghelp.SymGetLinePrev,@51")
#pragma comment(linker, "/EXPORT:SymGetModuleBase64=_dbghelp.SymGetModuleBase64,@52")
#pragma comment(linker, "/EXPORT:SymGetModuleBase=_dbghelp.SymGetModuleBase,@53")
#pragma comment(linker, "/EXPORT:SymGetModuleInfo64=_dbghelp.SymGetModuleInfo64,@54")
#pragma comment(linker, "/EXPORT:SymGetModuleInfo=_dbghelp.SymGetModuleInfo,@55")
#pragma comment(linker, "/EXPORT:SymGetModuleInfoW64=_dbghelp.SymGetModuleInfoW64,@56")
#pragma comment(linker, "/EXPORT:SymGetModuleInfoW=_dbghelp.SymGetModuleInfoW,@57")
#pragma comment(linker, "/EXPORT:SymGetOptions=_dbghelp.SymGetOptions,@58")
#pragma comment(linker, "/EXPORT:SymGetSearchPath=_dbghelp.SymGetSearchPath,@59")
#pragma comment(linker, "/EXPORT:SymGetSymFromAddr64=_dbghelp.SymGetSymFromAddr64,@60")
#pragma comment(linker, "/EXPORT:SymGetSymFromAddr=_dbghelp.SymGetSymFromAddr,@61")
#pragma comment(linker, "/EXPORT:SymGetSymFromName64=_dbghelp.SymGetSymFromName64,@62")
#pragma comment(linker, "/EXPORT:SymGetSymFromName=_dbghelp.SymGetSymFromName,@63")
#pragma comment(linker, "/EXPORT:SymGetSymNext64=_dbghelp.SymGetSymNext64,@64")
#pragma comment(linker, "/EXPORT:SymGetSymNext=_dbghelp.SymGetSymNext,@65")
#pragma comment(linker, "/EXPORT:SymGetSymPrev64=_dbghelp.SymGetSymPrev64,@66")
#pragma comment(linker, "/EXPORT:SymGetSymPrev=_dbghelp.SymGetSymPrev,@67")
#pragma comment(linker, "/EXPORT:SymGetTypeFromName=_dbghelp.SymGetTypeFromName,@68")
#pragma comment(linker, "/EXPORT:SymGetTypeInfo=_dbghelp.SymGetTypeInfo,@69")
#pragma comment(linker, "/EXPORT:SymInitialize=_dbghelp.SymInitialize,@70")
#pragma comment(linker, "/EXPORT:SymLoadModule64=_dbghelp.SymLoadModule64,@71")
#pragma comment(linker, "/EXPORT:SymLoadModule=_dbghelp.SymLoadModule,@72")
#pragma comment(linker, "/EXPORT:SymLoadModuleEx=_dbghelp.SymLoadModuleEx,@73")
#pragma comment(linker, "/EXPORT:SymMatchFileName=_dbghelp.SymMatchFileName,@74")
#pragma comment(linker, "/EXPORT:SymMatchString=_dbghelp.SymMatchString,@75")
#pragma comment(linker, "/EXPORT:SymRegisterCallback64=_dbghelp.SymRegisterCallback64,@76")
#pragma comment(linker, "/EXPORT:SymRegisterCallback=_dbghelp.SymRegisterCallback,@77")
#pragma comment(linker, "/EXPORT:SymRegisterFunctionEntryCallback64=_dbghelp.SymRegisterFunctionEntryCallback64,@78")
#pragma comment(linker, "/EXPORT:SymRegisterFunctionEntryCallback=_dbghelp.SymRegisterFunctionEntryCallback,@79")
#pragma comment(linker, "/EXPORT:SymSetContext=_dbghelp.SymSetContext,@80")
#pragma comment(linker, "/EXPORT:SymSetOptions=_dbghelp.SymSetOptions,@81")
#pragma comment(linker, "/EXPORT:SymSetSearchPath=_dbghelp.SymSetSearchPath,@82")
#pragma comment(linker, "/EXPORT:SymSetSymWithAddr64=_dbghelp.SymSetSymWithAddr64,@83")
#pragma comment(linker, "/EXPORT:SymUnDName64=_dbghelp.SymUnDName64,@84")
#pragma comment(linker, "/EXPORT:SymUnDName=_dbghelp.SymUnDName,@85")
#pragma comment(linker, "/EXPORT:SymUnloadModule64=_dbghelp.SymUnloadModule64,@86")
#pragma comment(linker, "/EXPORT:SymUnloadModule=_dbghelp.SymUnloadModule,@87")
#pragma comment(linker, "/EXPORT:UnDecorateSymbolName=_dbghelp.UnDecorateSymbolName,@88")
#pragma comment(linker, "/EXPORT:UnmapDebugInformation=_dbghelp.UnmapDebugInformation,@89")
#pragma comment(linker, "/EXPORT:WinDbgExtensionDllInit=_dbghelp.WinDbgExtensionDllInit,@90")
#pragma comment(linker, "/EXPORT:dbghelp=_dbghelp.dbghelp,@91")
#pragma comment(linker, "/EXPORT:dh=_dbghelp.dh,@92")
#pragma comment(linker, "/EXPORT:lm=_dbghelp.lm,@93")
#pragma comment(linker, "/EXPORT:lmi=_dbghelp.lmi,@94")
#pragma comment(linker, "/EXPORT:omap=_dbghelp.omap,@95")
#pragma comment(linker, "/EXPORT:srcfiles=_dbghelp.srcfiles,@96")
#pragma comment(linker, "/EXPORT:sym=_dbghelp.sym,@97")
#pragma comment(linker, "/EXPORT:vc7fpo=_dbghelp.vc7fpo,@98")
|