3,719 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
50
views
Is it possible to add additional information to an already signed executable? If so, what approaches can be used to do this?
I have a requirement to add some data to an already signed executable without invalidating its signature. I’m not able to ship any additional files along with the executable.
Is there a way to embed ...
Advice
0
votes
2
replies
23
views
Memory management of data embedded into executables
Most compiled languages provide macros for embedding data into executables (#embed in C, include_bytes! in Rust etc.) however, one thing that bothers me about them is that they put the data into ...
2
votes
1
answer
129
views
Android (Linux) libc problems when creating an execuatable shared object
I have two files:
crt.c:
const char service_interp[] __attribute__((section(".interp"))) = "${LD_SO}";
extern void _exit (int __status) __attribute__ ((__noreturn__));
int main();
...
0
votes
1
answer
87
views
How do I import mpi4py.MPI in a frozen executable?
I have a Python module that I would like to be able to run from the console, hence why I'm using pyinstaller. My module uses MPI and runs fine normally. Then I run the following:
pyinstaller my_script....
1
vote
1
answer
73
views
How many segments can be stored in win16 executable format? (very strange and unaccountable format)
Windows 16bit executable file, as we known, contains its own header and many other tables, one of those is a segment table. The header contains two fields (about segment table): segment table offset ...
6
votes
2
answers
178
views
What makes executables compiled with gcc on ARM64 larger than on x86_64?
It has been my observation that compiling the same code using gcc 12.2.0 on both Raspberry Pi OS Bookworm aarch64 and Debian Bookworm x86_64, always results in a much smaller executable on the latter. ...
user avatar
user31366153
3
votes
3
answers
229
views
Simple XOR loop in NASM
I am making a PE .exe packer in C and assembly. In C, I do the things like create a new .packed section header, changing Entry Point to that new section, changing sizeofimage, etc. In my C code, I ...
0
votes
0
answers
45
views
How do I use the Terminal with MacOS Executable?
Background:
I have a .command file I use as way to launch my Python GUI with the terminal as it uses input parameters from the GUI to send commands to the terminal to run 3rd party code in different ...
1
vote
1
answer
258
views
Error creating PyInstaller executable with Sentence Transformers model and Anaconda environment dependencies
I'm trying to create an executable from a Python script using PyInstaller in an Anaconda environment. My script uses the Sentence Transformers library and loads a pre-trained model from a local folder ...
0
votes
1
answer
71
views
Error while opening .net based exe : The volume for a file has been externally altered so that the opened file is no longer valid
When i try to open a exe, it shows the following error
The volume for a file has been externally altered so that the opened file is no longer valid
able to open other EXEs in that folder and checked ...
0
votes
0
answers
79
views
Compile ML model into binary
I would like to compile a Python project with an ML model into a single executable binary. This means I want the model and the weights to be in the binary with the rest of the code. The size of the ...
1
vote
1
answer
41
views
Where can I assemble my assembly file aside from TASM that supports .STACK
I am just following the book from my university to run this simple code I found as an example for my coding practice. I am new to assembly language.
The problem is that I only know how to assemble in ...
1
vote
0
answers
298
views
What (executable?) file format uses an "EDOS" magic number of "PEED"?
The original EDK contains the following macro definition (e.g. in Edk/Foundation/Efi/Include/EfiImage.h line 57):
#define EFI_IMAGE_EDOS_SIGNATURE 0x44454550 // PEED
A similar ...
2
votes
1
answer
78
views
(No such file) error - c++ linking library issue from running executable file
I have been trying to develop a simple c++ program to connect to mysql using the mysql connector/c++ library. I have been running into issues after issues. This is the next hurdle. I am new to CMake &...
0
votes
0
answers
53
views
How to generate an import library for an EXE during compilation so that it can be used as a DLL?
Similar questions have been asked over the years and the answers have always been quite literally the opposite of each other (see: here, here, here, and here). However, I have not come across answers ...