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

취소 완료 등록 시간: 7년 전 착불
취소 완료 착불

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!

C 프로그래밍 C++ 프로그래밍

프로젝트 ID: #12644204

프로젝트 소개

3 건(제안서) 재택 근무형 프로젝트 서비스 이용 중: 7년 전

이 일자리에 대한 프리랜서 3 명의 평균 입찰가: $265

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 기타

$250 USD (4일 이내)
(90 리뷰)
7.2