You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Get the existing LD_PRELOAD early and do a two pass on the rest.
Effectively calculate the total length, allocate and copy... Instead of
the existing recalc, realloc, copy.
Fewer allocations (failure points), while also being a bit simpler and
shorter code.
v2:
- append existing ldpreload
v3:
- revert to prepending, do so only as needed
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
0 commit comments