yuvald-sweet-security wrote:

> Thanks @yuvald-sweet-security I am not sure whether I can add default v1->v3 
> in llvm20 or not. But let me check anyway.
> 
> Also, if the verification failure can be easily reproduced, could you submit 
> the test case, we can do some analysis to see why and maybe verifier could be 
> improved due to this. Thanks!
The specific case I was researching is in proprietary code, but I can see eBPF 
verifier/codegen degradations caused by moving from v1 to v3 in many public 
repos, e.g. try to compile Tracee (https://github.com/aquasecurity/tracee):
```
$ cd tracee/pkg/ebpf/c

$ clang-20 -D__TARGET_ARCH_x86 -I. -I/usr/x86_64-linux-gnu/include 
-I/lib/modules/`uname -r`/build/include -target bpf -O2 -g -c ./tracee.bpf.c 
-mcpu=v1 -o /tmp/test-v1.o

$ clang-20 -D__TARGET_ARCH_x86 -I. -I/usr/x86_64-linux-gnu/include 
-I/lib/modules/`uname -r`/build/include -target bpf -O2 -g -c ./tracee.bpf.c 
-mcpu=v3 -o /tmp/test-v3.o

$ sudo /root/veristat /tmp/test-v1.o

Processing 'test-v1.o'...
File       Program                                         Verdict  Duration 
(us)   Insns  States  Program size  Jited size
---------  ----------------------------------------------  -------  
-------------  ------  ------  ------------  ----------
test-v1.o  cgroup_bpf_run_filter_skb                       success           
2016    5446     368          1396        6388
test-v1.o  cgroup_mkdir_signal                             success            
124     281      17           199         933
test-v1.o  cgroup_rmdir_signal                             success            
116     276      17           194         915
test-v1.o  cgroup_skb_egress                               success           
3642    6425     251          3616       19650
test-v1.o  cgroup_skb_ingress                              success           
5026    6425     251          3616       19650
test-v1.o  empty_kprobe                                    success             
24       2       0             2          23
test-v1.o  kernel_write_magic_enter                        success             
56      56       3            55         255
test-v1.o  kernel_write_magic_return                       success          
12523   29526    1020          4573       22096
test-v1.o  lkm_seeker_kset_tail                            success         
264372  437356   22484         14711       68504
test-v1.o  lkm_seeker_mod_tree_tail                        success             
92     111       9           206         671
test-v1.o  lkm_seeker_modtree_loop                         success         
168335  198161   12446         13947       65075
test-v1.o  lkm_seeker_new_mod_only_tail                    success          
80150   15844    1159         13138       52462
test-v1.o  lkm_seeker_proc_tail                            failure          
50660  189384    3693         13806           0
test-v1.o  process_execute_failed_tail                     success           
1606    5182     368          2572       12010
test-v1.o  sched_process_exec_event_submit_tail            success           
2632    6923     471          2850       13651
test-v1.o  sched_process_exec_signal                       success           
3947   11860     796          5305       24294
test-v1.o  sched_process_exit_signal                       success            
280     378      23           280        1275
test-v1.o  sched_process_fork_signal                       success            
527    1383      75          1080        4563
test-v1.o  send_bin                                        success           
1348    6804     452          3464       18131
test-v1.o  send_bin_tp                                     success           
1137    6804     452          3464       18131
test-v1.o  sys_dup_exit_tail                               success           
2497    2912     188          2345       11493
test-v1.o  sys_enter_init                                  success           
1619     610      43           574        2849
test-v1.o  sys_enter_submit                                success           
8256    6961     484          3774       19483
test-v1.o  sys_exit_init                                   success            
745     507      34           477        2349
test-v1.o  sys_exit_submit                                 success           
2742    4081     276          2370       12202
test-v1.o  syscall__accept4                                success           
1416    2314     140          1679        8480
test-v1.o  syscall__execve_enter                           failure           
1496    2086     155          4033           0
test-v1.o  syscall__execve_exit                            failure            
768    2086     155          4034           0
test-v1.o  syscall__execveat_enter                         failure            
755    2087     155          4088           0
test-v1.o  syscall__execveat_exit                          failure            
754    2087     155          4089           0
test-v1.o  syscall__init_module                            success             
82     108       7           101         639
test-v1.o  syscall_checker                                 success          
13500    8445     529          6642       13343
test-v1.o  trace___register_chrdev                         success             
47      27       1            29         139
test-v1.o  trace_arch_prctl                                success            
279     689      48           558        2683
test-v1.o  trace_bpf_check                                 success            
961    1934     120          1267        5785
test-v1.o  trace_call_usermodehelper                       failure           
1008    3097     228          4642           0
test-v1.o  trace_cap_capable                               success           
1974    2316     147          1695        7461
test-v1.o  trace_check_helper_call                         success            
910    2040     125          1331        6032
test-v1.o  trace_check_map_func_compatibility              success           
1018    2048     123          1326        6032
test-v1.o  trace_chmod_common                              success           
2962    6917     471          3704       16611
test-v1.o  trace_commit_creds                              success           
2478    2830     177          2217        9832
test-v1.o  trace_debugfs_create_dir                        success           
2022    3992     224          3065       13387
test-v1.o  trace_debugfs_create_file                       success           
2200    4081     228          3125       13864
test-v1.o  trace_device_add                                success           
1231    2475     156          1773        7889
test-v1.o  trace_do_exit                                   success           
1058    2310     148          1643        7179
test-v1.o  trace_do_init_module                            success             
41      27       1            29         139
test-v1.o  trace_do_mmap                                   success            
192      27       1            29         139
test-v1.o  trace_do_sigaction                              success           
1681    3311     199          2057        9499
test-v1.o  trace_do_splice                                 success             
34      27       1            29         139
test-v1.o  trace_do_truncate                               success           
2044    4063     231          3161       14142
test-v1.o  trace_dup                                       success            
255     689      48           558        2683
test-v1.o  trace_dup2                                      success            
583     689      48           558        2683
test-v1.o  trace_dup3                                      success            
319     689      48           558        2683
test-v1.o  trace_exec_binprm                               success           
3000    6903     467          3642       18836
test-v1.o  trace_execute_finished                          failure           
1291    2779     207          4861           0
test-v1.o  trace_fd_install                                success           
2741    6550     447          3413       15668
test-v1.o  trace_file_modified                             success            
175     107       7           114         380
test-v1.o  trace_file_update_time                          success           
1814     105       7           112         366
test-v1.o  trace_filldir64                                 success           
1523    2350     150          1686        7399
test-v1.o  trace_filp_close                                success           
3817    6507     447          3401       15604
test-v1.o  trace_inotify_find_inode                        success             
36      27       1            29         139
test-v1.o  trace_kallsyms_lookup_name                      success             
89      27       1            29         139
test-v1.o  trace_kernel_write                              success             
38      27       1            29         139
test-v1.o  trace_load_elf_phdrs                            success           
3650    8868     596          3861       17314
test-v1.o  trace_mmap_alert                                success           
4484    8337     554          4148       19263
test-v1.o  trace_proc_create                               success           
1179    2404     153          1709        7538
test-v1.o  trace_process_vm_writev                         success            
235     689      48           558        2683
test-v1.o  trace_ptrace                                    success            
632     689      48           558        2683
test-v1.o  trace_register_kprobe                           success             
35      27       1            29         139
test-v1.o  trace_ret__register_chrdev                      success           
1256    2564     162          1807        8027
test-v1.o  trace_ret_arch_prctl                            success           
1921    4134     281          2342       11958
test-v1.o  trace_ret_do_init_module                        success           
2553    4161     259          2966       13387
test-v1.o  trace_ret_do_mmap                               success           
6177    8487     557          4064       18518
test-v1.o  trace_ret_do_splice                             success           
3744    7691     515          4173       18862
test-v1.o  trace_ret_dup                                   success           
2017    4134     281          2342       11958
test-v1.o  trace_ret_dup2                                  success          
11822    4134     281          2342       11958
test-v1.o  trace_ret_dup3                                  success           
2809    4134     281          2342       11958
test-v1.o  trace_ret_file_modified                         success           
4267    7455     506          3953       18706
test-v1.o  trace_ret_file_update_time                      success           
3973    7385     505          3908       18532
test-v1.o  trace_ret_inotify_find_inode                    success           
3251    7120     485          3810       17082
test-v1.o  trace_ret_kallsyms_lookup_name                  success           
1185    2427     155          1735        7661
test-v1.o  trace_ret_kernel_write                          success           
4231    7494     512          3987       21369
test-v1.o  trace_ret_kernel_write_tail                     success          
21127   25666    1941          7241       39000
test-v1.o  trace_ret_process_vm_writev                     success           
8746    4134     281          2342       11958
test-v1.o  trace_ret_ptrace                                success           
1946    4134     281          2342       11958
test-v1.o  trace_ret_register_kprobe                       success           
1315    2559     160          1831        8062
test-v1.o  trace_ret_sock_alloc_file                       success            
823    1806     111          1316        6476
test-v1.o  trace_ret_vfs_read                              success           
4373    7494     512          3987       21369
test-v1.o  trace_ret_vfs_read_tail                         success          
10738   19518    1474          4531       24728
test-v1.o  trace_ret_vfs_readv                             success           
4152    7494     512          3987       21366
test-v1.o  trace_ret_vfs_readv_tail                        success           
9378   19504    1478          4539       24752
test-v1.o  trace_ret_vfs_write                             success           
3775    7494     512          3987       21366
test-v1.o  trace_ret_vfs_write_tail                        success          
15466   25666    1941          7241       39000
test-v1.o  trace_ret_vfs_writev                            success           
4094    7494     512          3987       21366
test-v1.o  trace_ret_vfs_writev_tail                       success          
20126   25292    1874          7163       38486
test-v1.o  trace_security_bpf                              success           
2974    4685     297          3318       17233
test-v1.o  trace_security_bpf_map                          success           
1436    2420     154          1719        7572
test-v1.o  trace_security_bpf_prog                         success           
2152    3980     247          1904        8817
test-v1.o  trace_security_bprm_check                       failure           
1033    2799     205          6717           0
test-v1.o  trace_security_bprm_creds_for_exec              success           
3786    6824     462          3638       18806
test-v1.o  trace_security_file_ioctl                       success           
1816    3157     195          2271       10614
test-v1.o  trace_security_file_mprotect                    success          
14868   25144    1570          7532       38909
test-v1.o  trace_security_file_open                        success          
48591   93652    5090         10608       48878
test-v1.o  trace_security_file_permission                  success           
1201    2503     159          1805        7925
test-v1.o  trace_security_inode_mknod                      success           
2044    3884     220          3074       13591
test-v1.o  trace_security_inode_rename                     success           
2656    5199     285          4353       18881
test-v1.o  trace_security_inode_symlink                    success           
2319    3852     218          3065       13387
test-v1.o  trace_security_inode_unlink                     success           
2071    4023     233          3183       13953
test-v1.o  trace_security_kernel_post_read_file            success           
3526    7043     482          3845       19694
test-v1.o  trace_security_kernel_read_file                 success           
3287    7303     492          3915       17602
test-v1.o  trace_security_mmap_file                        success          
17428   39070    1604          7674       34796
test-v1.o  trace_security_path_notify                      success           
3052    7194     486          3843       17475
test-v1.o  trace_security_sb_mount                         success           
3163    7219     482          3814       17223
test-v1.o  trace_security_settime64                        success           
1170    2558     160          1810        7952
test-v1.o  trace_security_sk_clone                         success             
62      71       5            69         351
test-v1.o  trace_security_socket_accept                    success           
1663    2774     177          2171       10463
test-v1.o  trace_security_socket_bind                      success           
1441    2727     177          2019        9761
test-v1.o  trace_security_socket_connect                   success           
1489    2684     170          1928        9311
test-v1.o  trace_security_socket_create                    success           
1186    2504     157          1754        7768
test-v1.o  trace_security_socket_listen                    success           
1390    2825     173          2070       10024
test-v1.o  trace_security_socket_recvmsg                   success            
862    1853     113          1358        6692
test-v1.o  trace_security_socket_sendmsg                   success           
1099    1853     113          1358        6692
test-v1.o  trace_security_socket_setsockopt                success           
1765    2853     178          2128       10252
test-v1.o  trace_security_task_setrlimit                   success           
1273    2523     159          1776        7888
test-v1.o  trace_set_fs_pwd                                success           
3927    7177     488          3800       17082
test-v1.o  trace_sock_alloc_file                           success             
71      68       5            76         300
test-v1.o  trace_switch_task_namespaces                    success           
1333    2809     178          2076        9277
test-v1.o  trace_sys_enter                                 success           
2199    2371     153          1681        7391
test-v1.o  trace_sys_exit                                  success           
2136    2385     153          1688        7420
test-v1.o  trace_tracepoint_probe_register_prio_may_exist  success           
1701    2743     171          1938        8981
test-v1.o  trace_utimes_common                             success           
3153    7460     499          3883       17583
test-v1.o  trace_vfs_read                                  success             
34      27       1            29         139
test-v1.o  trace_vfs_readv                                 success             
41      27       1            29         139
test-v1.o  trace_vfs_utimes                                success           
3491    7460     499          3883       17583
test-v1.o  trace_vfs_write                                 success             
38      27       1            29         139
test-v1.o  trace_vfs_writev                                success             
40      27       1            29         139
test-v1.o  tracepoint__cgroup__cgroup_attach_task          success           
1341    2517     157          1797        7896
test-v1.o  tracepoint__cgroup__cgroup_mkdir                success           
2275    2529     159          1801        7866
test-v1.o  tracepoint__cgroup__cgroup_rmdir                success           
1253    2529     159          1801        7866
test-v1.o  tracepoint__exec_test                           success           
6377   10452     690          6059       27752
test-v1.o  tracepoint__module__module_free                 success           
1813    2430     154          1845        8190
test-v1.o  tracepoint__module__module_load                 success           
3817    7576     513          4163       18635
test-v1.o  tracepoint__raw_syscalls__sys_enter             success            
537      30       2            29         236
test-v1.o  tracepoint__raw_syscalls__sys_exit              success             
47      41       3            36         272
test-v1.o  tracepoint__sched__sched_process_exec           success           
6346   12680     766          4439       23370
test-v1.o  tracepoint__sched__sched_process_exit           success           
1876    2472     156          1803        7950
test-v1.o  tracepoint__sched__sched_process_fork           success           
4367    5733     345          5015       18189
test-v1.o  tracepoint__sched__sched_process_free           success             
72      46       3            46         255
test-v1.o  tracepoint__sched__sched_switch                 success           
1233    2597     162          1842        8191
test-v1.o  tracepoint__task__task_rename                   success           
1145    2442     155          1743        7717
test-v1.o  uprobe_lkm_seeker                               success           
4966    9861     509          9810       46314
test-v1.o  uprobe_lkm_seeker_submitter                     success            
751    1536     100          1402        5524
test-v1.o  uprobe_mem_dump_trigger                         success            
757    1525     103          1392        5826
test-v1.o  uprobe_seq_ops_trigger                          success           
1700    4325     287          2125        9847
test-v1.o  uprobe_syscall_table_check                      success         
143613  502821    8445         12761       50590
test-v1.o  vfs_write_magic_enter                           success             
54      56       3            55         255
test-v1.o  vfs_write_magic_return                          success           
9359   29526    1020          4573       22096
test-v1.o  vfs_writev_magic_enter                          success             
52      56       3            55         255
test-v1.o  vfs_writev_magic_return                         success           
9231   29733    1024          4685       22899
---------  ----------------------------------------------  -------  
-------------  ------  ------  ------------  ----------
Done. Processed 1 files, 0 programs. Skipped 159 files, 0 programs.

$ sudo /root/veristat /tmp/test-v3.o

Processing 'test-v3.o'...
File       Program                                         Verdict  Duration 
(us)   Insns  States  Program size  Jited size
---------  ----------------------------------------------  -------  
-------------  ------  ------  ------------  ----------
test-v3.o  cgroup_bpf_run_filter_skb                       success           
2238    5427     368          1388        6317
test-v3.o  cgroup_mkdir_signal                             failure             
79     115       7           193           0
test-v3.o  cgroup_rmdir_signal                             failure             
73     110       7           188           0
test-v3.o  cgroup_skb_egress                               success           
3192    6547     251          3563       18647
test-v3.o  cgroup_skb_ingress                              success           
3275    6547     251          3563       18647
test-v3.o  empty_kprobe                                    success             
24       2       0             2          23
test-v3.o  kernel_write_magic_enter                        success             
53      56       3            55         252
test-v3.o  kernel_write_magic_return                       failure            
702    1461      98          4441           0
test-v3.o  lkm_seeker_kset_tail                            failure          
14339   33296     744         14561           0
test-v3.o  lkm_seeker_mod_tree_tail                        success             
94     112       9           208         673
test-v3.o  lkm_seeker_modtree_loop                         failure           
1715    4533     157         13848           0
test-v3.o  lkm_seeker_new_mod_only_tail                    failure           
3847   11669     926         13135           0
test-v3.o  lkm_seeker_proc_tail                            failure            
816     633      40         13732           0
test-v3.o  process_execute_failed_tail                     success          
12175   26610    1934          2431       11300
test-v3.o  sched_process_exec_event_submit_tail            failure            
386     321      22          2712           0
test-v3.o  sched_process_exec_signal                       failure            
463     727      43          5018           0
test-v3.o  sched_process_exit_signal                       success            
323     362      23           265        1191
test-v3.o  sched_process_fork_signal                       success            
577    1306      75          1037        4290
test-v3.o  send_bin                                        success           
1061    5578     451          3448       17841
test-v3.o  send_bin_tp                                     success           
1077    5578     451          3448       17841
test-v3.o  sys_dup_exit_tail                               success           
1648    2910     188          2317       11252
test-v3.o  sys_enter_init                                  success            
314     611      43           576        2840
test-v3.o  sys_enter_submit                                success          
11305   27798    2053          3650       18832
test-v3.o  sys_exit_init                                   success            
232     489      33           468        2316
test-v3.o  sys_exit_submit                                 failure            
488    1254      81          2350           0
test-v3.o  syscall__accept4                                success           
1503    2301     140          1656        8309
test-v3.o  syscall__execve_enter                           failure            
792    1954     155          3782           0
test-v3.o  syscall__execve_exit                            failure            
886    1946     155          3776           0
test-v3.o  syscall__execveat_enter                         failure            
784    1960     155          3843           0
test-v3.o  syscall__execveat_exit                          failure            
870    1943     155          3826           0
test-v3.o  syscall__init_module                            success             
76     110       8           101         643
test-v3.o  syscall_checker                                 success           
4588    8499     532          6638       13322
test-v3.o  trace___register_chrdev                         success             
41      27       1            29         139
test-v3.o  trace_arch_prctl                                success            
389     690      48           559        2673
test-v3.o  trace_bpf_check                                 success            
848    1939     120          1269        5760
test-v3.o  trace_call_usermodehelper                       failure            
669    1675     113          4412           0
test-v3.o  trace_cap_capable                               success           
1090    2303     147          1678        7339
test-v3.o  trace_check_helper_call                         success            
885    2024     125          1317        5944
test-v3.o  trace_check_map_func_compatibility              success           
1298    2030     123          1313        5951
test-v3.o  trace_chmod_common                              success          
12663   28357    2039          3573       15979
test-v3.o  trace_commit_creds                              success           
1655    2805     176          2210        9747
test-v3.o  trace_debugfs_create_dir                        failure            
623    1261      84          2906           0
test-v3.o  trace_debugfs_create_file                       failure            
481    1265      84          2976           0
test-v3.o  trace_device_add                                failure            
476    1276      83          1767           0
test-v3.o  trace_do_exit                                   success           
1078    2229     144          1642        7143
test-v3.o  trace_do_init_module                            success             
42      27       1            29         139
test-v3.o  trace_do_mmap                                   success             
60      27       1            29         139
test-v3.o  trace_do_sigaction                              success           
1618    3186     195          2035        9210
test-v3.o  trace_do_splice                                 success             
52      27       1            29         139
test-v3.o  trace_do_truncate                               success           
2120    3896     232          3008       13286
test-v3.o  trace_dup                                       success            
247     690      48           559        2673
test-v3.o  trace_dup2                                      success            
257     690      48           559        2673
test-v3.o  trace_dup3                                      success            
257     690      48           559        2673
test-v3.o  trace_exec_binprm                               success           
4046   10508     752          3536       18320
test-v3.o  trace_execute_finished                          failure            
999    2673     206          4628           0
test-v3.o  trace_fd_install                                success          
12266   29817    2148          3294       15118
test-v3.o  trace_file_modified                             success             
67     107       7           114         376
test-v3.o  trace_file_update_time                          success             
66     105       7           112         363
test-v3.o  trace_filldir64                                 success           
1128    2284     146          1681        7331
test-v3.o  trace_filp_close                                success          
11391   29767    2147          3282       15057
test-v3.o  trace_inotify_find_inode                        success             
39      27       1            29         139
test-v3.o  trace_kallsyms_lookup_name                      success             
37      27       1            29         139
test-v3.o  trace_kernel_write                              success             
80      27       1            29         139
test-v3.o  trace_load_elf_phdrs                            success          
12417   30778    2229          3713       16404
test-v3.o  trace_mmap_alert                                success          
14513   30137    2184          4008       18468
test-v3.o  trace_proc_create                               success           
1148    2307     148          1701        7453
test-v3.o  trace_process_vm_writev                         success            
247     690      48           559        2673
test-v3.o  trace_ptrace                                    success            
246     690      48           559        2673
test-v3.o  trace_register_kprobe                           success             
40      27       1            29         139
test-v3.o  trace_ret__register_chrdev                      failure            
420    1286      86          1818           0
test-v3.o  trace_ret_arch_prctl                            failure            
463    1193      81          2323           0
test-v3.o  trace_ret_do_init_module                        failure           
1147    2235     148          2952           0
test-v3.o  trace_ret_do_mmap                               success          
15312   30570    2184          3924       17686
test-v3.o  trace_ret_do_splice                             failure            
835    1511      99          4020           0
test-v3.o  trace_ret_dup                                   failure            
581    1193      81          2323           0
test-v3.o  trace_ret_dup2                                  failure            
454    1193      81          2323           0
test-v3.o  trace_ret_dup3                                  failure            
445    1193      81          2323           0
test-v3.o  trace_ret_file_modified                         success          
13600   29092    2135          3768       17699
test-v3.o  trace_ret_file_update_time                      success          
13022   29303    2136          3800       17898
test-v3.o  trace_ret_inotify_find_inode                    success          
14193   28579    2055          3688       16495
test-v3.o  trace_ret_kallsyms_lookup_name                  success           
1203    2333     150          1727        7580
test-v3.o  trace_ret_kernel_write                          success          
12249   33908    2380          3852       20596
test-v3.o  trace_ret_kernel_write_tail                     failure          
23911   69324    5021          6978           0
test-v3.o  trace_ret_process_vm_writev                     failure            
504    1193      81          2323           0
test-v3.o  trace_ret_ptrace                                failure            
421    1193      81          2323           0
test-v3.o  trace_ret_register_kprobe                       success           
1244    2434     155          1811        7925
test-v3.o  trace_ret_sock_alloc_file                       success            
860    1809     111          1317        6442
test-v3.o  trace_ret_vfs_read                              success          
12208   33908    2380          3852       20596
test-v3.o  trace_ret_vfs_read_tail                         failure           
5179   14346    1101          4419           0
test-v3.o  trace_ret_vfs_readv                             success          
13480   33908    2380          3852       20593
test-v3.o  trace_ret_vfs_readv_tail                        failure           
5327   14448    1108          4454           0
test-v3.o  trace_ret_vfs_write                             success          
12264   33908    2380          3852       20593
test-v3.o  trace_ret_vfs_write_tail                        failure          
31831   69324    5021          6978           0
test-v3.o  trace_ret_vfs_writev                            success          
14108   33908    2380          3852       20593
test-v3.o  trace_ret_vfs_writev_tail                       failure          
27103   69207    4990          6927           0
test-v3.o  trace_security_bpf                              failure           
1152    2366     163          3300           0
test-v3.o  trace_security_bpf_map                          success           
1074    2324     149          1730        7519
test-v3.o  trace_security_bpf_prog                         failure            
465    1297      86          1897           0
test-v3.o  trace_security_bprm_check                       failure           
1148    2678     204          6351           0
test-v3.o  trace_security_bprm_creds_for_exec              success          
11275   28380    2031          3517       18155
test-v3.o  trace_security_file_ioctl                       failure            
671    1427      95          2257           0
test-v3.o  trace_security_file_mprotect                    success          
38868   70891    4991          7215       37239
test-v3.o  trace_security_file_open                        failure           
1208    2139     141         10138           0
test-v3.o  trace_security_file_permission                  success           
1651    2542     162          1799        7873
test-v3.o  trace_security_inode_mknod                      success           
1892    3694     219          2929       12760
test-v3.o  trace_security_inode_rename                     success           
2673    5816     344          4014       16957
test-v3.o  trace_security_inode_symlink                    failure            
503    1261      84          2906           0
test-v3.o  trace_security_inode_unlink                     success           
2447    4488     286          2971       12785
test-v3.o  trace_security_kernel_post_read_file            success           
9965   28494    2048          3682       18828
test-v3.o  trace_security_kernel_read_file                 success          
13696   29863    2116          3786       16926
test-v3.o  trace_security_mmap_file                        failure           
4228   11974     384          7406           0
test-v3.o  trace_security_path_notify                      success           
9457   28043    2054          3652       16370
test-v3.o  trace_security_sb_mount                         failure            
900    1266      85          3685           0
test-v3.o  trace_security_settime64                        success           
1149    2424     154          1801        7848
test-v3.o  trace_security_sk_clone                         success            
110      71       5            69         348
test-v3.o  trace_security_socket_accept                    success           
1523    2795     178          2152       10280
test-v3.o  trace_security_socket_bind                      failure            
700    1890     129          2000           0
test-v3.o  trace_security_socket_connect                   success           
1373    2659     170          1926        9193
test-v3.o  trace_security_socket_create                    success           
1302    2392     152          1744        7661
test-v3.o  trace_security_socket_listen                    success           
1355    2783     172          2051        9853
test-v3.o  trace_security_socket_recvmsg                   success            
826    1856     113          1359        6671
test-v3.o  trace_security_socket_sendmsg                   success           
1017    1856     113          1359        6671
test-v3.o  trace_security_socket_setsockopt                success           
1765    2840     178          2109       10075
test-v3.o  trace_security_task_setrlimit                   success           
1181    2408     154          1766        7781
test-v3.o  trace_set_fs_pwd                                failure            
551    1342      90          3679           0
test-v3.o  trace_sock_alloc_file                           success             
58      68       5            76         296
test-v3.o  trace_switch_task_namespaces                    success           
1671    2844     181          2060        9096
test-v3.o  trace_sys_enter                                 success           
1076    2344     151          1676        7330
test-v3.o  trace_sys_exit                                  success           
1151    2386     153          1683        7359
test-v3.o  trace_tracepoint_probe_register_prio_may_exist  failure            
461    1273      84          1946           0
test-v3.o  trace_utimes_common                             success          
13381   28968    2069          3755       16966
test-v3.o  trace_vfs_read                                  success             
39      27       1            29         139
test-v3.o  trace_vfs_readv                                 success             
36      27       1            29         139
test-v3.o  trace_vfs_utimes                                success          
15867   28968    2069          3755       16966
test-v3.o  trace_vfs_write                                 success             
38      27       1            29         139
test-v3.o  trace_vfs_writev                                success             
37      27       1            29         139
test-v3.o  tracepoint__cgroup__cgroup_attach_task          failure            
400    1249      82          1787           0
test-v3.o  tracepoint__cgroup__cgroup_mkdir                failure            
420    1253      82          1794           0
test-v3.o  tracepoint__cgroup__cgroup_rmdir                failure            
419    1253      82          1794           0
test-v3.o  tracepoint__exec_test                           success          
15166   32548    2319          5971       27254
test-v3.o  tracepoint__module__module_free                 failure            
690    1273      84          1854           0
test-v3.o  tracepoint__module__module_load                 failure            
898    1575     105          4008           0
test-v3.o  tracepoint__raw_syscalls__sys_enter             success             
33      30       2            29         234
test-v3.o  tracepoint__raw_syscalls__sys_exit              success             
55      41       3            36         270
test-v3.o  tracepoint__sched__sched_process_exec           failure            
699    2029     132          4243           0
test-v3.o  tracepoint__sched__sched_process_exit           success           
1207    2476     157          1791        7835
test-v3.o  tracepoint__sched__sched_process_fork           success           
5368    6713     401          5006       17921
test-v3.o  tracepoint__sched__sched_process_free           success             
56      46       3            46         255
test-v3.o  tracepoint__sched__sched_switch                 success           
1210    2478     157          1827        8046
test-v3.o  tracepoint__task__task_rename                   failure            
410    1246      82          1754           0
test-v3.o  uprobe_lkm_seeker                               success           
4442    9816     508          9813       46305
test-v3.o  uprobe_lkm_seeker_submitter                     failure            
336    1146      76          1400           0
test-v3.o  uprobe_mem_dump_trigger                         success            
700    1580     107          1389        5769
test-v3.o  uprobe_seq_ops_trigger                          failure            
329     905      58          2163           0
test-v3.o  uprobe_syscall_table_check                      success         
157258  495540    8469         12633       49492
test-v3.o  vfs_write_magic_enter                           success             
52      56       3            55         252
test-v3.o  vfs_write_magic_return                          failure            
674    1461      98          4441           0
test-v3.o  vfs_writev_magic_enter                          success             
54      56       3            55         252
test-v3.o  vfs_writev_magic_return                         failure            
788    1469      99          4450           0
---------  ----------------------------------------------  -------  
-------------  ------  ------  ------------  ----------
Done. Processed 1 files, 0 programs. Skipped 159 files, 0 programs.
```

As I said I haven't had the time to research this deeply, but I think that all 
cases are the result of kernel verifier getting less refutability from 32-bit 
jump instructions introduced in v3. But I might be wrong.

https://github.com/llvm/llvm-project/pull/107008
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to