Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] paper on speculative analysis of C/C++ code?"
2012 Jun 18
0
[LLVMdev] paper on speculative analysis of C/C++ code?
At some point while browsing the LLVM web site, I stumbled across a
paper that discussed using LLVM with an analysis technique that
used dataflow analysis and generated speculative data for code.
They used the technique on binutils and found a number of errors in
that package.
Does anyone recall the specific paper/system so that I can revisit it?
I tried a number of google searches but I keep
2014 Apr 07
3
[LLVMdev] Why "I = ++I" instead of "++I" in COFFDump.cpp ?
Oops, meant to send this to the mailing list instead of to Reid
privately. (Why cc the mailing list instead of just sending to the
mailing list?)
In article <CACs=tyJ6zaHeiS0eNhBkdcZE--JY4k7yH9_P1yFbGqod6uymMw at mail.gmail.com>,
Reid Kleckner <rnk at google.com> writes:
> Looks like a bug. This can probably be simplified with C++11.
>
> On Fri, Apr 4, 2014 at 10:39
2013 Jul 14
3
[LLVMdev] Windows reviewers still needed?
I watched some LLVM videos yesterday and there was one where Chandler
Carruth was saying that LLVM/clang needed more Windows savvy
developers to review patches.
Is this still the case? If so, how do I contribute?
--
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
The Computer Graphics Museum <http://computergraphicsmuseum.org>
The
2013 Jul 23
1
[LLVMdev] [Patch] WinCOFFObjectWriter: fix for storing pointer to string table in header name field
In article <CACs=ty+7zKZU6Ad4jZ5J5Rb0qoMa-bNtO0f+xK_8SYfy3RyFbg at mail.gmail.com>,
Reid Kleckner <rnk at google.com> writes:
> Is there a problem if the string is not null terminated? If not, you can
> snprintf it right into place instead of doing sprintf+mempcy.
Am I the only one who scratches my head and says:
sprintf?
memcpy?
Why are we using error-prone C APIs in
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
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
--
2013 Mar 16
2
[LLVMdev] internal compiler error when compiling llvm-gcc-4.2-2.9
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:-)
Hongxu Chen
On Sat, Mar 16, 2013 at 3:35 PM, 陳韋任 (Wei-Ren Chen) [via LLVM] <
ml-node+s1065342n56013h94 at n5.nabble.com> wrote:
> Hi Chen,
>
>
2010 Dec 21
2
[LLVMdev] complex numbers with LLVM
Hi,
I'm working on a project to generate native code for a domain specific
langauge where the user defines functions in the complex plane. This
implies that I need to support complex numbers as a datatype with
LLVM. Its fairly straightforward to create a struct of two floats (or
doubles, etc.) and do the simple operations like add, subtract,
multiply, divide, etc.
However, things get
2013 Jul 23
0
[LLVMdev] [Patch] WinCOFFObjectWriter: fix for storing pointer to string table in header name field
Is there a problem if the string is not null terminated? If not, you can
snprintf it right into place instead of doing sprintf+mempcy.
On Tue, Jul 23, 2013 at 12:29 PM, Paweł Bylica <pawel.bylica at ibs.org.pl>wrote:
> Hi,
>
> Recently I was hit by an assert in WinCOFFObjectWriter that had forbidden
> storing pointer to string table in header name field when the pointer had
2013 Jul 23
0
[LLVMdev] [Patch] WinCOFFObjectWriter: fix for storing pointer to string table in header name field
On Tue, Jul 23, 2013 at 12:48 PM, Nico Rieck <nico.rieck at gmail.com> wrote:
> On 23.07.2013 18:43, Reid Kleckner wrote:
>
>> Is there a problem if the string is not null terminated? If not, you can
>> snprintf it right into place instead of doing sprintf+mempcy.
>>
>
> snprintf always null-terminates (and truncates if there's not enough
> space).
2014 Apr 04
3
[LLVMdev] Why "I = ++I" instead of "++I" in COFFDump.cpp ?
tools/llvm-objdump/COFFDump.cpp has two loops that advance the loop iterator using "I = ++I" instead of the usual "++I". For example:
import_directory_iterator I = Obj->import_directory_begin();
import_directory_iterator E = Obj->import_directory_end();
if (I == E)
return;
outs() << "The Import Tables:\n";
for (; I != E; I = ++I) {
2013 Jul 23
4
[LLVMdev] [Patch] WinCOFFObjectWriter: fix for storing pointer to string table in header name field
On 23.07.2013 18:43, Reid Kleckner wrote:
> Is there a problem if the string is not null terminated? If not, you can
> snprintf it right into place instead of doing sprintf+mempcy.
snprintf always null-terminates (and truncates if there's not enough space).
-Nico
2013 Jul 23
4
[LLVMdev] [Patch] WinCOFFObjectWriter: fix for storing pointer to string table in header name field
Hi,
Recently I was hit by an assert in WinCOFFObjectWriter that had forbidden
storing pointer to string table in header name field when the pointer had
more that 6 decimal digits. This limit had been chosen to make
implementation easier (sprintf adds null character at the end) and could be
increased to 7 digits.
My patch is attached. The implementation uses additional buffer on the
stack to make
2014 Feb 03
3
[LLVMdev] llvm-reviews as llvm.org
Renato Golin wrote:
> On 2 February 2014 21:59, Sylvestre Ledru <sylvestre at debian.org
> <mailto:sylvestre at debian.org>> wrote:
>
> Maybe I missed a thread but is there any plan to rename
> http://llvm-reviews.chandlerc.com/ to
> a llvm.org <http://llvm.org> address ?
>
>
> +1.
>
> Though, I can't push more work unto others, so
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
2014 Apr 08
2
[LLVMdev] Why "I = ++I" instead of "++I" in COFFDump.cpp ?
On Mon, Apr 7, 2014 at 12:09 PM, Joerg Sonnenberger <joerg at britannica.bec.de
> wrote:
> On Mon, Apr 07, 2014 at 08:38:58AM -0600, Richard wrote:
> > Oops, meant to send this to the mailing list instead of to Reid
> > privately. (Why cc the mailing list instead of just sending to the
> > mailing list?)
> >
> > In article <CACs=
>
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
```