help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Executing code


From: Paul Pluzhnikov
Subject: Re: Executing code
Date: Thu, 29 Jun 2006 16:02:46 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux)

"Ted Williams" <tedwilliams@alum.mit.edu> writes:

> In executing C++ code running on Red Hat Fedora 5 compiled with GNU C++ 
> compiler, I get a SIGSEGV segmentation fault when the code attempts to jump 
> to a data

[Please set your Outlook to wrap lines at 72 when posting to usenet,
or risk being ignored ... Rest of the message wrapped.]

> segment holding a small piece of native code. Is there a way in
> the C++ code to mark this array of bytes as code?

Do "man mprotect".

Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]