在沙箱中添加了RegisterComApis函数声明,并在InitEnv函数中调用该函数以注册COM相关API。还更新了头文件以包含新函数的声明。
This commit is contained in:
@@ -244,6 +244,9 @@ class Sandbox {
|
||||
m_lastImpRead = {address, imp};
|
||||
}
|
||||
|
||||
// 注册COM相关API
|
||||
void RegisterComApis();
|
||||
|
||||
private:
|
||||
std::shared_ptr<BasicPeInfo> m_peInfo;
|
||||
std::pair<uint64_t, std::shared_ptr<moudle_import>> m_lastImpRead;
|
||||
|
||||
Reference in New Issue
Block a user