home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.compilers      Compiler construction, theory, etc. (Mod      2,753 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,235 of 2,753   
   chakaram@auth.gr to All   
   Re: Executing from dynamically allocated   
   12 Oct 13 19:20:45   
   
   As our moderator pointed out, sounds like NX. Use mmap() with   
   PROT_READ|PROT_WRITE|PROT_EXEC or just PROT_WRITE and then mprotect()   
   your region to PROT_READ|PROT_EXEC.   
      
   If you're on an i386, then it's probably some kernel hardening patch   
   that makes the heap non executable.   
   ./ck   
   --   
   Chariton Karamitas   
   Electrical and Computer Engineering Department   
   Fuculty of Engineering   
   Aristotle University of Thessaloniki, Greece   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca