code format, llvm 18

This commit is contained in:
vanhauser-thc
2024-08-19 16:25:32 +02:00
parent 6edc3b51ba
commit 1689a8e053
21 changed files with 110 additions and 97 deletions

View File

@ -41,8 +41,9 @@ u64 time_spent_working = 0;
/* Execute target application, monitoring for timeouts. Return status
information. The called program will update afl->fsrv->trace_bits. */
fsrv_run_result_t __attribute__((hot))
fuzz_run_target(afl_state_t *afl, afl_forkserver_t *fsrv, u32 timeout) {
fsrv_run_result_t __attribute__((hot)) fuzz_run_target(afl_state_t *afl,
afl_forkserver_t *fsrv,
u32 timeout) {
#ifdef PROFILING
static u64 time_spent_start = 0;
@ -111,8 +112,8 @@ fuzz_run_target(afl_state_t *afl, afl_forkserver_t *fsrv, u32 timeout) {
old file is unlinked and a new one is created. Otherwise, afl->fsrv.out_fd is
rewound and truncated. */
u32 __attribute__((hot))
write_to_testcase(afl_state_t *afl, void **mem, u32 len, u32 fix) {
u32 __attribute__((hot)) write_to_testcase(afl_state_t *afl, void **mem,
u32 len, u32 fix) {
u8 sent = 0;
@ -1173,8 +1174,8 @@ abort_trimming:
error conditions, returning 1 if it's time to bail out. This is
a helper function for fuzz_one(). */
u8 __attribute__((hot))
common_fuzz_stuff(afl_state_t *afl, u8 *out_buf, u32 len) {
u8 __attribute__((hot)) common_fuzz_stuff(afl_state_t *afl, u8 *out_buf,
u32 len) {
u8 fault;