This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Function
Given a program counter value, returns the offset of the corresponding FDE, or null if no matching FDE was found. The returned offset can be passed to getFde to load the data associated with the FDE.
Before calling this function, prepare must return successfully at least once, to ensure that unwind.lookup is populated.
The return value may be a false positive. After loading the FDE with loadFde, the caller must validate that pc is indeed in its range -- if it is not, then no FDE matches pc.
Given a program counter value, returns the offset of the corresponding FDE, or
nullif no matching FDE was found. The returned offset can be passed togetFdeto load the data associated with the FDE.Before calling this function,
preparemust return successfully at least once, to ensure thatunwind.lookupis populated.The return value may be a false positive. After loading the FDE with
loadFde, the caller must validate thatpcis indeed in its range -- if it is not, then no FDE matchespc.