Contribute  :  Web Resources  :  Past Polls  :  Site Statistics  :  Downloads  :  Forum  
    BiW ReversingThe challenge is yours    
 Welcome to BiW Reversing
 Friday, June 22 2018 @ 01:13 PM CEST
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Procedure address

 
Post new topic   Reply to topic    www.reversing.be Forum Index -> Coding Corner
View previous topic :: View next topic  
Author Message
sharpe
Frequent poster
Frequent poster


Joined: 20 Mar 2005
Posts: 65

PostPosted: Thu Mar 01, 2007 10:46 pm    Post subject: Procedure address Reply with quote

Hi,

What is the best way to get informationer about a method in ASM (using WinASM in case you're wondering)?

I wish to find the address of a procedure that I have written myself from within the same programme. Here is a little illustration:

Code:

Proc1 PROC
    ;do something
    ret
Proc1 EndP

Proc2 PROC
    mov eax,<address of Proc1>
    ...
    ret
Proc2 EndP


I tried with ADDR Proc1 but it wouldn't build.

Thanks in advance.

-sharpe
Back to top
View user's profile Send private message Visit poster's website
sharpe
Frequent poster
Frequent poster


Joined: 20 Mar 2005
Posts: 65

PostPosted: Thu Mar 01, 2007 10:48 pm    Post subject: Reply with quote

Got it.. OFFSET Proc1.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    www.reversing.be Forum Index -> Coding Corner All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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 can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
 Copyright © 2018 BiW Reversing
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 0.06 seconds