[WRAPPER] Add gnutls_free wrapped function for libgnutls#3824
[WRAPPER] Add gnutls_free wrapped function for libgnutls#3824ptitSeb merged 1 commit intoptitSeb:mainfrom
Conversation
In fact, `gnutls_free` is a function pointer. If it were defined as an ordinary function, it would trigger a signal 11 error in `CheckExec`.
|
Looks correct to me. Can I ask in what case you needed that change? |
When running Feishu, a communication software developed by Alibaba, on the RISC-V platform using Box64, an error occurs:
After analysis, the root cause is that gnutls_free, a global function pointer variable, is directly invoked as an ordinary function. This results in a failure in CheckExec. |
I see. Thanks for answering, and nice debug! |
gnutls_freeis a function pointer. If it were defined as an ordinary function, it would trigger a signal 11 error inCheckExec.