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

Symbolize global variables #2

Open
zhangzhenghsy opened this issue May 8, 2022 · 2 comments
Open

Symbolize global variables #2

zhangzhenghsy opened this issue May 8, 2022 · 2 comments

Comments

@zhangzhenghsy
Copy link
Owner

Currently some global variables in llvm bc files are initialized to Null, it will result in some incorrect results
For example, in file_system_type() function ( https://elixir.bootlin.com/linux/v5.5-rc5/source/fs/filesystems.c#L52 )
file_systems is null in the bc file, and the loop will be skipped and null pointer is returned directly. It will terminate the following execution

Currently, let's symbolize the global variables which equal null first? Maybe we need to symbolize more global variables later

test case, /home/zzhan173/repos/Linux_kernel_UC_KLEE/configs/find_filesystem.json

@ZHYfeng
Copy link
Collaborator

ZHYfeng commented May 8, 2022

d8b7797

@zhangzhenghsy
Copy link
Owner Author

Note: now we symbolize all non-constant global variables

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