我需要用它们的原始源代码替换分配器。我正在从 PE 导出表中提取导出的方法,并面对奇怪的冗长分配器,其中 STL 容器在原始源代码中使用。即如果源代码是:
typedef std::list<std::basic_string<_TCHAR> > TokenList;
EXPORTS_API const TokenList& getLiteralList( );
从我得到的导出表中:
std::list<class std::basic_string<unsigned short, std::char_traits<unsigned short>,class
std::allocator<unsigned short> >,class std::allocator<class std::basic_string<unsigned
short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> > > >
const & __thiscall CExpressionTokenizer::getLiteralList(void)
如何从上述冗长的分配器中获取其原始源代码的回溯?(typedef 的大小增加得更多。)
问候,
乌斯曼