Removing reduntand code ²

Printable View

Show 100 post(s) from this thread on one page
Page 1 of 2 12 LastLast
Quote:

Originally Posted by bobsobol View Post
Nothing insurmountable, but lots of things to be wary of, I think you'll agree. :wink:

Well I am not sure about that, if X-trap is not guarding memory (because people disable it anyway) than if I move old code to new section and fix all offsets to it than it will work same way it was working before. Memory mapped files might be more confusing.


Quote:

Originally Posted by bobsobol View Post
[...]I also like to make extensive use of labels in Olly, just as I would when writing in a assembler source for later compilation...[...]

I sometimes going a bit more extreme than just that, giving functions names, putting pseudocode with fixed names of variables under assembly just to understand some part of code ;)


Quote:

Originally Posted by bobsobol View Post
There is also the third option which we haven't discussed here. Putting your new code and data into a DLL. This has an equal list of positive and negative, features and issues associated with it.

Dll might be easier for developing but I think that adding new section is more rewarding in the end. New section giving you more integrity with .exe and I would not put code that control user EXP into dll... :)
Show 100 post(s) from this thread on one page
Page 1 of 2 12 LastLast