ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.