COFF OBJ to HEX (hex-dump only the code section ".text")

Cancelado Publicado hace 7 años Pagado a la entrega
Cancelado Pagado a la entrega

Hi,

(First of all, I will reject replying to what seems "automatic" bids. Any bid that looks an automatic reply will be rejected).

I need a simple command line application that accepts a 32-bit or a 64-bit COFF OBJ.

The application will be developed in C or C++ with Visual Studio (I'm using Visual Studio 2015)

The application will read the OBJ file and it will just go to the code section ".text"

in the OBJ file and it will "hex-dump" the content of the .text section into a text file.

After that, it will put the offset within the text section where each found function starts.

ObjCodeToHex [login to view URL] [login to view URL]

It will generate a text file similar to this:

; ---- Start Hex dump ----

db 0x45, 0xFC, 0x00, 0x00, 0x00, 0x00, 0xC7, 0x45, 0xF8, 0x00, 0x00, 0x00, 0x00, 0xEB, 0x09, 0x8B

db 0x45, 0xF8, 0x83, 0xC0, 0x01, 0x89, 0x45, 0xF8, 0x8B, 0x45, 0xF8, 0x3B, 0x45, 0x08, 0x7D, 0x17

db 0x8B, 0x45, 0xF8, 0x50, 0xE8, 0xB9, 0xFF, 0xFF, 0xFF, 0x83, 0xC4, 0x04, 0x03, 0x45, 0xF8, 0x03

db 0x45, 0xFC, 0x89, 0x45, 0xFC, 0xEB, 0xD8, 0x8B, 0x45, 0xFC, 0x5F, 0x5E, 0x5B, 0x8B, 0xE5, 0x5D

db 0xC3

START_FUNCTION_HELPER = 0

START_MY_FUNCTION = 0x14

; ---- End Hex dump ----

In the above example, "[login to view URL]" have two functions "function_helper" and "my_function"

Please, find attached 2 samples OBJ samples for 32-bit and 64-bit and the expected generated files "[login to view URL]" and

"[login to view URL]"

I recommend that you first load those OBJ under IDA Disassembler to make things clearer for you.

If you have any questions, let me know please.

Thanks!

Programación en C Programación en C++

Nº del proyecto: #12644204

Sobre el proyecto

3 propuestas Proyecto remoto Activo hace 7 años

3 freelancers están ofertando un promedio de $265 por este trabajo

szymszteinsl

Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to Más

$250 USD en 4 días
(90 comentarios)
7.2