3 ms·
I would like to see a more general approach to solving the problem of "short lived processes are expensive". There needs to be a way to dynamically link a bina
by londons_explore 5y ago
I would like to see a more general approach to solving the problem of "short lived processes are expensive".
There needs to be a way to dynamically link a binary into your own address space, and call it's logic repeatedly, without incurring all the process startup overhead all the time.
Pretty much, have all command line utilities be linkable like a library.
- xuhu 5y agoAfl-fuzz runs a program until main() and then forks it repeatedly. An empty main() can be called at least 10000 times per second this way.
- xxpor 5y agoWith AFL++ you can even determine exactly where the fork happens: https://github.com/AFLplusplus/AFLplusplus/blob/stable/instrumentation/README.persistent_mode.md#3-deferred-initialization https://github.com/AFLplusplus/AFLplusplus/blob/stable/instr...