Identify reachable edges of a child process in SanitizerCoverage

Hello everyone,
is it possible to cont and identify the edges that are reachable by a child process created by fork()?
After fork, usually there is a “if pid==0” statement, and I would like to catch this statement and count the edges reachable by the true branch and the false branch.

Thank you all