mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-10 01:01:33 +00:00
make gcc 15 happy
This commit is contained in:
parent
ebd6d4b8bb
commit
65b99d25e1
@ -110,8 +110,9 @@ static u8 count_class_lookup[256] = {
|
||||
|
||||
};
|
||||
|
||||
static void kill_child() {
|
||||
static void kill_child(int signal) {
|
||||
|
||||
(void)signal;
|
||||
if (fsrv.child_pid > 0) {
|
||||
|
||||
kill(fsrv.child_pid, fsrv.child_kill_signal);
|
||||
|
@ -2849,6 +2849,7 @@ int main(int argc, char **argv_orig, char **envp) {
|
||||
for (u32 i = 0; i < afl->queued_items; i++) {
|
||||
|
||||
q = afl->queue_buf[i];
|
||||
// this is very dirty and assumes nice memory :-)
|
||||
ZLIBREAD(fr_fd, (u8 *)&(q->colorized), q_len, "queue data");
|
||||
ZLIBREAD(fr_fd, res, 1, "check map");
|
||||
if (res[0]) {
|
||||
|
@ -131,8 +131,9 @@ static const u8 count_class_binary[256] = {
|
||||
|
||||
};
|
||||
|
||||
static void kill_child() {
|
||||
static void kill_child(int signal) {
|
||||
|
||||
(void)signal;
|
||||
timed_out = 1;
|
||||
if (fsrv->child_pid > 0) {
|
||||
|
||||
|
@ -111,8 +111,9 @@ static const u8 count_class_lookup[256] = {
|
||||
|
||||
};
|
||||
|
||||
static void kill_child() {
|
||||
static void kill_child(int signal) {
|
||||
|
||||
(void)signal;
|
||||
if (fsrv->child_pid > 0) {
|
||||
|
||||
kill(fsrv->child_pid, fsrv->child_kill_signal);
|
||||
|
Loading…
x
Reference in New Issue
Block a user