lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Wed, 31 Jul 2019 16:18:35 +0200
From:   Mark Vegans <ihavenomoneybuthope@...il.com>
To:     linux-kernel@...r.kernel.org
Subject: cannot build with no-inline-functions

Hi *,
I'm analyzing the linux kernel via phasar static analyzer framework,
it basically takes as input an LLVM IR file.
For debugging reasons, I would like to compile the kernel without
inlined functions. I'm compiling the kernel by clang, so I tried to
specify the following compiler flags:

```
-fno-inline-functions
-O1
```

Those were specified via KCFLAGS keyword in the root Makefile, I
generated the compile_commands.json file as well where I can see that
those flags above were used for the building process.

Unfortunately it did not work as I wanted, in the resulting LLVM IR I
still see inlined functions.
Is it possible to avoid inlined functions for the whole kernel via a
compiler flag? or any other suggestions?

thanks,
cheers

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