Displaying 20 results from an estimated 1000 matches similar to: "Undefined method stub"
2006 Jan 21
4
Migrations and Time datatype. Bug?
I''ve defined a table with these columns
t.column "some_date", :date, :null => false
t.column "some_time", :time, :null => false
The result in schema.rb is
t.column "some_date", :date, :null => false
t.column "some_time", :time, :default => Sat Jan 01 00:00:00 GMT
Standard Time 2000, :null => false
The time column generates a
2005 Mar 05
3
Asterisk for Live-Stream?
I'm looking into solutions for providing a live stream of an event in
Belgium [1] - for example, as follows:
* Event --> mobile phone --> software answering machine --> Internet
server
* Event --> mobile phone --> VOIP --> Internet server
The live stream should be available in a format so that people can
listen to it using XMMS or similar software.
Comments? Would
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 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
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
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
```
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
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
2013 May 03
1
[LLVMdev] [klee-dev] GSoC Proposal: automatic function level testing
Hello, probably it is too late to be involved in GSoC, by I want discuss
following idea:
KLEE can generate tests only for main function level without any
modifications of original code.
It passes args specified by command line.
I want implement automatic testcase generation for any imported function
from tested code without its modification.
First: parsing test code would collect input/output
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
2014 Jul 16
3
[LLVMdev] Dragonegg 2.9 Cannot load plugin
Hi,
I'm using KLEE which supports only LLVM-2.9. In order to compile some
c++ file which requires gcc 4.5, I built Dragonegg 2.9 with LLVM-2.9
and gcc 4.5.1 on a Linux x86_64 machine. It was sucessfully built.
When I try to compile a c++ file using this plugin as below
gcc test.cpp -fplugin=path/dragonegg.so
I got this error:
cc1plus: error: Cannot load plugin path/dragonegg.so
2006 May 10
2
Why different directory sizes?
I just discovered two directories with the same number of files and the same
number of hard links but different size:
# stat /home/david/linuxburg/fax.old/docq_ps.nnnn \
/hdsync/home/david/linuxburg/fax.old/docq_ps.nnnn
File: `/home/david/linuxburg/fax.old/docq_ps.nnnn'
Size: 8192 Blocks: 16 IO Block: 4096 directory
Device: 801h/2049d Inode: 52060
2006 Jan 30
1
df reports false size
On a customer's machine running SuSE 9.2, the size of the occupied space on
the harddisk is reported incorrectly by "df -h". After we noticed the
problem, I rebooted the machine and had it checked by "e2fsck" (check forced
with "tune2fs -C 40", we are not on location). Right after the reboot I
proceeded as follows, but I could not find any information about
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
2013 Dec 17
3
[LLVMdev] How to do bitcode archive linking correctly?
Hi,
We're currently upgrading KLEE to work with LLVM >=3.3 and we've hit a problem.
It seems r172749 removed support for linking a bitcode archive into a
module. KLEE unfortunately depends on this to link in its runtime (
which amongst other things provides a C library [5] ).
A first attempt at linking in a bitcode archive ourselves can be seen in [1].
This approach does not work
2014 Nov 05
3
[LLVMdev] How to lower the intrinsic function 'llvm.objectsize'?
Thanks for your reply.
I'm attempting to expand KLEE to support this intrinsic function.
That's why I need to handle this myself.
According to the reply, the correct implementation should first find the
definition of the object and then determine the
size of the object.
BTW, can I just refer to the implementation in InstCombineCalls.cpp.
On Wed, Nov 5, 2014 at 2:24 PM, Matt Arsenault
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,
>
>
2014 Apr 24
3
[LLVMdev] getMetadata(“dbg”) returns NULL
Hi,
getMetadata(“dbg”) returns NULL for such a small program as follows:
int main(){
char a[10], b[2];
if(a[0] != 0 && a[1] != 0){
strcpy(a, b);
}
return 0;
}
The compiling command is: llvm-gcc --emit-llvm -g -c ./src.c
I also tried the solutions I found through Google:
http://stackoverflow.com/questions/14943447/llvm-line-number-of-an-instruction
2007 Sep 06
5
Removing/overriding/unstubbing a stub?
We''re using Mocha stubs to stub out a slow-performing network request in
a Test::Unit class. But naturally, we don''t want to stub it out in the
few tests that actually verify the functionality of that network request.
Is there a way to do the stub in "setup", but override it for the few
tests that need the original functionality?
(I realize that in this case, the
2016 Jan 14
4
LLVM-LIT config documentation?
Dear all,
Recently I've considering using LIT for my benchmark testing framework, and
the only reference for LLVM-LIT is the man page and some READMEs. I don't
find any documentations on config, which seems to be quite important to the
tool. If I use lit outside LLVM source tree and use on my own test files,
LIT marks them as 'unresolved'.
So are there any documentations I can