Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed in linux 5.12 /net/ipv4/built_in.bc #3

Closed
xrivendell7 opened this issue May 20, 2023 · 1 comment
Closed

failed in linux 5.12 /net/ipv4/built_in.bc #3

xrivendell7 opened this issue May 20, 2023 · 1 comment

Comments

@xrivendell7
Copy link

Have you ever try the linux-5.12/net/ipv4/built-in.bc
I failed to produce the syz_describe_net_ipv4_****.txt
Here is the log:

info: Sat May 20 23:14:08 2023
info: Sat May 20 23:14:08 2023 : bitcode: /home/lxw/linux-5.12/net/ipv4/built-in.bc
info: Sat May 20 23:14:08 2023 : *************************************************
info: Sat May 20 23:14:08 2023 : ****************ReadIR***************************
info: Sat May 20 23:14:10 2023 : ****************check all function start*********
info: Sat May 20 23:14:12 2023 : ****************check all function end***********
info: Sat May 20 23:14:12 2023 : ****************indirect functions start*********
info: Sat May 20 23:14:13 2023 : ****************indirect functions end***********
info: Sat May 20 23:14:13 2023 : ********find_init_and_exit_function start********
info: Sat May 20 23:14:13 2023 : ********find_init_and_exit_function end**********
info: Sat May 20 23:14:13 2023 : knowledge json file: /home/lxw/experiments/SyzDescribe/config/knowledge.json
info: Sat May 20 23:14:13 2023 : print knowledge json file: /home/lxw/experiments/SyzDescribe/work/knowledge.json
info: Sat May 20 23:14:13 2023 : start our
info: Sat May 20 23:14:13 2023 : ****************analysis functions start*********
info: Sat May 20 23:14:13 2023 : ****************analysis functions end***********
info: Sat May 20 23:14:13 2023 : ****module_init_function_0 start*****************
info: Sat May 20 23:14:13 2023 : size: 1
info: Sat May 20 23:14:13 2023 : ****module_init_function_1 start*****************
info: Sat May 20 23:14:13 2023 : size: 0
info: Sat May 20 23:14:13 2023 : ****module_init_function_1s start*****************
info: Sat May 20 23:14:13 2023 : size: 0
info: Sat May 20 23:14:13 2023 : ****module_init_function_2 start*****************
info: Sat May 20 23:14:13 2023 : size: 0
info: Sat May 20 23:14:13 2023 : ****module_init_function_2s start*****************
info: Sat May 20 23:14:13 2023 : size: 0
info: Sat May 20 23:14:13 2023 : ****module_init_function_3 start*****************
info: Sat May 20 23:14:13 2023 : size: 0
info: Sat May 20 23:14:13 2023 : ****module_init_function_3s start*****************
info: Sat May 20 23:14:13 2023 : size: 0
info: Sat May 20 23:14:13 2023 : ****module_init_function_4 start*****************
info: Sat May 20 23:14:13 2023 : size: 2
info: Sat May 20 23:14:13 2023 : analysis_init_function: nexthop_init
info: Sat May 20 23:14:13 2023 : analysis_init_function: cipso_v4_init
info: Sat May 20 23:14:13 2023 : ****module_init_function_4s start*****************
info: Sat May 20 23:14:13 2023 : size: 0
info: Sat May 20 23:14:13 2023 : ****module_init_function_5 start*****************
info: Sat May 20 23:14:13 2023 : size: 2
info: Sat May 20 23:14:13 2023 : analysis_init_function: inet_init
info: Sat May 20 23:17:18 2023 : analysis_init_function: ipv4_offload_init
info: Sat May 20 23:17:18 2023 : ****module_init_function_5s start*****************
info: Sat May 20 23:17:18 2023 : size: 0
info: Sat May 20 23:17:18 2023 : ****module_init_function_6 start*****************
info: Sat May 20 23:17:18 2023 : size: 9
info: Sat May 20 23:17:18 2023 : analysis_init_function: reject_tg_init
info: Sat May 20 23:17:18 2023 : analysis_init_function: nf_defrag_init
info: Sat May 20 23:17:18 2023 : analysis_init_function: cubictcp_register
info: Sat May 20 23:17:18 2023 : analysis_init_function: sysctl_ipv4_init
info: Sat May 20 23:17:18 2023 : analysis_init_function: tunnel4_init
info: Sat May 20 23:17:18 2023 : analysis_init_function: iptable_mangle_init
info: Sat May 20 23:17:19 2023 : analysis_init_function: iptable_filter_init
info: Sat May 20 23:17:20 2023 : analysis_init_function: ip_tables_init
info: Sat May 20 23:17:20 2023 : analysis_init_function: gre_offload_init
info: Sat May 20 23:17:20 2023 : ****module_init_function_6s start*****************
info: Sat May 20 23:17:20 2023 : size: 0
info: Sat May 20 23:17:20 2023 : ****module_init_function_7 start*****************
info: Sat May 20 23:17:20 2023 : size: 2
info: Sat May 20 23:17:20 2023 : analysis_init_function: ip_auto_config
info: Sat May 20 23:17:20 2023 : analysis_init_function: tcp_congestion_default
info: Sat May 20 23:17:20 2023 : ****module_init_function_7s start*****************
info: Sat May 20 23:17:20 2023 : size: 0
info: Sat May 20 23:17:20 2023 : ****module_init_function_init_module start*****************
info: Sat May 20 23:17:20 2023 : size: 0
info: Sat May 20 23:17:20 2023 : ****init function statistic start****************
info: Sat May 20 23:17:20 2023 : init_function_with_driver: 0
info: Sat May 20 23:17:20 2023 : init_function_with_device: 0
info: Sat May 20 23:17:20 2023 : init_function_with_driver_device: 0
info: Sat May 20 23:17:20 2023 : ****init function statistic end  ****************
info: Sat May 20 23:17:20 2023 : ****handle_init_function_with_driver_device start*******************
info: Sat May 20 23:17:20 2023 : ****handle_init_function_with_driver_device end*******************
info: Sat May 20 23:17:20 2023 : end our

I saw you have the describe file with allyesconfig v5.12 kernel but wonder why missing this built_in.bc
What maybe the problem in generate the syzlang with this folder generated bytecode file

@ZHYfeng
Copy link
Collaborator

ZHYfeng commented May 25, 2023

Hi, currently SyzDescribe only supports the Character and Block device drivers~(e.g., open(), ioctl()). For the net device driver~(e.g., socket(), sendmsg()), please wait for my next update. I guess I can make it this year.

@ZHYfeng ZHYfeng closed this as completed Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants