Skip to main content
Filter by
Sorted by
Tagged with
Advice
0 votes
1 replies
20 views

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 ...
yxER's user avatar
  • 1
2 votes
1 answer
126 views

I have two files: crt.c: const char service_interp[] __attribute__((section(".interp"))) = "${LD_SO}"; extern void _exit (int __status) __attribute__ ((__noreturn__)); int main(); ...
Stas Badzi's user avatar
0 votes
1 answer
84 views

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....
Truls Henriksson's user avatar
1 vote
1 answer
72 views

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 ...
sysbin's user avatar
  • 13
6 votes
2 answers
177 views

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
3 votes
3 answers
223 views

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 ...
Alon Alush's user avatar
  • 1,986
0 votes
0 answers
45 views

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 ...
Jesse Brooker's user avatar
1 vote
1 answer
245 views

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 ...
Seraphine's user avatar
0 votes
1 answer
65 views

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 ...
Vinod Kkumar's user avatar
0 votes
0 answers
73 views

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 ...
Simon T.'s user avatar
  • 145
1 vote
1 answer
40 views

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 ...
Haranator's user avatar
1 vote
0 answers
290 views

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 ...
dumbass's user avatar
  • 27.2k
2 votes
1 answer
77 views

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 &...
Charles Florestal's user avatar
0 votes
0 answers
45 views

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 ...
INEEDANSWERS's user avatar
4 votes
1 answer
78 views

