Coder Social home page Coder Social logo

codespecs / fjalar Goto Github PK

View Code? Open in Web Editor NEW
26.0 26.0 10.0 107.67 MB

A dynamic analysis framework for C and C++ programs

Home Page: https://codespecs.github.io/fjalar/

Makefile 0.61% Shell 0.28% C 94.53% C++ 1.21% Perl 0.44% Assembly 1.61% XSLT 0.11% CSS 0.02% HTML 0.18% TeX 0.19% Python 0.03% M4 0.37% GDB 0.04% Roff 0.01% Emacs Lisp 0.01% JavaScript 0.37% Awk 0.01%

fjalar's People

Contributors

markro49 avatar mdernsta avatar mernst avatar satbekmyrza avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

fjalar's Issues

Need better fix for global static members issue

There are several UNDONEs in generate_fjalar_entries.c, typedata.c and ?(other 
files)? relating to a problem caused by a change in the DWARF info for global 
static members.  I've gotten it to work, but had to comment out a couple of 
data integrety asserts - that is not a good thing.  See generate_fjalar_entries 
lines 918, 1043, 2107 and typedata.c line 2200

Original issue reported on code.google.com by [email protected] on 5 Aug 2013 at 10:07

option --dyncomp-print-inc causes seg fault

(don't remember if any time the options is used or certains test case(s))
seems to be around line 222 in kvasir_main.c.  I have a note that says when I 
fixed that is then got an assert in decls-output.c (around 484)

Original issue reported on code.google.com by [email protected] on 5 Aug 2013 at 10:52

Developer notes should have section on clean-output.pl

compiler changes or platform changes may require clean-output.pl to be 
modified. This file is located in daikon/tests/kvasir-tests.  (Also in 
dyncomp-tests, but while I have not used it, I think it is different.)  It 
contains address ranges that map into STATIC, HEAP, and STACK.  This is done to 
simplify comparing to goal files.

Original issue reported on code.google.com by [email protected] on 5 Aug 2013 at 10:45

Instrumenting local variables

How can I instrument local variables in functions? The documentation states 
that fjalar doesnt provide support for it yet, but it can be extended easily. 
Can anyone suggest how can this be done?

I want to put a random value into some variables during runtime by 
instrumentation. Can that be done with fjalar?

Original issue reported on code.google.com by [email protected] on 5 Jun 2015 at 10:34

Segmentation fault while running kvasir-dtrace

I'm using the latest Fjalar/Kvasir version compiled from source and gcc 9.4.0

While trying to execute Kvasir on a project involving data structures pulled from the linux kernel I am running into issues with data_member_location being equal for different members and causing a segmentation fault inside of an assertion in generate_fjalar_entries.c.

To illustrate the issue I have created a minimal example resulting in the same Kvasir failure:

// test.c
// gcc -gdwarf-2 -no-pie -O0 -fno-stack-clash-protection test.c -o test

struct struct_b {};
struct struct_c {};

struct test_struct {
  int a;
  struct struct_b b;
  struct struct_c c;
};

int func(struct test_struct *test) { return 0; }
int main(int argc, char *argv[]) { return 0; }

Trying to run kvasir-dtrace on a resulting binary results in a segmentation fault:

kvasir-dtrace ./test
==855701== kvasir-5.8.19, C/C++ Language Front-End for Daikon with DynComp comparability analysis tool.
==855701== Copyright (C) 2007-2022, University of Washington CSE PLSE Group
==855701== Using Valgrind-3.19.0.Fjalar and LibVEX; rerun with -h for copyright info
==855701== Command: ./test
==855701== 

kvasir: generate_fjalar_entries.c:774 (repCheckAllEntries): Assertion 'curMember->memberVar->data_member_location > prev_data_member_location' failed.
Segmentation fault (core dumped)

Is there a way to resolve this issue? Is this assertion necessary?

Thanks

Unable to build fjalar

Hi,

I am trying to build fjalar on Ubuntu 14.04 LTS:

$ uname -a
Linux xxx 3.19.0-58-generic #64~14.04.1-Ubuntu SMP Fri Mar 18 19:05:43 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

But I am getting following error:

../coregrind/link_tool_exe_linux 0x38000000 gcc  -Wno-cast-qual   -o fjalar-x86-linux -m32 -mpreferred-stack-boundary=2 -O2 -g -std=gnu99 -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wcast-align -Wcast-qual -Wwrite-strings -Wempty-body -Wformat -Wformat-security -Wignored-qualifiers -Wmissing-parameter-type -Wold-style-declaration -fno-stack-protector -fno-strict-aliasing -fno-builtin -fomit-frame-pointer -Iinclude -I../VEX/pub -I../include -I.. -O0 -static -nodefaultlibs -nostartfiles -u _start  -m32 fjalar_x86_linux-mc_leakcheck.o fjalar_x86_linux-mc_malloc_wrappers.o fjalar_x86_linux-mc_main.o fjalar_x86_linux-mc_translate.o fjalar_x86_linux-mc_machine.o fjalar_x86_linux-mc_errors.o fjalar_x86_linux-fjalar_dwarf.o fjalar_x86_linux-fjalar_main.o fjalar_x86_linux-fjalar_runtime.o fjalar_x86_linux-fjalar_select.o fjalar_x86_linux-generate_fjalar_entries.o fjalar_x86_linux-GenericHashtable.o fjalar_x86_linux-fjalar_traversal.o fjalar_x86_linux-readelf.o fjalar_x86_linux-dwarf.o libiberty/fjalar_x86_linux-dwarfnames.o fjalar_x86_linux-elfcomm.o fjalar_x86_linux-typedata.o fjalar_x86_linux-disambig.o fjalar_x86_linux-my_libc.o fjalar_x86_linux-my_libc_float.o fjalar_x86_linux-tsearch.o kvasir/fjalar_x86_linux-kvasir_main.o kvasir/fjalar_x86_linux-decls-output.o kvasir/fjalar_x86_linux-dtrace-output.o kvasir/fjalar_x86_linux-union_find.o kvasir/fjalar_x86_linux-dyncomp_main.o kvasir/fjalar_x86_linux-dyncomp_runtime.o kvasir/fjalar_x86_linux-dyncomp_translate.o ../coregrind/libcoregrind-x86-linux.a ../VEX/libvex-x86-linux.a -lgcc 
fjalar_x86_linux-readelf.o: In function `dump_relocations':
/bat0/stac/fjalar/valgrind/fjalar/readelf.c:1272: undefined reference to `_bfd_int64_low'
/bat0/stac/fjalar/valgrind/fjalar/readelf.c:1272: undefined reference to `_bfd_int64_high'
/bat0/stac/fjalar/valgrind/fjalar/readelf.c:1272: undefined reference to `_bfd_int64_low'
/bat0/stac/fjalar/valgrind/fjalar/readelf.c:1272: undefined reference to `_bfd_int64_high'
collect2: error: ld returned 1 exit status
make[3]: *** [fjalar-x86-linux] Error 1
make[3]: Leaving directory `/bat0/stac/fjalar/valgrind/fjalar'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/bat0/stac/fjalar/valgrind/fjalar'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/bat0/stac/fjalar/valgrind'
make: *** [all] Error 2

I executed following commands:

git clone https://github.com/codespecs/fjalar.git
cd fjalar
sudo apt-get install binutils-dev
./auto-everything.sh

I got an error about zconf.h not found, so as suggested here: https://bugs.launchpad.net/ubuntu/+source/zlib/+bug/1155307 I create following symbolic link:
sudo ln -s /usr/include/x86_64-linux-gnu/zconf.h /usr/include

executed ./auto-everything.sh again
Got above error.

I am attaching the complete log here: fjalar_build.txt

Please suggest how to fix the issue.

Thanks,
Gunjan

incorrect translation of some SIMD instructions

(originally reported by Dhruva Mishra [email protected])
16 SIMD instructions were marked as binary that should have been marked ternary. This error is looks to be from the original source for dyncomp_translate.c. Apparently, no tests ever exposed this problem before until dhruva's use of OpenCV (computer vision library) - and even then it fails on Ubuntu but not CentOS. Some difference in the code generation of the C/C++ runtime libraries?

I have a fix that I'm checking in now.

Clean up fprintf usage

Fjalar and Kvasir use a mixture of printf, fprintf, puts, fputs, and others.  
Some of these are handled by my_libc.c and some are handled by Valgrind (via 
the VG_ prefix).  This leads to different output (due to different 
implementations of format chars) and some mixed up buffering.


Original issue reported on code.google.com by [email protected] on 5 Aug 2013 at 9:40

AMD64 struc copy problem

This is the exact same implementation problem as issue #7 - passing structs in 
registers.  On AMD64 gcc optimizes properly aligned struct copys by doing a REP 
MOVSQ.  Valgrind changes this into a series of register loads and stores and we 
have the same comparability set problem.

Original issue reported on code.google.com by [email protected] on 5 Aug 2013 at 10:32

Support position independent code

Ubuntu 17.10 contains a newer version of gcc (7.2) and the default linker output is now "-pie". This produces a dynamically linked position independent executable. Update Kvasir to handle this type of executable file.

Compilation error: size of array ‘dummy’ is negative , file: dwarf.c

gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../VEX/pub -I../VEX/pub -DVGA_x86=1 -DVGO_linux=1 -DVGP_x86_linux=1 -DVGPV_x86_linux_vanilla=1 -m32 -mpreferred-stack-boundary=2 -O2 -g -std=gnu99 -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wcast-align -Wcast-qual -Wwrite-strings -Wempty-body -Wformat -Wformat-security -Wignored-qualifiers -Wmissing-parameter-type -Wold-style-declaration -fno-stack-protector -fno-strict-aliasing -fno-builtin -fomit-frame-pointer -Iinclude -I../VEX/pub -I../include -I.. -O0 -Wno-cast-qual -MT fjalar_x86_linux-dwarf.o -MD -MP -MF .deps/fjalar_x86_linux-dwarf.Tpo -c -o fjalar_x86_linux-dwarf.o test -f 'dwarf.c' || echo './'dwarf.c
dwarf.c: In function ‘read_and_display_attr_value’:
dwarf.c:1983:10: warning: left shift count >= width of type [enabled by default]
harvest_ordinary_unsigned_value(entry, attribute, (high_bits << 32) | utmp);
^
dwarf.c:501:11: error: size of array ‘dummy’ is negative
int dummy [sizeof (VAL) < (AMOUNT) ? -1 : 1] ATTRIBUTE_UNUSED ;
^
dwarf.c:1992:6: note: in expansion of macro ‘SAFE_BYTE_GET’
SAFE_BYTE_GET (uvalue, data, 8, end);
^
dwarf.c: In function ‘process_debug_info’:
dwarf.c:501:11: error: size of array ‘dummy’ is negative
int dummy [sizeof (VAL) < (AMOUNT) ? -1 : 1] ATTRIBUTE_UNUSED ;
^
dwarf.c:2658:8: note: in expansion of macro ‘SAFE_BYTE_GET’
SAFE_BYTE_GET (length, section_begin + 4, 8, end);
^
dwarf.c:501:11: error: size of array ‘dummy’ is negative
int dummy [sizeof (VAL) < (AMOUNT) ? -1 : 1] ATTRIBUTE_UNUSED ;
^
dwarf.c:520:7: note: in expansion of macro ‘SAFE_BYTE_GET’
SAFE_BYTE_GET (VAL, PTR, AMOUNT, END);
^

gcc version:

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.8/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.4-2ubuntu114.04.1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-i386/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-i386 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-i386 --with-arch-directory=i386 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-targets=all --enable-multiarch --disable-werror --with-arch-32=i686 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
Thread model: posix
gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1
14.04.1)

Unable to build Kvasir

Hello! I failed to build Kvasir on Microsoft WSL 2 (Ubuntu 22.04):

$ uname -a
Linux uWX1176834lnlp 5.10.16.3-microsoft-standard-WSL2 #1 SMP Fri Apr 2 22:23:49 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

My steps were:

  1. I made a local clone of Daikon repository into ~/daikonparent/daikon.
  2. I successfully built Daikon (master), according to the instructions.
  3. I made a local clone of fjalar repository into ~/daikonparent/fjalar.
  4. I attempted to build kvasir:
$ cd ~/daikonparent/daikon
$ make kvasir

The output was make-kvasir.zip.

I made some changes to the source code to make the build work, see #55 .

Please, take a look.

Thanks,
Danila

Clean up doc vs. docs subdirectories.

Mark-

I agree with you that having two directories doc and docs is confusing.

Yes, the 'docs' name is GitHub magic.
I did enough work to utilize that magic (because I hate the gh-pages branch), but no more.

I'm OK with you fixing up the partial job that I did, in either way: by moving a file to the top level or by other reorganizations.

Thanks for noticing and fixing this!

                 -Mike

Issue when running Kvasir

Hello,
I am trying to run Kvasir on our university server through SSH. How do I fix the error? Your help is much appreciated.

The following are the steps I went through:
Step 1. Download and unpack Daikon

cd daikonparent
wget http://plse.cs.washington.edu/daikon/download/daikon-5.8.6.tar.gz
tar zxf daikon-5.8.6.tar.gz

Step 2. Modify .bashrc

#The absolute pathname of the directory that contains Daikon
export DAIKONDIR=daikonparent/daikon-5.8.6
source $DAIKONDIR/scripts/daikon.bashrc

Step 3. Get Fjalar

cd $DAIKONDIR
cd ..
git clone https://github.com/codespecs/fjalar.git

Step 4. Make Kvasir

cd $DAIKONDIR
make kvasir

Step 5. Start using Kvasir

cd $DAIKONDIR/scripts/
gcc -g -no-pie total.c
kvasir-dtrace ./a.out

The error I get after kvasir-dtrace ./a.out is the following:

==16605== kvasir-5.8.6, C/C++ Language Front-End for Daikon with DynComp comparability analysis tool.
==16605== Copyright (C) 2007-2020, University of Washington CSE PLSE Group
==16605== Using Valgrind-3.16.1.Fjalar and LibVEX; rerun with -h for copyright info
==16605== Command: ./a.out
==16605==

kvasir: generate_fjalar_entries.c:647 (repCheckAllEntries): Assertion 'f->endPC' failed.
Segmentation fault (core dumped)

GCC version:

gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)

total.c:

#include <stdio.h>
#include <stdlib.h>
int main()
{
        int n = 10, i, total = 0;
        int *arr;
        arr = (int *) malloc(n * sizeof(int));
        for (i = 0; i < n; i++) {
                arr[i] = i * i;
                total += arr[i];
        }
        printf("Total = %d\n", total);
        free(arr);
        return 0;
}

Issue running Kvasir over CGC Challenge Binaries

Hello,
I attempting to run Daikon over CGC Challenge Binaries as found on https://github.com/trailofbits/cb-multios, which are written in C. However, when I try to process the application with the Kvasir front end, the application seg faults for reasons unknown to me.

I built both Daikon and Kvasir by cloning from the Daikon git repo and following exactly the instructions in the README, and was able to successfully run them both over the provided C examples. I also cloned the CGC Challenge Binaries from the previously mentioned cb-multios repo and built them as per the README. However, running Kvasir over any of the built binaries results in the aforementioned segmentation fault.

I am running on Ubuntu version 20.04, and have attached a screenshot of the error message in question.
KvasirErrorMessage

Thank you,
Jeffrey Chen

Error when making daikon with kvasir (type redefinition)

I downloaded daikon-5.7.2.gz from the daikon website. Following its instructions, I cloned the fjalar repo in the same parent directory as the extracted daikon files, then typed make kvasir.

After 15 minutes or so, the compilation dies due to the following error:

In file included from fjalar_dwarf.h:27,
                 from fjalar_include.h:32,
                 from fjalar_main.h:42,
                 from readelf.c:106:
dwarf.h:23:27: error: conflicting types for 'uintptr_t'
   23 | typedef unsigned long int uintptr_t;
      |                           ^~~~~~~~~
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/stdint.h:9,
                 from /usr/include/bfd_stdint.h:7,
                 from /usr/include/bfd.h:44,
                 from readelf.c:99:
/usr/include/stdint.h:96:23: note: previous declaration of 'uintptr_t' was here
   96 | typedef unsigned int  uintptr_t;
      |                       ^~~~~~~~~
In file included from fjalar_dwarf.h:27,
                 from fjalar_include.h:32,
                 from fjalar_main.h:42,
                 from readelf.c:106:
dwarf.h:24:27: error: conflicting types for 'uint64_t'
   24 | typedef unsigned long int uint64_t;
      |                           ^~~~~~~~
In file included from /usr/include/stdint.h:37,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/stdint.h:9,
                 from /usr/include/bfd_stdint.h:7,
                 from /usr/include/bfd.h:44,
                 from readelf.c:99:
/usr/include/bits/stdint-uintn.h:27:20: note: previous declaration of 'uint64_t' was here
   27 | typedef __uint64_t uint64_t;
      |                    ^~~~~~~~

Is there some way to resolve this issue?

Thanks

Clean up use of 'verboze'

Currently, to get a dump of the internal IR, you need to edit mc_translate.c 
and recompile.  This should be changed to a runtime option. 

Original issue reported on code.google.com by [email protected] on 5 Aug 2013 at 9:44

FJALAR_DPRINTF seg faults

What steps will reproduce the problem?
1. FJALAR_DPRINT at generate_fjalar_entries.c:3107 is currently commented out; 
need to turn back on 
2. run with --fjalar-debug
3. test case needs to be c++ with a class with member funcstions


Original issue reported on code.google.com by [email protected] on 5 Aug 2013 at 9:55

Can't comile with basic-tool.c

Fjalar version 5.4.5
I ran auto-everything.sh in order to compile fjalar, which worked.
then i added basic-tool/basic-tool.c to makefile.am, as instructed in the programmer's manual.
I ran auto-everything.sh again but now got the following error:

basic-tool/../dwarf.h:232:34: error: unknown type name ‘size_t’
extern void * xcrealloc (void *, size_t, size_t);

I tried adding
#include <stdio.h>
to dwarf.h, since it contains the defenition for size_t, but then got the following error:

/usr/include/stdio.h:48:25: error: conflicting types for ‘FILE’
typedef struct _IO_FILE FILE;

AMD64 structs in registers problem

compare output of running daikon/tests/kvasir/tests/TypedefTest on x86 vs. 
amd64.  The later passes small structs in registers.  Current implementation of 
kvasir only assigns a single value tag field to an entire register.  Hence, 
when the struct is loaded into the register to pass as argument we mark all 
struct fields that happen to map to the same register as having an interaction 
when in fact they do not.  Test case needs to be modifed back to have first 
struct element (a) being an int instead of a long.  decls output will then show 
a and b in same compare set on amd64 but in separate sets on x86 (correctly).

This is a serious problem, but is part of the current design.  Fix will be a 
major work item.




Original issue reported on code.google.com by [email protected] on 5 Aug 2013 at 10:22

Kvasir make fails

What steps will reproduce the problem?
1.sudo make kvasir

What is the expected output? What do you see instead?
The make fails with the following output:
readelf.c:53:17: fatal error: bfd.h: No such file or directory
compilation terminated.
make[4]: *** [fjalar_x86_linux-readelf.o] Error 1
make[4]: Leaving directory 
`/home/saikat/Downloads/daikon/kvasir/valgrind/fjalar'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
`/home/saikat/Downloads/daikon/kvasir/valgrind/fjalar'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/saikat/Downloads/daikon/kvasir/valgrind'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/saikat/Downloads/daikon/kvasir/valgrind'
make: *** [kvasir] Error 2

What version of the product are you using? On what operating system?
I am using Daikon 5.0 on Ubuntu 12.04LTS 32 bit OS

Am i missing any step?


Original issue reported on code.google.com by [email protected] on 8 Jan 2014 at 6:07

Porting Kvasir to ARM

Has anyone tried to use Kvasir on ARM? If not, do you think is it possible or is too much difficult?
In particular ARM/Linux and ARM/Android.

Fjalar from daikon-5.2.12.tar.gz compiles, but git HEAD doesn't

Hi everyone,

(I'm the original creator of Fjalar, back in ~2005 ... checking out the code again.)

The version from here compiled just fine using ./auto-everything.sh:
http://plse.cs.washington.edu/daikon/download/daikon-5.2.12.tar.gz

Here's my machine:
$ uname -a
Linux bovine-linode 3.18.5-x86_64-linode52 #1 SMP Thu Feb 5 12:18:36 EST 2015 x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"
NAME="Ubuntu"
VERSION="14.04.1 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.1 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"

The only new thing I needed to install was binutils-dev to get bfd.h to work:
sudo apt-get install binutils-dev

Anyways, the git HEAD i just cloned does not compile out of the box. I diff'ed all the files, and it seems like the crucial diff between the .tar.gz distro and git head was the following:

pgbovine@bovine-linode ~/fjalar
$ git diff
diff --git a/valgrind/Makefile.all.am b/valgrind/Makefile.all.am
index 68f8fe5..04a04bd 100644
--- a/valgrind/Makefile.all.am
+++ b/valgrind/Makefile.all.am
@@ -110,6 +110,12 @@ AM_CFLAGS_BASE = \
        -fno-strict-aliasing \
        -fno-builtin

+# If have latest gcc then default inlining
+# has been changed, use std=gnu89 to get old style
+if COMPILER_IS_V5
+AM_CFLAGS_BASE += -std=gnu89
+endif
+
 # These flags are used for building the preload shared objects (PSOs).
 # The aim is to give reasonable performance but also to have good
 # stack traces, since users often see stack traces extending

Once I added in that flag, everything compiled just fine on my machine. Anyways, just an FYI to help out with your future devel and distribution efforts. I'm able to make progress just fine right now, so this isn't necessarily urgent.

Kvasir-dtrace: Support for tracking external function calls

I have successfully ran the wordplay.c example in daikon to produce a trace using kvasir-dtrace. I realized that external function calls like strlen() are not included in the .dtrace file. Is the support for external function calls available for the kvasir front end for C program?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.