使用rust构建的cdylib,有时无法通过dlsym获取原始函数
📝
内容提要
最近在写一个有栈协程库https://github.com/acl-dev/open-coroutine,其中用到了hook技术。 用户代码 use open_coroutine::{co, Yielder}; use std::os::raw::c_void; use std::time::Duration; extern "C" fn f1( _yielder:...
➡️