class Program
{
private static void Main(string[] args)
{
while (true)
{
int p = new int();
}
}
}
.method private hidebysig static
void Main (
string[] args
) cil managed
{
// Method begins at RVA 0x2050
// Code size 11 (0xb)
.maxstack 1
.entrypoint
.locals init (
[0] int32 p,
[1] bool CS$4$0000
)
IL_0000: nop
IL_0001: br.s IL_0007
// loop start (head: IL_0007)
IL_0003: nop
IL_0004: ldc.i4.0
IL_0005: stloc.0
IL_0006: nop
IL_0007: ldc.i4.1
IL_0008: stloc.1
IL_0009: br.s IL_0003
// end loop
} // end of method Program::Main
.method private hidebysig static
void Main (
string[] args
) cil managed
{
// Method begins at RVA 0x2050
// Code size 2 (0x2)
.maxstack 8
.entrypoint
// loop start
IL_0000: br.s IL_0000
// end loop
} // end of method Program::Main
void main()
{
while (true)
{
int* p = new int;
}
}
000E1002 xor eax,offset __imp_operator new (0E20A0h)
000E1007 push 4
000E1009 call esi
000E100B add esp,4
000E100E jmp main+7 (0E1007h)
class Program
{
private static void Main(string[] args)
{
while (true)
{
int p = new int();
}
}
}
.method private hidebysig static
void Main (
string[] args
) cil managed
{
// Method begins at RVA 0x2050
// Code size 11 (0xb)
.maxstack 1
.entrypoint
.locals init (
[0] int32 p,
[1] bool CS$4$0000
)
IL_0000: nop
IL_0001: br.s IL_0007
// loop start (head: IL_0007)
IL_0003: nop
IL_0004: ldc.i4.0
IL_0005: stloc.0
IL_0006: nop
IL_0007: ldc.i4.1
IL_0008: stloc.1
IL_0009: br.s IL_0003
// end loop
} // end of method Program::Main
.method private hidebysig static
void Main (
string[] args
) cil managed
{
// Method begins at RVA 0x2050
// Code size 2 (0x2)
.maxstack 8
.entrypoint
// loop start
IL_0000: br.s IL_0000
// end loop
} // end of method Program::Main