flat assembler
Message board for the users of flat assembler.

Index > Main > Value out of range with extrn

Author
Thread Post new topic Reply to topic
kamac



Joined: 06 Dec 2013
Posts: 12
kamac
Hi..

I have externed a function:
extrn '__imp__malloc' as malloc:dword

and down the code I have:
call [malloc]

And for some reason I get the value out of range error?


By the way, when I change the format to MS64 COFF, try to compile, then change the format to MS COFF, then it compiles. (Once.)
Post 06 Dec 2013, 21:20
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17716
Location: In your JS exploiting you and your system
revolution
You will have to show more code than that. Try to give us something minimal and complete that shows the problem.
Post 07 Dec 2013, 04:38
View user's profile Send private message Visit poster's website Reply with quote
kamac



Joined: 06 Dec 2013
Posts: 12
kamac
Problem no longer appears after switching to FASM dev build.
Post 07 Dec 2013, 17:53
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 7802
Location: Kraków, Poland
Tomasz Grysztar
Yes, there were some bugs fixed in current development line that could have affected this.

I in fact planned to make a new stable release out of the current development line soon.
Post 07 Dec 2013, 18:06
View user's profile Send private message Visit poster's website 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-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.