Skip to content

Commit da67894

Browse files
committed
fmt
1 parent 12981fb commit da67894

File tree

4 files changed

+116
-97
lines changed

4 files changed

+116
-97
lines changed

crates/libafl_qemu/libvharness/src/lqemu/lqemu.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,14 @@ STATIC_CHECKS
99
static char llqprintf_buffer[LQEMU_PRINTF_MAX_SIZE] = {0};
1010
#endif
1111

12-
noinline lqword libafl_qemu_start_virt(volatile void *buf_vaddr, lqword max_len) {
12+
noinline lqword libafl_qemu_start_virt(volatile void *buf_vaddr,
13+
lqword max_len) {
1314
return _lqemu_custom_insn_call2(LIBAFL_QEMU_COMMAND_START_VIRT,
1415
(lqword)buf_vaddr, max_len);
1516
}
1617

17-
noinline lqword libafl_qemu_start_phys(volatile void *buf_paddr, lqword max_len) {
18+
noinline lqword libafl_qemu_start_phys(volatile void *buf_paddr,
19+
lqword max_len) {
1820
return _lqemu_custom_insn_call2(LIBAFL_QEMU_COMMAND_START_PHYS,
1921
(lqword)buf_paddr, max_len);
2022
}

crates/libafl_qemu/libvharness/src/vharness.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ bool vharness_get_buf(struct vharness_input *vinput, void *buf,
3636
return false;
3737
}
3838

39-
memcpy(buf, (const char*) vinput->input + vinput->pos, buf_len);
39+
memcpy(buf, (const char *)vinput->input + vinput->pos, buf_len);
4040
vinput->pos += buf_len;
4141

4242
return true;

0 commit comments

Comments
 (0)