|
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 segment holding a small piece of native
code. Is there a way in the C++ code to mark this array of bytes as
code?
The offending line of code is:
asm ("ljmp *%[src]" : : [src] "m"
(Xp));
where Xp is a byte pointer to an array in memory
holding native code.
Thanks for your help!
|
_______________________________________________ help-gplusplus mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gplusplus
