Why does the variable name in dll file is different from what I assigned to? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why does the variable name in dll file is different from what I assigned to?

.locals init (int32 V_0, int32 V_1, int32 V_2) /*IL code above*/ int a = 10, _a = 20; //Verbatim identifier - start with an @prefix int @int = 10; As you can see, the variable names in .dll file are V_0,V_1,V_2, instead of a, _a, int.

23rd Jun 2022, 2:25 AM
Yasswecancn
Yasswecancn - avatar
1 Answer
+ 1
There is a difference between the programmer's method of structuring/referencing and the (de)compiler's. Unless you create your own ofc Understand that things will be different on various levels of abstraction, but it's not a bad thing. Hope this helps!
26th Jun 2022, 4:34 PM
Charles Jones
Charles Jones - avatar