mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-20 03:23:23 +08:00
[0.3.x] add getExtensionSearchPath
[0.3.x] workitem/12654 fixed git-svn-id: https://pykd.svn.codeplex.com/svn@87123 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
parent
0f736d0f8d
commit
9f6cd6996f
@ -290,6 +290,13 @@ unsigned long getCurrentTime()
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
inline
|
||||
std::wstring getExtensionSearchPath()
|
||||
{
|
||||
AutoRestorePyState pystate;
|
||||
return kdlib::getExtensionSearchPath();
|
||||
}
|
||||
|
||||
inline
|
||||
kdlib::EXTENSION_ID loadExtension(const std::wstring &extPath )
|
||||
{
|
||||
|
@ -99,6 +99,8 @@ BOOST_PYTHON_MODULE( pykd )
|
||||
// DbgEng services
|
||||
python::def( "setSymSrvDir", pykd::setSymSrvDir,
|
||||
"Set directory of SYMSRV.dll library.\nUsually this is a directory of WinDbg");
|
||||
python::def( "getExtensionSearchPath", pykd::getExtensionSearchPath,
|
||||
"Return the extension DLL search path" );
|
||||
python::def( "loadExt", pykd::loadExtension,
|
||||
"Load a WinDBG extension. Return handle of the loaded extension" );
|
||||
python::def( "removeExt", pykd::removeExtension,
|
||||
|
Loading…
Reference in New Issue
Block a user