Skip to content

Commit

Permalink
update 55-basic-pfc_binary_tree.pfc
Browse files Browse the repository at this point in the history
  • Loading branch information
yetist committed Feb 5, 2024
1 parent c10a2c1 commit a41adcf
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions tests/55-basic-pfc_binary_tree.pfc
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ if ($arch == 3221225655)
# filter for arch loongarch64 (3221225730)
if ($arch == 3221225730)
if ($syscall > 62)
if ($syscall > 139)
if ($syscall > 226)
if ($syscall > 214)
if ($syscall > 4294957050)
# filter for syscall "lstat" (4294957133) [priority: 65535]
if ($syscall == 4294957133)
action ERRNO(6);
Expand All @@ -192,7 +192,12 @@ if ($arch == 3221225730)
# filter for syscall "stat" (4294957122) [priority: 65535]
if ($syscall == 4294957122)
action ERRNO(4);
else # ($syscall <= 226)
else # ($syscall <= 4294957050)
# filter for syscall "fstat" (4294957050) [priority: 65533]
if ($syscall == 4294957050)
if ($a0.hi32 == 0)
if ($a0.lo32 == 103)
action ERRNO(5);
# filter for syscall "mprotect" (226) [priority: 65533]
if ($syscall == 226)
if ($a0.hi32 == 0)
Expand All @@ -204,11 +209,11 @@ if ($arch == 3221225730)
# filter for syscall "munmap" (215) [priority: 65535]
if ($syscall == 215)
action ERRNO(11);
else # ($syscall <= 214)
if ($syscall > 68)
# filter for syscall "brk" (214) [priority: 65535]
if ($syscall == 214)
action ERRNO(12);
else # ($syscall <= 139)
if ($syscall > 68)
# filter for syscall "rt_sigreturn" (139) [priority: 65535]
if ($syscall == 139)
action ERRNO(15);
Expand All @@ -218,11 +223,6 @@ if ($arch == 3221225730)
# filter for syscall "rt_sigaction" (134) [priority: 65535]
if ($syscall == 134)
action ERRNO(13);
# filter for syscall "fstat" (80) [priority: 65533]
if ($syscall == 80)
if ($a0.hi32 == 0)
if ($a0.lo32 == 103)
action ERRNO(5);
else # ($syscall <= 68)
# filter for syscall "pwrite64" (68) [priority: 65531]
if ($syscall == 68)
Expand Down

0 comments on commit a41adcf

Please sign in to comment.