Files
libfaketime/test/snippets/syscall_clock_gettime_heap.variable
Daniel Kahn Gillmor d3f3ee38c6 Add syscall_clock_gettime_heap snippet
This invokes clock_gettime, but uses a timespec from the heap instead
of the stack.

It appears to be successful for me on x86-64 GNU/Linux.

This rules out one possible cause of the error reported in #310: I was
worried that an address from the range occupied by the heap might
somehow be corrupted by the syscall variadic argument de-mangling, but
that looks like it is not the case.
2021-03-02 10:33:07 -05:00

2 lines
35 B
Plaintext

FAKETIME 2020-02-02 02:02:02+00:00