github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/sys/syz-extract/windows.go (about) 1 // Copyright 2017 syzkaller project authors. All rights reserved. 2 // Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. 3 4 package main 5 6 import ( 7 "github.com/google/syzkaller/pkg/compiler" 8 ) 9 10 type windows struct{} 11 12 func (*windows) prepare(sourcedir string, build bool, arches []*Arch) error { 13 return nil 14 } 15 16 func (*windows) prepareArch(arch *Arch) error { 17 return nil 18 } 19 20 func (*windows) processFile(arch *Arch, info *compiler.ConstInfo) (map[string]uint64, map[string]bool, error) { 21 params := &extractParams{ 22 DeclarePrintf: true, 23 TargetEndian: arch.target.HostEndian, 24 } 25 return extract(info, "cl", nil, params) 26 }