flat assembler
Message board for the users of flat assembler.

Index > Windows > does idle proc get assembled?

Author
Thread Post new topic Reply to topic
vbVeryBeginner



Joined: 15 Aug 2004
Posts: 884
Location: \\world\asia\malaysia
vbVeryBeginner 04 Nov 2004, 10:54
hi,
i wish to ask one question.

assuming we are doing a format PE GUI 4.0 application.
and we write a proc that we didn't use, so in your oppinion, "Does FASM assembles your 'idle proc' into final app or not?"

any idea to force the fasm to assembles the idel proc?

sincerely,
sulaiman chang
Post 04 Nov 2004, 10:54
View user's profile Send private message Visit poster's website Reply with quote
pelaillo
Missing in inaction


Joined: 19 Jun 2003
Posts: 878
Location: Colombia
pelaillo 04 Nov 2004, 12:39
An unused proc is not assembled due to the proc macro, created to do it that way.

To fool the macro, you could do something like:

YourIdleProc = 1

anywhere on the code
Post 04 Nov 2004, 12:39
View user's profile Send private message Yahoo Messenger Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 19876
Location: In your JS exploiting you and your system
revolution 04 Nov 2004, 22:02
The "proc" macro has the "if used" line. You can create your own version of the proc macro and remove the "if used name" and "end if" lines.
Post 04 Nov 2004, 22:02
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 06 Nov 2004, 11:16
Or simply to create something like:
Code:
virtual at 0
  call YourProc   ; now the procedure is "used" and will be compiled.
end virtual
    


Regards
Post 06 Nov 2004, 11:16
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.