diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2024-04-02 23:01:51 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2024-04-02 23:01:51 +0000 |
commit | ed571409f237cb19b9d6b91112e001c3385dbb59 (patch) | |
tree | ae0e5e5f1bc5b1b1362b14eadd2649868dc7cdf9 /include/common.h | |
parent | 697be1f19f10657358cb3eed96393042ca683b91 (diff) | |
parent | 5c891e9c31cf7e1148e73150ad8008d5d2606686 (diff) | |
download | AFLplusplus-ed571409f237cb19b9d6b91112e001c3385dbb59.tar.gz |
Snap for 11662267 from 5c891e9c31cf7e1148e73150ad8008d5d2606686 to sdk-release
Change-Id: I68d8d5a8b7a7ba4926b365534131eaa30d997f42
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/common.h b/include/common.h index 8d85d201..0df07dee 100644 --- a/include/common.h +++ b/include/common.h @@ -10,7 +10,7 @@ Dominik Maier <mail@dmnk.co> Copyright 2016, 2017 Google Inc. All rights reserved. - Copyright 2019-2023 AFLplusplus Project. All rights reserved. + Copyright 2019-2024 AFLplusplus Project. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -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. */ |