search for: liballoc

Displaying 9 results from an estimated 9 matches for "liballoc".

Did you mean: libtalloc
2017 Apr 26
2
Contributing a new sanitizer for pointer casts
...ame would hold for the gold plugin... LLVM/clang's involvement is mostly just to do the instrumentation, which is a pretty well-isolated task. The allocation site metadata I just mentioned is probably the only change-prone thing. Of course, there is a problem of breakage/churn in the libcrunch/liballocs stuff... in particular, things like new DWARF features can break things. I have no good answer to that, except that more hands make light(er) work. > How will the feature be tested? On that, I have no idea, and I'd have to take your lead on that. To make an analogy with another out-of-tr...
2017 Apr 25
2
Contributing a new sanitizer for pointer casts
...hack to propagate certain type info (in uses of "sizeof") onwards to LLVM so it can be used in a data-flow analysis. - Hints from the programmer: these are necessary to declare allocation functions, besides standard ones (malloc etc.). This is currently done with an environment variable (LIBALLOCS_ALLOC_FNS) though I've thought of adding a command-line option too. These declarations have effect at both compile and link time. - Compiler wrapper and helper tools: currently a mixture of shell, Python and C++ helpers building on a pile of my own libraries (libdwarfpp, dwarfidl, liballocsto...
2009 Oct 18
0
[LLVMdev] Build errors for vmkit
Dear Michael, The symbols that are said undefined by the compiler live in libAllocator.a. That file should be in Release/lib/, do you have it? It is possible that the compiler has linking order problems. What is the version of your gcc? You can try changing the link order of the make command by editing tools/vmkit/Makefile. Also, you should know that the GC of vmkit does...
2009 Oct 17
3
[LLVMdev] Build errors for vmkit
Hi, I can't seem to get VMKit to compile correctly. I'm on a 64 bit Jaunty system. I compiled llvm and llvm-gcc from the subversion source no problem, but when I try to compile VMKit I get some issue with GCAllocator: /home/mmwu/Download/llvm$ ./configure /home/mmwu/Download/llvm$ make ENABLE_OPTIMIZED=1 /home/mmwu/Download/llvm$ make ENABLE_OPTIMIZED=1 install ...
2020 Aug 18
0
[PATCH nbdkit 2/9] build: On Windows only, link all plugins and filters with -lnbdkit.
...INED_ON_WINDOWS) \ diff --git a/plugins/data/Makefile.am b/plugins/data/Makefile.am index de6e80bb..f4684915 100644 --- a/plugins/data/Makefile.am +++ b/plugins/data/Makefile.am @@ -62,6 +62,7 @@ nbdkit_data_plugin_la_LDFLAGS = \ nbdkit_data_plugin_la_LIBADD = \ $(top_builddir)/common/allocators/liballocators.la \ $(top_builddir)/common/utils/libutils.la \ + $(LINK_LIBNBDKIT_ON_WINDOWS) \ $(GNUTLS_LIBS) \ $(NULL) diff --git a/plugins/eval/Makefile.am b/plugins/eval/Makefile.am index 4ea8d7d4..4b2aa598 100644 --- a/plugins/eval/Makefile.am +++ b/plugins/eval/Makefile.am @@ -65,6 +65,7 @@ nbd...
2017 Apr 04
8
[RFC] Design of a TBAA sanitizer
Hi everyone, At EuroLLVM, Chandler and I chatted about the design for a potential TBAA sanitizer. Here's my attempt to summarize: C/C++ have type-based aliasing rules, and LLVM's optimizer can exploit these given TBAA metadata added by Clang. Roughly, a pointer of given type cannot be used to access an object of a different type (with, of course, certain exceptions). Unfortunately,
2020 Aug 18
15
[PATCH nbdkit 0/9] Port to Windows.
Also available here: https://github.com/rwmjones/nbdkit/tree/2020-windows-mingw This is the port to Windows using native Windows APIs (not MSYS or Cygwin). This patch series is at the point where it basically now works. I can run the server with the memory plugin, and access it remotely using guestfish, creating filesystems and so on without any apparent problems. Nevertheless there are many
2017 Apr 10
2
[RFC] Design of a TBAA sanitizer
...; (OOPSLA '16) > <http://www.cl.cam.ac.uk/~srk31/#oopsla16a> > > - "Towards a dynamic object model within Unix processes" (Onward '15) > <http://www.cl.cam.ac.uk/~srk31/#onward15> > > ... or code if you prefer: > <https://github.com/stephenrkell/liballocs> > <https://github.com/stephenrkell/libcrunch> > <https://github.com/chrisdiamand/clangcrunch>. -- Hal Finkel Lead, Compiler Technology and Programming Languages Leadership Computing Facility Argonne National Laboratory
2020 Aug 20
15
[PATCH nbdkit 0/13] Port to Windows without using a separate library.
Also available here: https://github.com/rwmjones/nbdkit/tree/2020-windows-mingw-nolib After a lot of work I have made the port to Windows work without using a separate library. Instead, on Windows only, we build an "import library" (library of stubs) which resolves references to nbdkit_* functions in the main program and fixes up the plugin, basically the first technique outlined in