Decompiling framework methods
-
hello all, Is there anyway to decompile a framework function so that I can see exactly what it does? The reason I want to do this is that I am having a few issues with : HttpServerUtility.MapPath(string) The issues I am having are far to long and complicated to get into, but any help would be greatly appreciated. Another option would be to somehow debug the method so I can see what data is actually travelling through it. post.mode = postmodes.signature; SELECT everything FROM everywhere WHERE something = something_else; > 1 Row Returned > 42
-
hello all, Is there anyway to decompile a framework function so that I can see exactly what it does? The reason I want to do this is that I am having a few issues with : HttpServerUtility.MapPath(string) The issues I am having are far to long and complicated to get into, but any help would be greatly appreciated. Another option would be to somehow debug the method so I can see what data is actually travelling through it. post.mode = postmodes.signature; SELECT everything FROM everywhere WHERE something = something_else; > 1 Row Returned > 42
-
hello all, Is there anyway to decompile a framework function so that I can see exactly what it does? The reason I want to do this is that I am having a few issues with : HttpServerUtility.MapPath(string) The issues I am having are far to long and complicated to get into, but any help would be greatly appreciated. Another option would be to somehow debug the method so I can see what data is actually travelling through it. post.mode = postmodes.signature; SELECT everything FROM everywhere WHERE something = something_else; > 1 Row Returned > 42
Look at
HttpRequest.MapPath(string, string, bool)
top secret xacc-ide 0.0.1 -
Lutz Roeder does a 'Reflector' that might help. It has come in handy for looking into system assemblies on a number of occasions. Try [^]
I have Reflector and it gets me part of the way towards solving my problem but not all the way. A little more information might be useful here, I get the following exception :
[ArgumentNullException: Value cannot be null.
Parameter name: str]
System.Security.Permissions.FileIOPermission.HasIllegalCharacters(String[] str) +231
System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) +88
System.Web.HttpRequest.MapPath(String virtualPath, String baseVirtualDir, Boolean allowCrossAppMapping) +305Having used reflector to view the code for .MapPath(...) it does not seem to call AddPathList(...) or go anywhere near the System.Security.Permissions namespace. Which leads me to believe that reflector isnt giving me all the code. Without getting into the nitty gritty of this, I have written an Apache webserver module that will allow me to serve ASP .NET applications with this webserver - it works brilliantly until I run anything that contains .MapPath. post.mode = postmodes.signature; SELECT everything FROM everywhere WHERE something = something_else; > 1 Row Returned > 42
-
Lutz Roeder does a 'Reflector' that might help. It has come in handy for looking into system assemblies on a number of occasions. Try [^]
N8url wrote: It has come in handy for looking into system assemblies on a number of occasions. Just as long as it doesnt jump into unmanaged code! :) top secret xacc-ide 0.0.1