I have the following Makefile for building my C++ application : SRC_DIR := ./src OBJ_DIR := ./obj INC_DIR := -I./include SRC_FILES := $(wildcard $(SRC_DIR)/*.cpp) OBJ_FILES := $(patsubst $(SRC_DIR)/%....
Engineer999's user avatar
  • 4,159
-1 votes
1 answer
62 views

I want to develop a Unity application that communicates with a Python script via socket to exchange information. However, I don’t want to run Unity and the Python script separately. Is there a way to ...
Mário Santana's user avatar
0 votes
1 answer
79 views

I don't know how to make python executable on any linux. On Windows I know how t do it, it's my first time on Linux. I turned my python script into exe with ease (auto-py-to-exe). But I don't want my ...
Anonymous6598's user avatar
0 votes
0 answers
120 views

Currently I have a jupyter notebook data analysis that I run for multiple countries and the only thing I need to do is replace the "country" variable on top with the country I desire to run ...
Paulo Cortez's user avatar
0 votes
2 answers
126 views

I am working on a Go application that encrypts sensitive files using a public key. The goal of my project is to create a customizable encryption tool that allows users to generate an executable ...
Onyx's user avatar
  • 57
0 votes
0 answers
75 views

I have a Python 3.10.11 Application that works fine on development. However, upon freezing the application with PyInstaller (Desktop App) it gives me an error that states that "cannot pickle '...
Anmar Hani's user avatar
0 votes
1 answer
171 views

I have ml-agents up and running. When I run mlagents-learn from the command line, and play the game from the Unity Editor - everything works fine (the agent trains). But when I build the game and try ...
Rock Man's user avatar
0 votes
0 answers
41 views

I have built a simple application using Python (written in atom) and bundled it using PYinstaller. The application uses some user interfaces using TKinter and scraps some data which his saved in an ...
Adam Sewell's user avatar
1 vote
0 answers
32 views

I have a Matlab file , which defines the variables in the Simulink model and then runs it. A Simulink.SimulationInput Object is used to this end. The code i have used is a simple one. simIn = Simulink....
Sidharth's user avatar
0 votes
0 answers
75 views

I am trying to convert a sample PDF file to image which contains a special PDF objects, so-called Optional Content Groups (OCGs), where I am getting an invalid conversion in gradient colors like pink ...
Dinesh Sk's user avatar
1 vote
1 answer
170 views

I'm dabbling in Cyber Security, particularly the topic of buffer overflows. To this end, I'm considering an example in which a buffer overflow allows an attacker to execute arbitrary code from within ...
R. Hahnemann's user avatar
0 votes
1 answer
90 views

I have this tkinter code and I was trying to put it into an executable file, I have tried every method and I don't understand why, none of them work! This error in pyinstaller, how can I fix it? "...
T14Seara's user avatar
4 votes
0 answers
114 views

I'm generating an Elf executable file. I am encountering a problem I don't understand. I've been able to reproduce the problem with a small nasm file: bits 64 va equ 0x1000 elf_header: db 0x7F, ...
Ivan Enderlin's user avatar
1 vote
0 answers
95 views

I am building an MPI C project in Xcode. In order to do run it, I had to: Specify /path/to/mpiexec in Edit Scheme -> Run -> Info -> Executable, instead of the "default" one, say ...
FueledByPizza's user avatar
0 votes
2 answers
172 views

I want to run different executables on different processors at the same time, so I took example from here: Is there a way to assign different jobs (processes) to specific core in linux using python? ...
nadirkazan's user avatar
0 votes
1 answer
222 views

On Linux 64, after creating an environment, I installed gfortran with conda install conda-forge::gfortran. I see that it installed gfortran 14 and gcc 14. Then I installed openmpi with conda install ...
Jesse Feng's user avatar
0 votes
1 answer
507 views

I am generating executable file using MPLAB_X_IDE from Microchip with compiler is XC-16. It generates executable files .hex and .elf. However, this time I need the binary executable file. Can anybody ...
Guille's user avatar
  • 472
0 votes
0 answers
93 views

I am compiling dozens of executables in my Git project and I need a way to determine if a given one has actually changed so I can deploy only the changed ones. Simple solution is to hash the exe but ...
Bob's user avatar
  • 5,210
1 vote
1 answer
76 views

I'm trying to create a shortcut that when I click on, the r script run automatically. I used instructions posted in https://www.r-bloggers.com/2015/02/making-r-files-executable-under-windows/ by Peter ...
Fred's user avatar
  • 115
0 votes
0 answers
34 views

I have a Flutter Windows application in which an executable opens (in my case, Chrome). After opening it, if the user remains inactive for 20 seconds, the executable should close and return to the ...
KlaoBurn's user avatar
0 votes
1 answer
140 views

I have a game in SFML and built it using cmake. Now I would like to create an executable for the game. To achieve it I have built it in release mode and got the cmake-build-release directory, where I ...
Joykeeper's user avatar
2 votes
1 answer
417 views

I'm following this post, in which it is clearly shown how to add an interpreter to a shared object. Now I'm trying to do the same but without add the line const char interp_path[] __attribute__((...
MaPo's user avatar
  • 887
1 vote
1 answer
47 views

I was doing some experiment with object file produced by gcc. While I know, at least superficially, what is the use of position independent code, I was trying to spot it concretely. I produced this ...
MaPo's user avatar
  • 887
2 votes
1 answer
89 views

I'm trying to read resources of an external executable. I'm using Resource Tuner application and it gives me such a result: std::filesystem::path exeSignalPath{ LR"__(c:\Users\user\AppData\Local\...
Capitone Moguchi's user avatar
0 votes
1 answer
683 views

I am looking for solution to protect source code of my project to distribute it. All projects for Windows exclusively. I tried Nuitka and Pyarmor for this purpose. But both solutions are not ...
Maxim Martsinkevich's user avatar
0 votes
1 answer
65 views

I'm working on packaging a Python project using PyInstaller. My project includes a db.sqlite file, which I need to include in the final executable. I’m using a .spec file to package the application, ...
Ragul's user avatar
  • 1
0 votes
1 answer
155 views

I have someone else's Python code that I am upgrading from 3.7 to 3.12 before changing database calls to API calls. The Python code is compiled using PyInstaller into an executable to be distributed ...
Jim Grant's user avatar
  • 1,148
0 votes
1 answer
514 views

I have a script in python that I turned into a .exec with PyInstaller using this line: pyinstaller.exe --onefile <path_to_python_file> And it worked just fine. After that I changed my script and ...
Diogo Miranda's user avatar
0 votes
1 answer
98 views

How I met the problem I'm currently working on a way of patching/updating software remotely, without asking the users to reinstall whenever I publish an newer version (that is, no need to repack ...
Head Cracked's user avatar
0 votes
0 answers
72 views

I have a python script that generates and saves barcode pngs (using barcode-python) to a folder based on data extracted from an Excel spreadsheet (using pandas). The general issue I'm having is in ...
Noah Bhuiya's user avatar
0 votes
1 answer
40 views

I am attempting to compile an instrumentation manifest in order to build a manifest-based Windows Event Log provider. I expect the compiled manifest.h file to include a ProviderGuid symbol, as the ...
Shane Bishop's user avatar
  • 5,092
-1 votes
2 answers
75 views

I want to run a VIM command only on loading of executable files (specifically, what I want, is to add a button to the menu bar, that will run the script, aka call :!%) The question, of course is for ...
Hagai Naveh's user avatar
0 votes
1 answer
54 views

I have a problem with my current project. I have a backend written in python which i complain with pyinstaller to an exe. The py BE communicate with websockets with the FE written in JS/hmtl/css. I ...
Martin's user avatar
  • 9
3 votes
4 answers
251 views

I'm looking for a function like this: writeExecutable :: FilePath -> IO () -> IO () This would create an executable Linux binary file that, when run, would do the provided IO action as if it ...
Ashley Yakeley's user avatar
-2 votes
2 answers
73 views

I have made a program that uses multiple classes that do various tasks. Every class however will need to reference the same file path every run. So, in my jar executable I have a properties file that ...
Blake's user avatar
  • 19
0 votes
1 answer
86 views

I have four Python scripts and one Excel table. I have to run the last Python script which opens a dashboard in my browser with Dash. I did this for my company and I want now that other people with no ...
Mic Merian's user avatar

1
2 3 4 5
75