mirror of
https://github.com/reactos/syzkaller.git
synced 2025-02-12 23:22:31 +00:00
parent
9cd52ccb43
commit
d606e60dfe
2
Makefile
2
Makefile
@ -118,7 +118,7 @@ target:
|
||||
# executor uses stacks of limited size, so no jumbo frames.
|
||||
executor:
|
||||
mkdir -p ./bin/$(TARGETOS)_$(TARGETARCH)
|
||||
$(CC) -o ./bin/$(TARGETOS)_$(TARGETARCH)/syz-executor executor/executor.cc \
|
||||
$(CC) -o ./bin/$(TARGETOS)_$(TARGETARCH)/syz-executor executor/executor_$(TARGETOS).cc \
|
||||
-pthread -Wall -Wframe-larger-than=8192 -Wparentheses -Werror -O1 -g \
|
||||
$(ADDCFLAGS) $(CFLAGS) -DGIT_REVISION=\"$(REV)\"
|
||||
|
||||
|
9
executor/executor_fuchsia.cc
Normal file
9
executor/executor_fuchsia.cc
Normal file
@ -0,0 +1,9 @@
|
||||
// Copyright 2017 syzkaller project authors. All rights reserved.
|
||||
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
|
||||
|
||||
// +build
|
||||
|
||||
int main()
|
||||
{
|
||||
return 0;
|
||||
}
|
@ -4,6 +4,7 @@
|
||||
package ipc
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"math/rand"
|
||||
"os"
|
||||
"path/filepath"
|
||||
@ -20,7 +21,8 @@ import (
|
||||
const timeout = 10 * time.Second
|
||||
|
||||
func buildExecutor(t *testing.T, target *prog.Target) string {
|
||||
return buildProgram(t, target, filepath.FromSlash("../../executor/executor.cc"))
|
||||
src := fmt.Sprintf("../../executor/executor_%v.cc", target.OS)
|
||||
return buildProgram(t, target, filepath.FromSlash(src))
|
||||
}
|
||||
|
||||
func buildSource(t *testing.T, target *prog.Target, src []byte) string {
|
||||
|
Loading…
x
Reference in New Issue
Block a user