metadata userstring modification with xamarin .dll #2963
Replies: 4 comments
-
I'm not sure what exactly you are asking; but ILSpy in general does not modify assemblies, it is a read-only tool. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your quick reply, actually I'm desperately trying to modify a hardcoded url which ILSpy explorer shows it is stored inside metadata->userstring . No other decompiler I used so far shows the metadata for that Xamarin .dll except from ILSpy. |
Beta Was this translation helpful? Give feedback.
-
ILSpy nowadays has support for LZ4-compressed Xamarin .dlls (see #2137 for details). That could be a potential reason why other tools refuse to open your .dll. |
Beta Was this translation helpful? Give feedback.
-
I realized that. Actually I was using dnSpy before to decompile it so I could decompress the Xamarin .dlls by using the lz4 and compress back again after modifying it. I'm trying to save the metadata user strings heap as .il code but the file is empty. Any idea about this? |
Beta Was this translation helpful? Give feedback.
-
Is it possible to modify the metadata userstring with a xamarin .dll ?
Beta Was this translation helpful? Give feedback.
All reactions