Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
106 views

The ELF manual says that SHT_DYNAMIC sections can only appear once in any given ELF object file. SHT_DYNAMIC: This section holds information for dynamic linking. An object file may have only one ...
matteobu02's user avatar
0 votes
1 answer
215 views

I have a netstandard20 class library and a console application which has no direct reference to that class library. Instead I need to load that library at runtime so that types could be resolved ...
bairog's user avatar
  • 3,539
2 votes
0 answers
67 views

Say I have a directory structure: - src -- scraper --- scrapers ---- scraper_a.clj ---- scraper_b.clj ---- scraper_c.clj --- scrape.clj In each scraper_x.clj there are three functions, fetch, collect,...
probablyjg's user avatar
1 vote
0 answers
90 views

I am trying to understand how the /FORCE:UNRESOLVED linker flag is meant to be used on Windows. I would like to have a library built with unresolved symbols with the expectation that they will be ...
Vyas's user avatar
  • 244
0 votes
2 answers
1k views

I'm using the "Microsoft.Windows.Compatibility" package to get the baseboard serial number in a .NET 6 application. My code looks like this: var searcher = new ManagementObjectSearcher("...
Mike Lopetgi's user avatar
0 votes
1 answer
208 views

Consider the following loop while (true) { void* lib = dlopen("bin/liblibrary.so", RTLD_NOW | RTLD_LOCAL); assert(lib); typedef void (*f_t)(void); f_t f = (f_t)dlsym(lib, &...
Jakub Arnold's user avatar
  • 87.5k
1 vote
0 answers
97 views

I'm using CKEditor 5 in my NextJS project but can not get it work in npm run build <CKEditor editor={ClassicEditor as any} data={editorData} onChange={(event, editor) =...
Hùng Nguyễn Minh's user avatar
3 votes
1 answer
137 views

... where by any assembly I mean also assemblies that depend on assemblies which are wrappers of native libraries. The Minimal, Reproducible Example for this question is here: https://gitlab.com/...
Mike Nakis's user avatar
0 votes
0 answers
89 views

Assume there are shared libraries lib1, lib2, etc. each declaring and using one of its own global variable g_lib1, g_lib2, etc. I have the addresses of g_lib1, g_lib2, etc., as well as the names of ...
Hunter's user avatar
  • 11
0 votes
1 answer
484 views

I'm currently working with LLVM 15.0.0 and facing a challenge while using the New Pass Manager and llvm::PassInfoMixin. My goal is to insert calls to a specific function within a FunctionPass, but ...
Orestis Kapar's user avatar
2 votes
0 answers
54 views

What I want to implement ( linux platform ) My app could load and unload particular widget from different packages which is built separately. The new widget could be replaced on run-time. My app ...
user3395566's user avatar
0 votes
1 answer
45 views

Suppose I have a dynamically-linked executable which depends on symbols in libfoo and libbar; and that it works on my system, i.e. it finds appropriate versions of these shared libraries. Now, I want ...
einpoklum's user avatar
  • 137k
0 votes
1 answer
172 views

Newbie question. Suppose there is a third party library ClassLibrary.so, which contains the class definition of a ClassTest and I don't have access to the source of ClassLibrary.so. Can I use ...
Umar Karim's user avatar
0 votes
0 answers
68 views

I am building a springboot app which can connect to either sql or postgres db based on configuration. Entity for the two databases are slightly different. Is it possible to create 2 different entity ...
Roohi's user avatar
  • 7
0 votes
2 answers
45 views

main.cpp #include "string" #include "unordered_map" #include "iostream" #include "dlfcn.h" typedef void x(std::unordered_map<std::string, std::string> &...
tangle1990's user avatar
0 votes
1 answer
415 views

Take a C application running on Linux for example which is dynamically linked with a required shared library. I know that the .so file should be found in the paths defined in the environment variable ...
Engineer999's user avatar
  • 4,159
3 votes
2 answers
2k views

I had this code before and it worked fine (just showing the imports here): import { Calendar } from '@fullcalendar/core'; import dayGridPlugin from '@fullcalendar/daygrid'; I thought I can load them ...
levipadre's user avatar
  • 629
3 votes
1 answer
598 views

I'm building with g++/KDevelop/CMake(3.16.3). Before I put cmake_minimum_required( VERSION 3.0.0 ) in the first line of my CMakeLists.txt and everythings OK, now I need change it to ...
Leon's user avatar
  • 2,165
4 votes
0 answers
797 views

I've been reading for a while about how the dynamic linker/loader works, RPATH vs RUNPATH, direct vs transitive dependencies, etc. My understanding so far is that if a binary has RPATH (not RUNPATH), ...
user1011113's user avatar
  • 1,435
0 votes
2 answers
2k views

I am having Kubernetes Config map in spring boot project and My application should dynamically get the values from config map if any values changes in config map so for that I have used spring cloud ...
Amarsha N.G's user avatar
2 votes
1 answer
756 views

import React from 'react'; import clsx from 'clsx'; import ReactQuill from 'react-quill'; import 'react-quill/dist/quill.snow.css'; import styles from './styles.scss'; interface Props { label: ...
Andrii Radkevych's user avatar
1 vote
0 answers
211 views

I am exploring the option to dynamically load libraries at runtime in Rust. I am still a Rust newbie, so I found several articles detailing why this is not the recommended way. Plugins in Rust ...
Sam Hammamy's user avatar
0 votes
0 answers
200 views

I am trying to dynamically load classes from within an unmanaged (COM) DLL. I am not sure the language it was written in, it is 3rd party that does not exist anymore. I am able to use NativeLibrary....
Chris Calvert's user avatar
2 votes
0 answers
1k views

I'm working on a plugin module for a .NET 6 app and I was following this Microsoft Docs guide, however I hit a problem while dynamically loading the plugin assemblies. I want to achieve the following ...
benyogyerek's user avatar
1 vote
0 answers
419 views

I want to have my main application deployed in a bundle, but allow other developers to author extension modules, which will be dynamically loaded on demand. Code is written in TypeScript and I am ...
Oliver Bock's user avatar
  • 5,135

1
2 3 4 5
8