Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Reflector - Variales Names VB$t_ref$S26

Posted on 2009-04-24
6
Medium Priority
?
334 Views
Last Modified: 2012-05-06
When I dissable a DLL with Reflector, so of the variables have these strange names, like VB$t_ref$S26
Dim VB$t_ref$S26 As Control = Me.Page

Why is it like this?
0
Comment
Question by:JRockFL
  • 3
  • 3
6 Comments
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 24230584
Reflector could not determine the variable names from the IL, so it made up a name. The names are funky because Reflector has to name all the variables it can't identify, so it must come up with a unique naming scheme.
0
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 2000 total points
ID: 24230590
When you compile a C program, for instance, the variables and functions and such are translated into assembly code, which is in turn compiled into machine code. Once you get to those lower levels, you are not dealing with variable names anymore. Rather you are dealing with address offsets. As such, it i impossible for a decompiler to know what the variables were originally called.

I would imagine something similar happens with .NET IL.
0
 
LVL 8

Author Comment

by:JRockFL
ID: 24230596
Oh ok. The previous developer left and we do not have the source, just the dlls and we need to make some changes to the classes.

Should I leave the funky names or do a find and replace on them? Is this how I would recreate the classes from the dlls?
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 8

Author Comment

by:JRockFL
ID: 24230598
Then why can it determine some names and not others? ;)
0
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 24231714
Are the variables/functions with the strange names coming from a 3rd party dll perhaps?
0
 
LVL 8

Author Closing Comment

by:JRockFL
ID: 31574464
Yes, it is possible. Thank you for your help. You have answered my questions
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Loops Section Overview
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…
Suggested Courses

572 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question