Skip to content

Commit

Permalink
apply review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-hunhoff committed Jun 6, 2024
1 parent 885ea24 commit 6fedeac
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions host-interaction/file-system/write/write-file-on-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ rule:
- api: fwrite
- api: putwchar
- api: dprintf
- api: vdprintf
- api: fprintf
- api: vfprintf
- optional:
- match: create or open file
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ rule:
- and:
- match: execute syscall
- arch: aarch64
- number: 0xdd
- number: 0xdd = execve
- api: execl
- api: execlp
- api: execle
Expand Down
3 changes: 3 additions & 0 deletions nursery/truncate-file-on-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@ rule:
dynamic: call
features:
- and:
- or:
- os: android
- os: linux
- api: ftruncate

0 comments on commit 6fedeac

Please sign in to comment.