Skip to content

Commit

Permalink
tools/syz-trace2syz: ignore automatically generated descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
pimyn-girgis committed Sep 30, 2024
1 parent daef916 commit e9a8b0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/syz-trace2syz/proggen/call_selector.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func (cs *selectorCommon) callSet(callName string) []*prog.Syscall {
return calls
}
for _, call := range cs.target.Syscalls {
if call.CallName == callName {
if !call.Attrs.Automatic && call.CallName == callName { // Do not take automatic system calls into consideration.
calls = append(calls, call)
}
}
Expand Down

0 comments on commit e9a8b0a

Please sign in to comment.