4 ms·
The advantage is that it avoids an extra function pointer indirection when the function you are trying to swap out is already an exported library function. For
by account42 3y ago
The advantage is that it avoids an extra function pointer indirection when the function you are trying to swap out is already an exported library function. For purely internal functions like in this case the only advantage is that it allows this exploit.