There is an external dll. I connect it with ctypes. Prompt how to pull out the list of methods which is in.
from ctypes import * libc = CDLL("lib.dll") in python newbie.
The answer from the @BOPOH comment to the question:
import os, pefile dll = 'C:\Windows\system32\comdlg32.dll' pe = pefile.PE(dll) """ pefile module can be downloaded at: http://code.google.com/p/pefile/ """ print "DLL IMPORT Reading (DLL dependencies) for: " + os.path.basename(dll) for entry in pe.DIRECTORY_ENTRY_IMPORT: print entry.dll for imp in entry.imports: print '\t', hex(imp.address), imp.name print("DLL EXPORT Reading:" + os.path.basename(dll)) for exp in pe.DIRECTORY_ENTRY_EXPORT.symbols: print hex(pe.OPTIONAL_HEADER.ImageBase + exp.address), exp.name, exp.ordinal # pe.dump_info() Source: https://ru.stackoverflow.com/questions/323689/
All Articles
dirdoes not show anything good (UPD: Maybe this is what you need (last comment)? - BOPOH