-
Notifications
You must be signed in to change notification settings - Fork 6
Tmux #8
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
Comments
How come you need
|
Well, the standard |
At least on my machine that is inside a |
Yeah, I didn't check where and how that is defined, but for some reason it is in the header (although conditionally). If there was no use to that, why would it even be conditionally in there. |
Idk, maybe for other compilers? If it is necessary I can also add support to CIL where But I don't really see the point if it will always be false for GCC, which is the only compiler we want to support. |
I thought about it, but I'm not sure if or how the headers get shared between compilers because on my system at least that Also, I just noticed # if !__GNUC_PREREQ (7, 0) || defined __cplusplus
# error "_Float128x supported but no type"
# endif No idea what that means. It is supported, but also doesn't have a type? And it triggers a compiler error? I suspect you might be right that it isn't actually needed, but we'll find out once we try to build the projects with the CIL PR. |
With the added support for additional float types (goblint/cil#60) and by using the compilation database support in goblint, the parsing is successful:
|
To get it to work with
|
Combined |
I left it running overnight with Results are:
We have ~260 instances of Complete log: tmux.txt |
Also, |
Uh oh!
There was an error while loading. Please reload this page.
Attempt:
./goblint -v [path to tmux repository]/Makefile
sh autogen.sh && ./configure && make CC="cilly --gcc=/usr/bin/gcc --merge --keepmerged" LD="cilly --gcc=/usr/bin/gcc --merge --keepmerged"
Problems and Workarounds:
_Float32
,_Float64
,_Float32x
,_Float64x
and_Float128x
)error:
usr/include/stdlib.h
:usr/include/x86_64-linux-gnu/bits/stdlib.h
:If one turns off the gcc option
FORTIFIED_SOURCE
with./goblint -v --set cppflags[+] -D_FORTIFY_SOURCE=0 [path to tmux repository]/Makefile
cilly combines the files without any errors and the analysis is started.
FORTIFY_SOURCE
is implicitly enabled (and set to 2) with the activation of optimization level 2 (-O2
) in the tmux Makefile.The text was updated successfully, but these errors were encountered: