python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Is $ORIGIN/lib a reasonable RUNPATH for libraries?
Background
I have a third-party library that has this structure:
lib
├── liba.so
└── libb.so // libb.so is NEEDED by liba.so
Both have their RUNPATH set to $ORIGIN/lib and liba.so depend on libb.so...
Joakim Thorén
Votes: 0
Answers: 1
Prevent library user from overriding my function
I have create dynamic library in which I define a function. I use this function internally in my own library and dont expose via headers. But if user of my library defines similar function then that f...
너를 속였다
Votes: 0
Answers: 1
Why does the address of libc.so always change
I have recently been looking into ELF binaries and how functions are called using GOT and PLT in an ELF file.
When a function is called this is what occurs as far as i know:
function is called
a jump...
programme3219873
Votes: 0
Answers: 0
How to link to Libtooling with cmake
According to docs, I have following cmake project
cmake_minimum_required(VERSION 3.5)
project(teeest LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(LLVM ...
너를 속였다
Votes: 0
Answers: 1