LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-14-2004, 05:03 PM   #1
blackzone
Member
 
Registered: Jun 2004
Posts: 256

Rep: Reputation: 30
assembly ?


I have absolutely no knowledge about assembly.

Have a window exe file I want to open in assembly and modify.
I know which address to modify because someone wrote a document about it.

Any ease to use program which would allow me to do it, without too much learning curve?

nasm only allow compiling?
ndiasm only for disassembly reading?
 
Old 10-14-2004, 05:39 PM   #2
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
You're not dealing with assembly at all, you want a hex editor. Assembly is the source code, which is turned into machine language. Assembly represents each machine language instruction in a human readable language, but all you want to do is change bytes. If you want a good hex editor for Windows, I recommend XVI - search google for it. Be sure to make a backup of the file before you edit it.
 
Old 10-14-2004, 11:44 PM   #3
blackzone
Member
 
Registered: Jun 2004
Posts: 256

Original Poster
Rep: Reputation: 30
what I actually want is a disassembler, not really a hex editor.
And be able to modify a few line of it.

There are some shareware on the web. windasm, hakmans' disassembler, but most of them place limit, like can read but can't save or can only open a limit size.

not sure if ndisasm and some other disassembler might able to do it?
but I hope for some ease to use software.
 
Old 10-15-2004, 02:36 AM   #4
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
Oh ok, if you really do want to edit ASM, then ndisasm would do what you want, but you would need to check into the PE header to find the offset the code starts, which would be a non-trivial amount of work.

There seem to be a few free programs here http://www.thefreecountry.com/progra...semblers.shtml, I doubt many of them would have arbitrary restrictions on them.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Assembly jinksys Programming 3 09-14-2003 04:33 PM
I need help for Assembly skb Programming 10 08-01-2003 04:51 PM
assembly genghis Programming 2 06-12-2003 07:46 AM
home assembly blotch Linux - Hardware 0 04-02-2003 10:24 PM
assembly sanjay pradhan Programming 1 02-01-2002 10:05 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration