Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法支持参数表带CGSize参数的方法, 其他类似的结构体可能也存在相同问题 #3

Open
captain-black opened this issue Mar 21, 2021 · 0 comments

Comments

@captain-black
Copy link

在函数
LokieHookAction::get_param_encode_ffi 里
遇到解析Objective-C方法参数表里有CGSize的时候, 无法转化到适配libffi使用的参数类型, 继而引起崩溃.
以下是打印 plist 显示的数据:
[0] std::basic_string<char, std::char_traits, std::allocator > "@"
[1] std::basic_string<char, std::char_traits, std::allocator > ":"
[2] std::basic_string<char, std::char_traits, std::allocator > "Q"
[3] std::basic_string<char, std::char_traits, std::allocator > "{CGSize=dd}"
[4] std::basic_string<char, std::char_traits, std::allocator > "@?"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant