dynamic-loading Questions
5
Solved
What exactly does -rdynamic (or --export-dynamic at the linker level) do and how does it relate to symbol visibility as defined by the -fvisibility* flags or visibility pragmas and __attribute__s?
...
Wappes asked 18/4, 2016 at 11:11
2
I have a spring boot application which has two functionalities Http requests and kafka Messages handling. I want this application to run in mode which is enabled from application.yml i.e if the use...
Eardrop asked 12/5, 2020 at 5:26
3
What I'm trying to do is to convert this installing script for webodm (https://gist.github.com/lkpanganiban/5226cc8dd59cb39cdc1946259c3fea6e) written in bash to be used in tcsh shell under a freena...
Voiceful asked 13/3, 2019 at 15:4
1
Solved
I have gone through the Shared libraries with GCC on Linux documentation to understand how to create and use shared library.
Step 1: Compiling with Position Independent Code
$ gcc -c -Wall -Werror ...
Cuneate asked 7/8, 2020 at 17:36
1
Solved
I'd like to understand a detail of how the dynamic loader creates mappings for ELF segments.
Consider a tiny shared library linked with GNU ld. The program headers are:
Type Offset VirtAddr Phys...
Moonier asked 15/6, 2020 at 12:28
1
Solved
I'm creating Angular code at runtime, in particular, I use a SVG library in order to create a vector graphic that contains Angular code directives like (click)='myMethod()', which, in turn, call me...
Betterment asked 10/4, 2020 at 9:58
5
Solved
I keep getting the following error when attempting to install readxl or haven in R (both dependencies of tidyverse) post-compilation, when the installer runs the loading test:
** testing if instal...
Crimmer asked 14/7, 2017 at 22:36
2
Solved
If I open a library using dynamic loading in C++, can I later reload an updated version of that same library? I would test this myself, but I am curious about it's feasibility before I start lookin...
Pegpega asked 17/1, 2013 at 4:2
0
I am using firebase topic subscription to push notifications in my Electron app. As of now I am hardcoding all the config properties like authorization key, topic, senderId etc in my app. Is there ...
Buckhound asked 11/7, 2018 at 6:54
1
Solved
In JDBC, I only see examples using
Class.forName("com.mysql.jdbc.Driver", true, cl);
and haven't seen one using
import com.mysql.jdbc.Driver;
Is it because we want to let a driver packa...
Gibbous asked 10/6, 2018 at 15:4
1
I have defined an abstract BaseClass in a NodeJS Typescript project and I have a list of derived classes that implement and extend this BaseClass.
// baseModule.ts
export abstract class BaseClass ...
Occupation asked 25/5, 2018 at 17:3
5
Solved
I have an application a part of which uses shared libraries. These libraries are linked at compile time.
At Runtime the loader expects the shared object to be in the LD_LIBRARY_PATH , if not found...
Begum asked 1/7, 2009 at 5:5
0
I have a bunch of objects created from classes imported with
module = imp.load_source(packageName, packagePath)
that I need to pickle. It all works perfectly, as long as packagePath is directly ...
Chariot asked 15/6, 2017 at 6:43
1
Solved
When you dlopen() a shared object, is there a mechanism for having code in that DLL execute without being called explicitly? Specifically, C++ static initialization code for globals/statics which t...
Dedication asked 16/9, 2016 at 21:31
3
Solved
I have a listview which is fetching data from sqlite database by Json.
I want to turn it into dynamic listview that at the end of scroll, a "load more items" appears in the footer of the list whil...
Bandore asked 6/5, 2013 at 12:37
3
I experience a crash when I pass a null pointer to dlclose.
Should I check for null before calling dlclose?
POSIX tells nothing about this:
http://pubs.opengroup.org/onlinepubs/7908799/xsh/dlclos...
Darees asked 10/7, 2012 at 12:5
3
Solved
I used
readelf --dyn-sym my_elf_binary | grep FUNC | grep UND
to display the dynamically imported functions of my_elf_binary, from the dynamic symbol table in the .dynsym section to be precise. ...
Subsolar asked 15/5, 2015 at 16:43
0
I've been playing around with the plugins package. I want a host application to dynamically compile and load Haskell source files in a sandboxed environment. Compilation works just fine. Loading fa...
Richart asked 25/3, 2015 at 17:47
1
Solved
If my executable calls dlopen to load a library but neglects to call dlclose, the library will stay loaded until the process exits and the OS forces it to unload.
If I load a.so which loads b.so, ...
Twopenny asked 14/1, 2015 at 20:21
2
I am trying to load and execute module dynamically,
Below is my code
TestModule.hs
module TestModule
where
evaluate = "Hello !!!"
Invoke.hs
module Invoke
where
import GHC
import DynFlags
...
Actino asked 5/4, 2013 at 2:4
1
Solved
Analyzing this question I found out some things about behavior of weak symbol resolution in the context of dynamic loading (dlopen) on Linux. Now I'm looking for the specifications governing this.
...
Kearns asked 18/12, 2013 at 12:53
1
Solved
How does module loading work in CPython under the hood? Especially, how does the dynamic loading of extensions written in C work? Where can I learn about this?
I find the source code itself rather...
Klara asked 5/9, 2014 at 3:21
1
Solved
I'd like to use libdl to dynamically load C++ in general. The problem is identifying symbols at runtime that have been name mangled.
As described here, one solution is to remove name mangling by u...
Lianaliane asked 6/6, 2014 at 18:30
1
Solved
I need to be able to load Haskell modules dynamicaally, and evaluate expressions in the context of dynamically-loaded modules.
Hint does it; the problem is, it doesn't work under GHCi, on Windows ...
Lovage asked 5/12, 2013 at 8:37
3
Solved
Assuming that both of these approaches load the script properly, and that I wait the appropriate amount of time before using the script (and/or use a callback), what are the major differences betwe...
Androcles asked 26/4, 2011 at 13:45
1 Next >
© 2022 - 2025 — McMap. All rights reserved.