search for: wllvm

Displaying 10 results from an estimated 10 matches for "wllvm".

Did you mean: llvm
2019 Jan 13
2
Convert commands in make to llmv commands for code analysis
This URL mentions using LLVM IR to perform code analysis. https://stackoverflow.com/questions/9939794/how-to-use-llvm-to-generate-a-call-graph But the first problem to solve is how to convert the commands used in Makefiles to the corresponding LLVM commands. https://pastebin.com/RcnA14Qa The above URL shows the makefile screen output from the bash source code. Where `gcc -c`, `gcc` (link with
2013 Sep 21
1
[LLVMdev] Problem with intrinsics
Hi, I faced the following problem when trying to use klee over the llvm format file formed after using wllvm. Does there exist any solution to this? LLVM ERROR: Code generator does not support intrinsic function 'llvm.objectsize.i32'! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130921/3be01401/attachmen...
2019 Dec 18
2
Missing code depending on a #ifdef within the .ll file
Hi all, I have managed to compile libpng using wllvm and obtain the IR of pngpixel ( small tool which is part of libpng ). libpng has a function called png_check_IHDR: void /* PRIVATE */ png_check_IHDR(png_const_structrp png_ptr, png_uint_32 width, png_uint_32 height, int bit_depth, int color_type, int interlace_type, int compression_type,...
2019 Dec 18
2
Missing code depending on a #ifdef within the .ll file
...when the define is true/false, etc) in an > unreachable ifdef, so it doesn't make sense to compile it. > > On Wed, Dec 18, 2019 at 2:09 PM Alberto Barbaro via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > >> Hi all, >> I have managed to compile libpng using wllvm and obtain the IR of >> pngpixel ( small tool which is part of libpng ). >> >> libpng has a function called png_check_IHDR: >> >> void /* PRIVATE */ >> png_check_IHDR(png_const_structrp png_ptr, >> png_uint_32 width, png_uint_32 height, int bit_depth, &g...
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
2019 Oct 10
2
Is it possible to generate a whole kernel bitcode for Linux using clang?
...GOTOs, it is now possible to compile the latest Linux kernel with clang without any modification. However, is it possible to generate a single bitcode for the whole Linux kernel? Earlier approaches would involve hacks, like compiling separate bitcode files and then linking with llvm-link, or using wllvm, or using some other wrapper. Frequently, the resulting bitcode was not functional due to different parts being missing. Did that situation change at all? Can we generate a function, monolithic, self-contained bitcode using something like libLTO? Any help would be appreciated. -- JT ------------...
2018 Nov 08
4
LLVM Call Graph may not cover all calls
Hi there, I am working with opt-6.0 and try to generate a call graph of libsndfile, but it seems the call graph doesn't cover all call relationship. Actually, I am doing static analysis on *CVE-2014-8130*, which is a zero division on libtiff/tif_write.c TIFFWriteScanline. (see https://security-tracker.debian.org/tracker/CVE-2014-8130) Theoretically, the main function in
2020 Aug 28
4
End-to-end -fembed-bitcode .llvmbc and .llvmcmd
You should probably pull in some folks who implemented/maintain the feature for Darwin. I guess they aren't linking this info, but only communicating in the object file between tools - maybe they flag these sections (either in the object, or by the linker) as ignored/dropped during linking. That semantic could be implemented in ELF too by marking the sections SHF_IGNORED or something
2019 Jan 31
3
[RFC] Support embedding bitcodes in LLD with LTO
Thanks for your response! On 30/01/2019 20:18, Rui Ueyama wrote: > Hi Josef, > > Let me clarify my understanding. Do you want to keep original bitcode > files in the output executable when doing LTO, so that the resulting > executable contains both compiled bitcode (which is in native machine > instructions) and original bitcode files? Exactly! Kind of analogous to what
2016 Mar 11
6
big module for a project
Hi All, I am using clang to compile Mysql source code. Because I want to do some inter-procedural analysis, hopefully, I want to get a .o(bitcode) file(a module) containing all possible function declarations and definitions. Is it possible to do that ? Or you guys have some suggestions? To be clear, like Mysql, there is a mysqld routine, which is a major routine. I want to mysqld.o(which is