#11:Examining Generators Via CLR-WINDGB/NSTD

We can Examine the Generator Type(https://rangeshcode.wordpress.com/2014/08/03/10types-of-generators-gc/)  of Application using WinDbg/NSTD.

Steps(NSTD/WinDBG):

1 .symfix

2. .reload

3.g(Run exe)

4.ctrl+Break/Break -Break in Exception

5. .loadby sos clr (.net 4.0 >Above)

6.~0s(First Stack)

7. !eeheap -gc

8.To know the generation use sosex(.load sosex) and use !gcgen addreess.

 

Capture

 

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s