[Top][All Lists]

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

[DotGNU]Re: Entry Point Bug

From: Rhys Weatherley
Subject: [DotGNU]Re: Entry Point Bug
Date: Sun, 28 Apr 2002 11:11:08 +1000

> This bug is due to ilrun assuming the .entrypoint's parameters.

Fixed now.  ilrun will refuse to run an application
that does not use the correct arguments to "Main".
Only the following 4 prototypes are allowed:

static void Main();
static void Main(String[] args);
static int Main();
static int Main(String[] args);

The linker was already checking for this, and would
not recognise bogus entry points.  But if someone
deliberately hacks up the IL assembly code, the
engine will catch it.



reply via email to

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