ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  How Shellcodes Work
Subject:   Problem compiling c example.
Date:   2006-05-22 07:25:54
From:   Kza
First C example:
char code[]=

main() {
int (*shell)();
(int)shell = code;

Gives compiler error:
shellApp.c: In function ‘main’:
shellApp.c:9: error: invalid lvalue in assignment

1 to 2 of 2
1 to 2 of 2