- how to run a constructor function on each fork - 3 Updates
Shank <shashank...@gmail.com>: Jun 13 07:05PM -0700
From what I understand, afl would stop just before main() and then create
the forks from there (for better performance). In my usecase, it is needed
that a particular constructor function is run for each invocation, rather
than once in the whole session (as is the case now). Is there an option to
disable the described behaviour?
- Shank
Marc <m...@mh-sec.de>: Jun 14 10:58AM +0200
On 6/14/22 04:05, Shank wrote:
> is needed that a particular constructor function is run for each
> invocation, rather than once in the whole session (as is the case now).
> Is there an option to disable the described behaviour?
what you could do is add another constructor to your target that runs
before the speical one you have and put __AFL_INIT(); in there, then
this will be the location the forkserver is installed, and your special
constructor comes afterwards every time.
Regards,
Marc
--
Marc Heuse
www.mh-sec.de
PGP: AF3D 1D4C D810 F0BB 977D 3807 C7EE D0A0 6BE9 F573
Shank <shashank...@gmail.com>: Jun 14 07:03AM -0700
Thank you. I will do that.
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to afl-users+...@googlegroups.com.