mirror of
https://github.com/reactos/syzkaller.git
synced 2025-01-26 22:24:21 +00:00
syz-manager: pass kernel object dir to report.NewReporter
This commit is contained in:
parent
6a4810dd45
commit
fe864987bd
@ -780,7 +780,10 @@ func (mgr *Manager) getReporter() report.Reporter {
|
||||
if mgr.reporter == nil {
|
||||
<-allSymbolsReady
|
||||
var err error
|
||||
mgr.reporter, err = report.NewReporter(mgr.cfg.TargetOS, mgr.cfg.Kernel_Src, "", allSymbols, mgr.cfg.ParsedIgnores)
|
||||
// TODO(dvyukov): we should introduce cfg.Kernel_Obj dir instead of Vmlinux.
|
||||
// This will be more general taking into account modules and other OSes.
|
||||
mgr.reporter, err = report.NewReporter(mgr.cfg.TargetOS, mgr.cfg.Kernel_Src,
|
||||
filepath.Dir(mgr.cfg.Vmlinux), allSymbols, mgr.cfg.ParsedIgnores)
|
||||
if err != nil {
|
||||
Fatalf("%v", err)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user