Purifier bug?

Just starting out? Need help? Post your questions and find answers here.
Joubarbe
Enthusiast
Enthusiast
Posts: 714
Joined: Wed Sep 18, 2013 11:54 am
Location: France

Purifier bug?

Post by Joubarbe »

On this blog post, you can find this code:

Code: Select all

Procedure a()

a.l = 10

*CrazyPointer.Long = @a
*CrazyPointer+1
*CrazyPointer\l = 152  ; stack corruption

EndProcedure

a()
The error is only caught if you compile with the ASM backend. In C, the Purifier doesn't seem to do its job.
Fred
Administrator
Administrator
Posts: 18350
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Purifier bug?

Post by Fred »

Yes, it's not possible to do the same in C, I will take a closer look. For now, the purifier is more useful using the ASM backend.
Post Reply