You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.
I face the same problem. I tried in a generic 4.15.0-118-generic kernel as well as a 4.8.12 kernel without any success. It works fine in 16.04 versions of ubuntu. Here are the steps I did in ubuntu 18.04. Please let me know if I am missing something.
cd syscall_intercept
mkdir release
cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
make test
sudo make install
make test
Output: (all tests failed)
Test project /localhome/sudarsun/aecross/libfs/libshim/syscall_intercept/release
Start 1: asm_pattern_nosyscall
1/43 Test #1: asm_pattern_nosyscall ..................***Exception: SegFault 0.39 sec
Start 2: asm_pattern_pattern1
2/43 Test #2: asm_pattern_pattern1 ...................***Exception: SegFault 0.38 sec
Start 3: asm_pattern_pattern2
... More errors...
```
I also tried the example.c in the README without using a make test, which resulted in the same issue.
Here is the output with GDB. Please let me know if you need more info?
```
Reading symbols from /bin/ls...(no debugging symbols found)...done.
(gdb) set environment LD_PRELOAD ./example.so
(gdb) run
Starting program: /bin/ls
During startup program terminated with signal SIGSEGV, Segmentation fault.
(gdb) backtrace
No stack.
```
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Ubuntu 18.04 LTS, GCC 7.5.0, GLIBC 2.27
The text was updated successfully, but these errors were encountered: