Skip to content

Trigger class CallStackTrigger not found  #3

@agrimaseth

Description

@agrimaseth

I am trying to execute the example given in this repository. I stored the myplan.xml file in the
/home/student/lfi folder and then also have made a database named dbname with postgresql .

Then i execute the following: ./libfi myplan.xml -t /usr/bin/psql
it compiles successfully but shows the following errors:

  1. root@student-HP-Compaq-Elite-8300-SFF:/home/student/lfi# ./libfi myplan.xml -t /usr/bin/psql
  2. Generating stub file intercept.stub.cpp from myplan.xml
  3. Compiling stub library intercept.stub.so from intercept.stub.cpp
  4. g++ -g -o intercept.stub.so intercept.stub.cpp inter.cpp Trigger.cpp triggers/*.cpp xml2-config --cflags xml2-config --libs -O0 -shared -fPIC -lrt -ldl ...
  5. Compiled successfully...
  6. [LFI] Preloading /home/student/lfi/intercept.stub.so
  7. Trigger class CallStackTrigger not found or not yet registered while intercepting recv
  8. psql: FATAL: role "root" does not exist
  9. Process exited normally. Exit status: 2

I am an undergraduate student at University of Pune, and would be really grateful if you could help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions