Reverse Engineering RET Homepage RET Members Reverse Engineering Projects Reverse Engineering Papers Reversing Challenges Reverser Tools RET Re-Search Engine Reverse Engineering Forum Reverse Engineering Links

Go Back   Reverse Engineering Team Board > Reverse Engineering Board > .NET Reverse Engineering
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-14-2011, 08:47 AM
@lx @lx is offline
Junior Member
 
Join Date: Jan 2011
Posts: 3
Default Reduce .Net Exe Assembly file size

Hi All,

I'm currently looking a way to strip down the size of a .Net Exe Assembly. Using a toolchain ilmerge->monolinker->eazobfuscator->monocecil (to remove security attributes), and removing the .rsrc section at the PE file, everything is working well so far.

But now, I would like to remove the .reloc section, as I have read in the book "IL 2.0 Assembler" p61 : "if the common language runtime header flags indicate that the image file is IL only (COMIMAGE_FLAGS_ILONLY), the operating system ignores the .reloc section altogether.".

But trying to remove this section is producing an invalid .NET PE files. I'm running on Windows 7 and I thought that It was a CLI-aware platform that doesn't require the reloc section and is going directly to the managed entry point.

Am i missing something here?
Reply With Quote
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump





Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.