Open joaomlneto opened 2 months ago
LD_PRELOAD in *nix systems allows us to override symbols (functions/libraries) at runtime and execute (almost) arbitrary code.
LD_PRELOAD
In my prev work I've used it to intercept memory allocations, but libfaketime shows it can also be used to intercept time-related things.
libfaketime
In theory we could intercept timeouts without instrumenting applications and allow the scheduler to schedule these just like regular messages.
Just food for thought. We're nowhere near close to scheduling this to be implemented.
LD_PRELOAD
in *nix systems allows us to override symbols (functions/libraries) at runtime and execute (almost) arbitrary code.In my prev work I've used it to intercept memory allocations, but
libfaketime
shows it can also be used to intercept time-related things.In theory we could intercept timeouts without instrumenting applications and allow the scheduler to schedule these just like regular messages.
Just food for thought. We're nowhere near close to scheduling this to be implemented.