<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>A Glitch in Code Takes Nine Department</title>
	<atom:link href="http://shellexecute.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://shellexecute.wordpress.com</link>
	<description>Debugging, gedubbing and all other rotting things in between.</description>
	<lastBuildDate>Fri, 25 Sep 2009 08:53:52 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='shellexecute.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/b5622230accc0dd5275bba22f490ea0b?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>A Glitch in Code Takes Nine Department</title>
		<link>http://shellexecute.wordpress.com</link>
	</image>
			<item>
		<title>BinScope and other SDL tools</title>
		<link>http://shellexecute.wordpress.com/2009/09/24/binscope-and-other-sdl-tools/</link>
		<comments>http://shellexecute.wordpress.com/2009/09/24/binscope-and-other-sdl-tools/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 08:48:31 +0000</pubDate>
		<dc:creator>nvedala</dc:creator>
				<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://shellexecute.wordpress.com/?p=78</guid>
		<description><![CDATA[This is cool. Microsoft is releasing some of their internal tools used in Secure Development Lifecycle for free.
You can download them at SDL tools.
Update: Damn! BinScope requires .NET 3.5 framework. So Win2000 is ruled out!! Unfortunately we are still using Windows 2000 at office.
Posted in Tools       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellexecute.wordpress.com&blog=2583687&post=78&subd=shellexecute&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This is cool. Microsoft is releasing some of their internal tools used in Secure Development Lifecycle for free.</p>
<p>You can download them at <a href="http://msdn.microsoft.com/en-us/security/cc421514.aspx" target="_blank">SDL tools</a>.</p>
<p>Update: Damn! BinScope requires .NET 3.5 framework. So Win2000 is ruled out!! Unfortunately we are still using Windows 2000 at office.</p>
Posted in Tools  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shellexecute.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shellexecute.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shellexecute.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shellexecute.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shellexecute.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shellexecute.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shellexecute.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shellexecute.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shellexecute.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shellexecute.wordpress.com/78/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellexecute.wordpress.com&blog=2583687&post=78&subd=shellexecute&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://shellexecute.wordpress.com/2009/09/24/binscope-and-other-sdl-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">nvedala</media:title>
		</media:content>
	</item>
		<item>
		<title>Clearcase MVFS corrupts file &#8211; Cannot delete file &#8220;Invalid DOS Function&#8221;</title>
		<link>http://shellexecute.wordpress.com/2009/06/30/clearcase-mvfs-corrupts-file-cannot-delete-file-invalid-dos-function/</link>
		<comments>http://shellexecute.wordpress.com/2009/06/30/clearcase-mvfs-corrupts-file-cannot-delete-file-invalid-dos-function/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 10:38:35 +0000</pubDate>
		<dc:creator>nvedala</dc:creator>
				<category><![CDATA[Debugging]]></category>
		<category><![CDATA[Woes]]></category>

		<guid isPermaLink="false">http://shellexecute.wordpress.com/?p=75</guid>
		<description><![CDATA[I have clearcase 7.0.1.2 on Win2k OS.
When I built a project using Visual Studio .NET 2003, files are created in output &#8220;Release&#8221; directory which gets created under the vob. In this folder one particular file &#8220;vc70.idb&#8221; started creating problems. During further builds, VS is not able to delete this file to overwrite. My first reaction [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellexecute.wordpress.com&blog=2583687&post=75&subd=shellexecute&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I have clearcase 7.0.1.2 on Win2k OS.<br />
When I built a project using Visual Studio .NET 2003, files are created in output &#8220;Release&#8221; directory which gets created under the vob. In this folder one particular file &#8220;vc70.idb&#8221; started creating problems. During further builds, VS is not able to delete this file to overwrite. My first reaction was to delete it from explorer only to find &#8220;Invalid DOS function&#8221; or such similar error message. Next step was to open CMD and try to delete this file. This too gave the same useless error message.  Due to urgency, I renamed the &#8220;Release&#8221; to &#8220;Release_somenumber&#8221;, changed output directory to my local drive and did further builds.</p>
<p>I got back to the problem later and there was no other way to delete this vc70.idb file. Name shows up in the explorer but just cannot get rid of these files. Our IT support guys were told about the problem and they came down, struggled for few hours and finally left saying they will escalate to IBM team. I did not wait for them because I know they will take few weeks to solve this.</p>
<p>So I decided to solve this myself with ever useful <a href="http://technet.microsoft.com/en-us/sysinternals/default.aspx" target="_blank">sysinternals</a> tools. Solving this issue was trivial.</p>
<p>1. I fired up <a href="http://live.sysinternals.com/filemon.exe" target="_blank">filemon.exe</a> from <a href="http://technet.microsoft.com/en-us/sysinternals/default.aspx" target="_blank">sysinternals</a>.<br />
2. I opened explorer and tried deleting this &#8220;vc70.idb&#8221; file.<br />
3. Stopped filemon capturing. Filemon shows the actual file location vc70.idb points to in the clearcase view. It leads to something like<br />
&#8220;\\networkshare\csv_view.vws\.s0018\80000eabbglslvc70.idb&#8221;<br />
4. Now it is trivial: open notepad and save the file with the same name shown by filemon in that location.<br />
5. Go to explorer and simply delete the file!! voila!!</p>
Posted in Debugging, Woes  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shellexecute.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shellexecute.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shellexecute.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shellexecute.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shellexecute.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shellexecute.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shellexecute.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shellexecute.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shellexecute.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shellexecute.wordpress.com/75/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellexecute.wordpress.com&blog=2583687&post=75&subd=shellexecute&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://shellexecute.wordpress.com/2009/06/30/clearcase-mvfs-corrupts-file-cannot-delete-file-invalid-dos-function/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">nvedala</media:title>
		</media:content>
	</item>
		<item>
		<title>FRAVIA Passed Away</title>
		<link>http://shellexecute.wordpress.com/2009/06/24/fravia-passed-away/</link>
		<comments>http://shellexecute.wordpress.com/2009/06/24/fravia-passed-away/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 07:27:40 +0000</pubDate>
		<dc:creator>nvedala</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://shellexecute.wordpress.com/2009/06/24/fravia-passed-away/</guid>
		<description><![CDATA[Posted in Uncategorized       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellexecute.wordpress.com&blog=2583687&post=74&subd=shellexecute&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[Posted in Uncategorized       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellexecute.wordpress.com&blog=2583687&post=74&subd=shellexecute&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://shellexecute.wordpress.com/2009/06/24/fravia-passed-away/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">nvedala</media:title>
		</media:content>
	</item>
		<item>
		<title>Overview on rootkits</title>
		<link>http://shellexecute.wordpress.com/2009/05/20/overview-on-rootkits/</link>
		<comments>http://shellexecute.wordpress.com/2009/05/20/overview-on-rootkits/#comments</comments>
		<pubDate>Thu, 21 May 2009 08:32:35 +0000</pubDate>
		<dc:creator>nvedala</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://shellexecute.wordpress.com/2009/05/20/overview-on-rootkits/</guid>
		<description><![CDATA[Interesting article on rootkit overview can be found at SecurityFocus
Posted in Uncategorized       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellexecute.wordpress.com&blog=2583687&post=70&subd=shellexecute&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Interesting article on rootkit overview can be found at SecurityFocus</p>
Posted in Uncategorized  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shellexecute.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shellexecute.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shellexecute.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shellexecute.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shellexecute.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shellexecute.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shellexecute.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shellexecute.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shellexecute.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shellexecute.wordpress.com/70/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellexecute.wordpress.com&blog=2583687&post=70&subd=shellexecute&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://shellexecute.wordpress.com/2009/05/20/overview-on-rootkits/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">nvedala</media:title>
		</media:content>
	</item>
		<item>
		<title>WinDbg 6.11.1.402 released</title>
		<link>http://shellexecute.wordpress.com/2009/02/08/windbg-6111402-released/</link>
		<comments>http://shellexecute.wordpress.com/2009/02/08/windbg-6111402-released/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 04:18:58 +0000</pubDate>
		<dc:creator>nvedala</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://shellexecute.wordpress.com/2009/02/08/windbg-6111402-released/</guid>
		<description><![CDATA[get it from WHDC. Or www.windbg.org for quick links
Posted in Uncategorized       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellexecute.wordpress.com&blog=2583687&post=69&subd=shellexecute&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>get it from WHDC. Or <a href="http://www.windbg.org" target="_blank">www.windbg.org</a> for quick links</p>
Posted in Uncategorized  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shellexecute.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shellexecute.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shellexecute.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shellexecute.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shellexecute.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shellexecute.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shellexecute.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shellexecute.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shellexecute.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shellexecute.wordpress.com/69/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellexecute.wordpress.com&blog=2583687&post=69&subd=shellexecute&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://shellexecute.wordpress.com/2009/02/08/windbg-6111402-released/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">nvedala</media:title>
		</media:content>
	</item>
		<item>
		<title>WinDbg internal release with CLR support</title>
		<link>http://shellexecute.wordpress.com/2008/12/11/windbg-internal-release-with-clr-support/</link>
		<comments>http://shellexecute.wordpress.com/2008/12/11/windbg-internal-release-with-clr-support/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 04:19:50 +0000</pubDate>
		<dc:creator>nvedala</dc:creator>
				<category><![CDATA[Debugging]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[WinDbg]]></category>

		<guid isPermaLink="false">http://shellexecute.wordpress.com/?p=64</guid>
		<description><![CDATA[As explained by Volker von Einem here, WinDbg 6.70.05.0 is special in the sense it has CLR debugging support. Microsoft erred and released this version which is actually internal release. It is not available for download anymore and those who have kept copies are lucky. Worst still, MS never intends to release this CLR support [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellexecute.wordpress.com&blog=2583687&post=64&subd=shellexecute&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>As explained by Volker von Einem<a href="http://voneinem-windbg.blogspot.com/2008/11/windbg-version-6103233-is-out-i-still.html" target="_blank"> here</a>, WinDbg 6.70.05.0 is special in the sense it has CLR debugging support. Microsoft erred and released this version which is actually internal release. It is not available for download anymore and those who have kept copies are lucky. <a href="http://groups.google.com/group/microsoft.public.windbg/browse_thread/thread/03530a0643372f66#" target="_blank">Worst still</a>, MS never intends to release this CLR support in the foreseeable future.</p>
<p>Just in case if you are that unlucky one and have not got 6.70.05.0 version with you, I digged out a link which seems to work:</p>
<p>hxxp://cert.sjtu.edu.cn/download/mdt/dbg_x86_6.7.05.0.exe</p>
<p>I need to get MD5 hash from Volker since he has original one from MS. I&#8217;ll then update this post just to make sure Chinese website has not modified it in anyway.</p>
Posted in Debugging, Tools  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shellexecute.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shellexecute.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shellexecute.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shellexecute.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shellexecute.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shellexecute.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shellexecute.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shellexecute.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shellexecute.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shellexecute.wordpress.com/64/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellexecute.wordpress.com&blog=2583687&post=64&subd=shellexecute&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://shellexecute.wordpress.com/2008/12/11/windbg-internal-release-with-clr-support/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">nvedala</media:title>
		</media:content>
	</item>
		<item>
		<title>Storing your Debug Symbols</title>
		<link>http://shellexecute.wordpress.com/2008/12/02/storing-your-debug-symbols/</link>
		<comments>http://shellexecute.wordpress.com/2008/12/02/storing-your-debug-symbols/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 07:05:17 +0000</pubDate>
		<dc:creator>nvedala</dc:creator>
				<category><![CDATA[Debugging]]></category>
		<category><![CDATA[debug symbols]]></category>
		<category><![CDATA[symstore]]></category>

		<guid isPermaLink="false">http://shellexecute.wordpress.com/?p=62</guid>
		<description><![CDATA[Here is simple batch file to store symbols of released versions of your product. Symstore.exe is used from Debugging Tools. I use this regularly to save debugging symbols of our product locally in structured manner.
set BUILDNUM=%1
&#8220;C:\Program Files\Debugging Tools for Windows\symstore.exe&#8221; add /r /f &#8220;&#60;path-to-your-prod-symbols-in-the-build&#62;\*.pdb&#8221; /s \\&#60;path-to-symbol-store-folder&#62; /t &#8220;My Product Name&#8221; /v &#8220;Build %BUILDNUM%&#8221;
Developers can then [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellexecute.wordpress.com&blog=2583687&post=62&subd=shellexecute&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Here is simple batch file to store symbols of released versions of your product. Symstore.exe is used from Debugging Tools. I use this regularly to save debugging symbols of our product locally in structured manner.</p>
<p>set BUILDNUM=%1</p>
<p>&#8220;C:\Program Files\Debugging Tools for Windows\symstore.exe&#8221; add /r /f &#8220;<em>&lt;path-to-your-prod-symbols-in-the-build&gt;</em>\*.pdb&#8221; /s \\<em>&lt;path-to-symbol-store-folder&gt;</em> /t &#8220;My Product Name&#8221; /v &#8220;Build %BUILDNUM%&#8221;</p>
<p>Developers can then append path to existing symbols path:</p>
<p>SRV*C:\WinSymbols*http://msdl.microsoft.com/download/symbols;<em>&lt;path-to-your-symbol-store-folder&gt;</em></p>
<p>If some product is buggy and you don&#8217;t want symbols of it anymore, you can use Symstore to remove by using ID. This ID can be found in &#8220;<em>&lt;path-to-your-symbol-store-folder&gt;00Admin</em>&#8221; folder.  &#8220;<em>History.txt</em>&#8221; in this location will also show the date when storing is done and corresponding ID.</p>
<p>Advantage using symstore is, needless to say, you don&#8217;t have to worry about looking for right symbols when debugging your product. WinDbg resolves it for you <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
Posted in Debugging  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shellexecute.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shellexecute.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shellexecute.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shellexecute.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shellexecute.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shellexecute.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shellexecute.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shellexecute.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shellexecute.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shellexecute.wordpress.com/62/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellexecute.wordpress.com&blog=2583687&post=62&subd=shellexecute&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://shellexecute.wordpress.com/2008/12/02/storing-your-debug-symbols/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">nvedala</media:title>
		</media:content>
	</item>
		<item>
		<title>WinDbg New Release 6.10.3.233</title>
		<link>http://shellexecute.wordpress.com/2008/11/23/windbg-new-release-6103233/</link>
		<comments>http://shellexecute.wordpress.com/2008/11/23/windbg-new-release-6103233/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 05:51:11 +0000</pubDate>
		<dc:creator>nvedala</dc:creator>
				<category><![CDATA[Debugging]]></category>
		<category><![CDATA[WinDbg]]></category>

		<guid isPermaLink="false">http://shellexecute.wordpress.com/?p=58</guid>
		<description><![CDATA[WHDC site announced new WinDbg release 6.10.3.233
http://msdl.microsoft.com/download/symbols/debuggers/dbg_x86_6.10.3.233.msi
Posted in Debugging       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellexecute.wordpress.com&blog=2583687&post=58&subd=shellexecute&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>WHDC site announced new WinDbg release 6.10.3.233</p>
<p>http://msdl.microsoft.com/download/symbols/debuggers/dbg_x86_6.10.3.233.msi</p>
Posted in Debugging  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shellexecute.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shellexecute.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shellexecute.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shellexecute.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shellexecute.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shellexecute.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shellexecute.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shellexecute.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shellexecute.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shellexecute.wordpress.com/58/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellexecute.wordpress.com&blog=2583687&post=58&subd=shellexecute&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://shellexecute.wordpress.com/2008/11/23/windbg-new-release-6103233/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">nvedala</media:title>
		</media:content>
	</item>
		<item>
		<title>Aphorism for Christmas 2008</title>
		<link>http://shellexecute.wordpress.com/2008/11/21/aphorism-for-christmas-2008/</link>
		<comments>http://shellexecute.wordpress.com/2008/11/21/aphorism-for-christmas-2008/#comments</comments>
		<pubDate>Sat, 22 Nov 2008 11:29:10 +0000</pubDate>
		<dc:creator>nvedala</dc:creator>
				<category><![CDATA[bugs]]></category>
		<category><![CDATA[aphorisms]]></category>

		<guid isPermaLink="false">http://shellexecute.wordpress.com/?p=56</guid>
		<description><![CDATA[&#8220;Diamonds are forever but bugs are an error&#8221;
Posted in bugs       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellexecute.wordpress.com&blog=2583687&post=56&subd=shellexecute&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>&#8220;Diamonds are forever but bugs are an error&#8221;</p>
Posted in bugs  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shellexecute.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shellexecute.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shellexecute.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shellexecute.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shellexecute.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shellexecute.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shellexecute.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shellexecute.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shellexecute.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shellexecute.wordpress.com/56/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellexecute.wordpress.com&blog=2583687&post=56&subd=shellexecute&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://shellexecute.wordpress.com/2008/11/21/aphorism-for-christmas-2008/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">nvedala</media:title>
		</media:content>
	</item>
		<item>
		<title>IGroupPolicyObject::New will fail if thread is impersonating or identity or delegation</title>
		<link>http://shellexecute.wordpress.com/2008/11/18/igrouppolicyobjectnew-will-fail-if-thread-is-impersonating-or-identity-or-delegation/</link>
		<comments>http://shellexecute.wordpress.com/2008/11/18/igrouppolicyobjectnew-will-fail-if-thread-is-impersonating-or-identity-or-delegation/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 08:19:58 +0000</pubDate>
		<dc:creator>nvedala</dc:creator>
				<category><![CDATA[Debugging]]></category>
		<category><![CDATA[Woes]]></category>
		<category><![CDATA[IGroupPolicyObject]]></category>
		<category><![CDATA[WinDbg]]></category>

		<guid isPermaLink="false">http://shellexecute.wordpress.com/?p=53</guid>
		<description><![CDATA[I had the chance to debug into CGroupPolicyObject::New method in GPEdit.dll since the call is failing.
My finding is that if a thread&#8217;s Security Impersonation Level is anything other than Anonymous, the call will fail.
SecurityAnonymous, SecurityIdentification,
  SecurityImpersonation,
  SecurityDelegation
The reason is that the code in this method is as follows ( this is my code guessed from disassembly):
HTOKEN hToken [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellexecute.wordpress.com&blog=2583687&post=53&subd=shellexecute&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I had the chance to debug into CGroupPolicyObject::New method in GPEdit.dll since the call is failing.</p>
<p>My finding is that if a thread&#8217;s <a href="http://msdn.microsoft.com/en-us/library/aa489535.aspx" target="_blank">Security Impersonation Level</a> is anything other than Anonymous, the call will fail.</p>
<pre>SecurityAnonymous, SecurityIdentification,
  SecurityImpersonation,
  SecurityDelegation</pre>
<p>The reason is that the code in this method is as follows ( this is my code guessed from disassembly):</p>
<p>HTOKEN hToken = NULL;</p>
<p>OpenThreadToken(GetCurrentThread(),TOKEN_DUPLICATE,TRUE,&amp;hToken);</p>
<p>&#8230;</p>
<p>CGroupPolicyObject::EnableSecurityPriv();</p>
<p>&#8230;</p>
<p>SetThreadToken(0,hToken);</p>
<p>You see, they are opening the token without TOKEN_IMPERSONATE flag and SetThreadToken will throw error if this flas is not used in the access token. Reason why it works for anonymous level is OpenThreadToken fails and sets hToken to NULL. And the resulting call is SetThreadToken(0,NULL) which will succeed. See SetThreadToken() in MSDN.</p>
<p>Tool used: WinDbg</p>
Posted in Debugging, Woes  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shellexecute.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shellexecute.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shellexecute.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shellexecute.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shellexecute.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shellexecute.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shellexecute.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shellexecute.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shellexecute.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shellexecute.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellexecute.wordpress.com&blog=2583687&post=53&subd=shellexecute&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://shellexecute.wordpress.com/2008/11/18/igrouppolicyobjectnew-will-fail-if-thread-is-impersonating-or-identity-or-delegation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">nvedala</media:title>
		</media:content>
	</item>
	</channel>
</rss>