V
V
Vitaly2016-03-23 15:36:29
linux
Vitaly, 2016-03-23 15:36:29

How to change unix executable file?

All the best. I have a file that runs on linux like

./runFile
after copying to OS X, the system identified it as a unix executable file. I need to edit it a bit. How can I do it?
P.S.
file command says:
ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), not stripped

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Ilya Erokhin, 2016-03-23
@AirWorker

It's easy, most likely it's a regular text file - in a text editor
. If it's a binary file - then roughly speaking, nothing (it's difficult and the question is whether it is necessary)

V
Vladimir Kuts, 2016-03-23
@fox_12

There is no direct solution to this problem. This is the compiled file.
If you want to fix the file itself, its operation logic - look for its sources, or decompile/disassemble it.
If you need to fix resources - look for resource editors.
If you need to change, for example, the transition command, then debug it with a debugger and edit the necessary bytes in a hex editor.
Something like this...

V
Vladimir Martyanov, 2016-03-23
@vilgeforce

You can do this in any hex editor like HIEW.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question