I know ildasm.exe can be used to analyze the code of an assembly. I would like to use ILDASM.exe in my code. Is there a relevant API provided by microsoft that I can use to incorporate this functionality in my code. I don't want to call ildasm.exe and dump the file and parse. I would like to get the objects and manipulate them as per my use.
1
There are 1 best solutions below
Related Questions in C#-4.0
- How to call a C language function from x86 assembly code?
- What does: "char *argv[]" mean?
- User input sanitization program, which takes a specific amount of arguments and passes the execution to a bash script
- How to crop a BMP image in half using C
- How can I get the difference in minutes between two dates and hours?
- Why will this code compile although it defines two variables with the same name?
- Compiling eBPF program in Docker fails due to missing '__u64' type
- Why can't I use the file pointer after the first read attempt fails?
- #include Header files in C with definition too
- OpenCV2 on CLion
- What is causing the store latency in this program?
- How to refer to the filepath of test data in test sourcecode?
- 9 Digit Addresses in Hexadecimal System in MacOS
- My server TCP doesn't receive messages from the client in C
- Printing the characters obtained from the array s using printf?
Related Questions in VISUAL-STUDIO-2012
- An error occurred while trying to restore packages: 'Dapper' already has a dependency defined for 'System.Data.SqlClient'
- Getting Error 0x80131509 whenever I try to create a new empty project (using vs2012 as it's what my uni prefers)
- Visual Basic Supports
- Open Visual Studio 2012 solution in Visual Studio 2013
- Gif is Slow in Visual Studio C# Winform Application?
- The type initializer for 'Sybase.Data.AseClient1.AseConnection' threw an exception. SSIS - Sybase
- Is there a way to fix broken syntax highlighting in Visual Studio 2012?
- Visual Studio Ultimate
- Can __uuidof be used as a C-string const?
- How to connect MS Access database to Visual Basic
- Cannot drag and drop items from toolbox in Visual studio
- Invalid operation. Could not find default endpoint element
- I keep on receiving a "bash permission denied" notification every time I try to execute a program on VS Code
- Wix Toolset v4 Shortcut & installation directory per login user
- Migrating from VS2012: Opening in VS2022 does not prompt for upgrade
Related Questions in ILDASM
- Why is Ildasm for dotnet 7 installed with Visual Studio 2022 in a folder named NETFX 4.8?
- Ilasm doesn't seem to include resources in dll
- How to determine http verb allowed on a .net function using ildasm
- Is there an ILDASM tool for dotnet 5 or 6?
- ildasm.exe disassembly code viewer failed to exit unexpectedly with error code BEX64
- ILDASM could not be found in the PowerShell window of Visual Studio 2019
- How to run ildasm on .Net core exe/assembly?
- ildasm on Linux via nuget installation: ildasm executable not found
- How can I decompiling IL code of .net framework
- Where is "ildasm" in Visual Studio 2019?
- Manually signing a 3rd Party dll looses file details
- ILDASM and ILASM, how use them?
- ildasm / ilasm - Symantec false positive
- Modifying IL code causing InvalidProgramException at runtime
- which type of the constant does the `ldstr` instruction use?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
In that case you would want to use Reflection to loop through the various entities in an assembly. All of the objects (including private classes/fields/etc) should be available this way.
If that is not enough, you could also take a look at Cecil (though I have not used it myself).
I am assuming your application is actually a .NET application based on your question.