Re: [afl-users] Digest for afl-users@googlegroups.com - 3 updates in 1 topic

24 views
Skip to first unread message

Phanny Top

unread,
Jun 14, 2022, 12:23:06 PM6/14/22
to afl-...@googlegroups.com

នៅ​ថ្ងៃទី អង្គារ 14 មិថុនា 2022, 11:04 PM <afl-...@googlegroups.com> បាន​សរសេរ​ថា៖
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.
Reply all
Reply to author
Forward
0 new messages