diff options
author | van Hauser <vh@thc.org> | 2023-07-03 10:53:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-03 10:53:02 +0300 |
commit | 497ff5ff7962ee492fef315227366d658c637ab2 (patch) | |
tree | 4fcbea3bba9ef71ddffb185846ae69c2edf2e84f /include | |
parent | 3426189c0668d2e55b18398c27e2e6400ad0b0b2 (diff) | |
parent | dcbfc88e7d1feae344a5288decc262fa7e8bce83 (diff) | |
download | afl++-497ff5ff7962ee492fef315227366d658c637ab2.tar.gz |
Merge pull request #1795 from AFLplusplus/dev
push to stable
Diffstat (limited to 'include')
-rw-r--r-- | include/common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h index 8d85d201..a9739a7d 100644 --- a/include/common.h +++ b/include/common.h @@ -115,6 +115,11 @@ u8 *stringify_mem_size(u8 *buf, size_t len, u64 val); u8 *stringify_time_diff(u8 *buf, size_t len, u64 cur_ms, u64 event_ms); +/* Unsafe describe time delta as simple string. + Returns a pointer to buf for convenience. */ + +u8 *u_simplestring_time_diff(u8 *buf, u64 cur_ms, u64 event_ms); + /* Unsafe Describe integer. The buf sizes are not checked. This is unsafe but fast. Will return buf for convenience. */ |