Log in

View Full Version : meaing of this


trainingday
December 19th, 2005, 23:13
I have been searching a apps .il line for line and referencing each line so I can learn how .net works as instructed. I came across a line that I can not find any reference to the meaning searching the net and here. So Im posting asking for help with this line:

.field public static literal valuetype NntpApp.nntp.xxxx.AccountStatusEnum DownloadLimit = int32(0x00000004)

Also, i removed some lines from the program so instead of being 5.6mb its 5.3mb so when i load the program it shoots a instant error that it needs to close. Can you give me a word search to see how it checks for a change in size.


thanks

SiGiNT
December 20th, 2005, 01:26
Not to sure about .net since IDA doesn't ref code addresses, but i suspect that it the same as anything else - if you remove or add code it's gonna screw up all your jump and call references - if you remove a line - you need to replace it with an identical size of nops - your code line seems to br prog specific limiting an action this can be changed as long as you don't add to the size of the code.

SiGiNT

condzero
December 22nd, 2005, 09:30
As sigint33 says, you must be very careful when manipulating .il code as any changes that effect the stack will cause problems. You can run the tool peverify.exe to see if any of your changes will cause problems.

Your reference above appears to be nothing more than a variable / literal internal to the program? so why would you find anything on this doing a search on the net.