Remember me

Lost Password?

Register now!
Who's Online
54 user(s) are online (42 user(s) are browsing Forums)

Members: 0
Guests: 54

Support us!
Recent OS4 Files
Report message:*

Re: Is Forbid() needed for SetMethod()?

Subject: Re: Is Forbid() needed for SetMethod()?
by LiveForIt on 2019/4/8 18:34:58


I don't think it's needed, after all it only changes a pointer to another function, but I guess there is a danger of the library your changing might get flushed.
+ you might also increase the stack usage, of that function.

you might also run into issues where your patched function is executed in a forbid(), you might like to be extremely careful, not triggering any issue where a forbid() is run inside a forbid(). or a disable() inside a disable().

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project