Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] How to prevent optimizations and preserve program variables during link?"
2013 Jun 06
0
[LLVMdev] klee linker problem
Hi,
The klee library directory is determined at compile time and cannot be
changed afterwards. Have a look at tools/klee/main.cpp to see how it is
computed.
I usually use Klee without any install step, right from the build
directory. This has never given me the error you see.
Hope this helps,
Jonas
On Wed, Jun 5, 2013 at 5:26 PM, Alexandru Ionut Diaconescu <
alexandruionutdiaconescu at
2010 Apr 22
0
[LLVMdev] problem when building coreutil
Hi all,
I'm new to llvm and klee. Now I'm trying to build up coreutil with klee.
Following the steps online (http://klee.llvm.org/TestingCoreutils.html), I
went to step 3 and stuck.
When I try to run:
klee --libc=uclibc --posix-runtime ./cat.bc -version
Error occurred like:
klee: error: Cannot find linker input '/lib/libc.a'
klee: ModuleUtil.cpp:42: llvm::Module*
2013 Jun 05
2
[LLVMdev] klee linker problem
Hello everyone,
I am a novice with KLEE under LLVM. I am trying to build a KLEE project (on
a new LLVM environment) and I have the following problem:
echo Testing...
Testing...
echo There should be no assertion fails!
There should be no assertion fails!
klee -taint=direct taint_direct.o
KLEE: output directory = "klee-out-8"
klee: error: Cannot find linker input
2015 Dec 15
2
Trouble supressing ASAN reported leaks
Hi,
I'm currently trying to find and fix memory leaks (compiling with
``-fsanitize=address``) in the KLEE tool [1] an having found some
leaks and I'm having trouble suppressing them.
I'm trying to suppress them using the
``-fsanitize-blacklist=blacklist.txt`` option as documented at
[2]. I'm using Clang 3.7 ( Arch Linux package 3.7.0-6).
The sort of reported leaks I see are
```
2013 Dec 20
0
[LLVMdev] [LLVM] What has happened to LLVM bitcode archive support?
> Excuse me for the diversion but, is that interpreter of LLVM IR available
> somewhere? Details on how it works, performance, etc? I'd be interested
Yes it is available. The tool (KLEE [1]) is actually a lot more than
an interpreter (although it can be used as one). KLEE allows you to
mark certain variables (e.g. program inputs) as "symbolic". What this
means is that the
2019 Jul 06
2
Seeking suggestions about interfacing of LLVM DataFlowSanitizer library with KLEE in C code.
Dear Developers,
I am a Master's student at the ECE department of the University of Florida, USA. For my research project, supervised by Prof. Mark Tehranipoor<http://tehranipoor.ece.ufl.edu/> and Prof. Farimah Farahmandi<http://farimah.ece.ufl.edu/>, I need to use Clang LLVM DataflowSanitizer library in KLEE. However, I have faced some difficulties (explained below) while
2009 Aug 13
1
[LLVMdev] vmkit and klee
Hi,
I am trying to evaluate how complex would be to modify KLEE ( http://klee.llvm.org/
) so that it can run LLVM bitcode compiled from Java code obtained
with vmjc (from the VMKIT project). Your feedback will be very
appreciated.
I am familiar with KLEE but I would like to know more about VMKIT, so
please point me to the right docs/source code if appropriate.
After a quick look over
2012 Oct 25
0
[LLVMdev] [klee-dev] Linearizability
Hi Andreas,
Cloud9 is a project that has an extensive POSIX environment model
which also lets you symbolically execute multithreaded programs. It is
based on KLEE.
http://dslab.epfl.ch/pubs/cloud9.pdf
Portend builds on top of Cloud9 to perform race detection/classification:
http://dslab.epfl.ch/pubs/portend.pdf
Cloud9 code base is also public, it might be of interest to you:
2015 Apr 07
3
[LLVMdev] any linux distro with llvm/clang/klee packages available
Are there any "current" Linux distros that have installable packages
for llvm, clang, nad klee?
I am struggling to get klee built and need a working klee setup asap.
Thanks in advance,
Donald
2012 Sep 14
0
[LLVMdev] Problem using llvm::cl::bits class with gcc 4.7
Hi,
I'm currently working on the KLEE tool that uses LLVM (2.9 because that's
what KLEE currently uses) and in particular I'm having an unexpected
problem with the llvm::cl::bits class. I try something like this...
enum testx
{
A,B
};
cl::bits<testx> queryLoggingOptions("option",cl::values(
clEnumVal(A,"this is a"),
2013 Feb 06
1
[LLVMdev] Modifying the support CommandLine Library to support option categories and iteration over registered options
Hi,
I'm a contributor to the KLEE project (based on LLVM) and I'm
currently looking at trying to add the following functionality to
KLEE...
(1). Be able to iterate through registered command line options and
programmatically hide them. We're interested in this because we wish
to hide (unless -help-hidden is called) several LLVM options.
(2). Be able to place an option into a category
2013 Jun 04
0
[LLVMdev] generate ponter/array access bounds expressions
What did you mean by "array access bounds expressions"?
If you want to do something along the lines of constraint-based bounds check elimination, you can check out SAFECode.
I don't think KLEE would be very useful for proving the safety of memory accesses, rather the lack thereof. Also, KLEE doesn't handle symbolic array sizes.
If you can give more details about your project,
2014 Aug 22
1
LMTP and passdb deny=yes not working
Hi all,
I start this on in a new thread. I setup the deny-user setting to
temporarily prevent users from logging in and (that would be great) also
stop mail delivery for said user. All this is because of our upcoming
migration.
Now it seems that lmtp is ignoring this setting. This is from the logfile:
Aug 21 13:01:00 klee dovecot: lmtp(pid): Connect from IP
Aug 21 13:01:00 klee dovecot:
2007 Aug 29
5
Undefined method stub
When I try to execute the following example, I get an error message:
/usr/local/lib/ruby/gems/1.8/gems/mocha-0.5.4/lib/mocha/object.rb:40:
in `expects'': undefined method `stub'' for nil:NilClass (NoMethodError)
from test8.rb:5
What could be the reason? I tried with the latest Mocha Ruby gem, and I
also tried it with the Rails plugin.
The example:
require
2018 Jul 15
2
Bitcode generated with LLVM 7.0 used in LLVM 3.4
Hi
I need a concolic execution framework based on LLVM. As far as I know, KLEE
might be the best choice. However, KLEE(the stable version) is based on
LLVM 3.4.
I compiled my code with the latest LLVM, whose version is 7.0. Anyone know
whether the bitcode could be used by KLEE. Or do I have to compile with the
old version of LLVM again. Furthermore, if you have any other concolic
execution
[LLVMdev] Help with LLVM Bitcode function inlining and duplicating debug information on instructions
2013 Aug 30
1
[LLVMdev] Help with LLVM Bitcode function inlining and duplicating debug information on instructions
Hi,
I'm working on a tool (KLEE) that interprets LLVM bitcode.
One of the things it does is it instruments the LLVM bitcode with
checks for division by zero. It does this by injecting calls to a
function "klee_div_zero_check(long long divisor)" just before every
division instruction (e.g. SDiv). These checks are injected by a pass
that has been implemented in KLEE.
This
2015 Apr 06
3
[LLVMdev] uCLibc support for klee
Hello,
In my reading over the last couple of days, I have read that in order
for klee to work with "native" Linux programs, I need to install the
uClibc posix support for klee.
I am not finding the uClibc source in the llvm svn repository anywhere.
Is this still necessary for testing native Linux applications, and if
so, where do I get the uClibc source to compile?
Thanks in
2013 Mar 18
0
[LLVMdev] internal compiler error when compiling llvm-gcc-4.2-2.9
On Sat, Mar 16, 2013 at 06:16:01AM -0700, Hongxu Chen wrote:
> Thanks for your help, Wei-Ren and Anton.
>
> However since I am doing some experiments with klee(http://klee.llvm.org/
> GetStarted.html) and llvm-gcc seems to have better compatibility with it. So I
> still hope that I can use llvm-gcc:-)
Seems you already found the answer on klee ML. :)
Regards,
chenwj
--
2016 Feb 11
3
Buildling with/without AddressSanitizer causes divergent execution behaviour
Hi Kostya & Yury,
Thanks for the advice.
On 9 February 2016 at 22:48, Kostya Serebryany <kcc at google.com> wrote:
> Hi Dan,
>
> On Tue, Feb 9, 2016 at 10:57 AM, Dan Liew <dan at su-root.co.uk> wrote:
>>
>> Hi,
>>
>> # TL;DR
>>
>> I've been building an application with and without the address
>> sanitizer (with gcc 5.3 and
2013 Oct 30
1
[LLVMdev] how can I compile gnu find utilities
Hi,
I want to compile gnu utility 'find' to get an executed *.bc file, so I use
the following commands:
./configure CC=/path/to/llvm-gcc LD=/path/to/llvm-ld
make
make install
However, at the end I did not get any *.bc file, and the generated file
'find' is said to "Invalid bitcode signature". where is the error, and what
should I do? Thank you all.
noviceup