symbols

How do you search for symbols without knowing what they're called?

This is a question that's been bothering me for a while, and it's likely that there's no way around it. But I was curious if anyone has any techniques for dealing with this. How do you search on a symbol using a search engine (such as Google or Bing) without knowing the symbol's name...? Most standard search engines seem to ignore symb...

How do I debug into an ILMerged assembly?

Summary I want to alter the build process of a 2-assembly solution, such that a call to ILMerge is invoked, and the build results in a single assembly. Further I would like to be able to debug into the resultant assembly. Preparation - A simple example New Solution - ClassLibrary1 Create a static function 'GetMessage' in Class1 whic...

readelf coloumns

Could someone explain me the column headers when you display the symbol table using readelf ? ...

Html Encode on a string with symbols

Hi all, How do I encode a string with symbols like ', & @ #' in ASP.Net MVC? I have tried to use Html.Encode, but it returns '', how do I return a string as the user input? Thanks alot. ...

Can I have multiple PDBs for the same AssemblyVersion in the Symbol Server?

I have a Class Library that has an AssemblyVersion of 1.0.0.0 and has to keep it even when it's updated (SharePoint...). So I'm using the AssemblyFileVersion as the "real" version. Now, I want to setup a Symbol Server and I wonder if it's actually possible to have multiple PDBs for the same AssemblyVersion and have it automagically wor...

VS2010 profiler seems to not resolve symbols from ngen'd images

I'm profiling a Windows service by attaching to it in the 'sampling' mode. I open the results file, the "functions" view and I see the "hottest" function being displayed as [System.Runtime.Serialization.ni.dll] without indication of the concrete .net function inside this assembly. It looks like all other symbols from ngen'd assemblies...

Scheme symbolic equivalence

Hi all. The platform i'm working with is DrScheme. I've seen that a pair (a b) [constructed by (cons a b)] is implemented within the language like a procedure that looks like this: (define (cons a b) (lambda(pick) (cond ((= pick 1) a) ((= pick 2) b)))) and the selectors: (define (car x) (x 1)) (define (cdr x) (x 2))...

What does the SQL # symbol mean and how is it used?

Can someone please explain to me what the # symbol means in MS SQL Code. I've tried Googling it, and even searching on StackOverflow, but can't seem to find the answer. I feel like an idiot - having one of "those" days. Please help. ...

How to refer to the start-of a user-defined segment in a Visual Studio-project?

Hi, I'm struggling to convert a C-program linked with ld, of the gnu tool-chain to make it compile as a visual-studio (2005) project. The program puts .data-symbols in different segments and during an initialization phase it copies data between segments. Pointers to the start and end of the segments are defined in the ld linker scri...

Symbols in dropdownlist

How i can inset symbols in dropdownlis text like like in html or != ...

Generate symbols for debugging in wndbg

I have an C++ MFC project I'd like to debug with wndbg, and I need to generate the symbols for it when compiling the project. Does anybody know how to do that? I thought that de .pdb files where enough, but wndbg complains it cannot find symbol files at the path where these .pdb file reside for my project. ...

Duplicate symbol issues

During a refactor of an iOS project, I ran into this bear of a bug. During the linking phase, I get this message: ld: duplicate symbol _OBJC_IVAR_$_TinCanViewController.currentViewController in /path/to/TinCanViewController-E98A666B7AF2673A.o and /path/to/TinCanViewController-E98A666B7AF2673A.o As far as I can tell, it looks like i...

Xcode and AdMob on iPhone 3.2

How do I fix the following error: Undefined symbols: "_OBJC_CLASS_$_AdMobView", referenced from: objc-class-ref-to-AdMobView in AdWhirlAdapterAdMob.o ld: symbol(s) not found ...

What do the pdb files actually do?

OK, I realize that the PDB files are the symbol files for .NET assemblies. But I never really looked into their extended usage. If I hook in with a remote debugger from a visual studio that has the running code loaded, do I actually need the PDB files on the remote machine? Will I get unhandled exception information without them on th...

Symbol hiding in static libraries built with Xcode/gcc

I'm trying to figure out whether I can build a static library that hides all of its internal objects and functions, etc, except for the interfaces I want to export. I'm experimenting with Xcode (gcc 4.2). I've used the __attribute__((visibility("hidden"))) attribute on some C++ classes per this documentation. I've also defined little he...

How to check if program was compiled with debug symbols?

I'd like to trace some code in GIMP and therefore need GIMP with debug symbols enabled. I don't remember whether I have enabled them during compilation. How to check that without recompiling the program? ...

readelf-like tool for Mac OS X?

Is there a tool for reading Mac OS X binaries that would print information about relocation tables and symbol offsets similar to this readelf output? readelf -r app Relocation section '.rel.dyn' at offset 0x5ec contains 2 entries: Offset Info Type Sym.Value Sym. Name 08049d58 00001706 R_386_GLOB_DAT 00000000 _...

how can shared library get its own base address

I have the offset address's of all symbols (obtained with libelf executing on its own binary .so). Now, at runtime, I would need to calculate the absolutue address's of all those symbols and for that I would need to get the base address (where the shared library is loaded) and do a calculation: symbol_address = base_address + symbol_off...

Cannote find PDB Visual Studio 2010

Hi guys! I did my Hello World! program in Visual Studio 2010 C++, it does work all ok (except that if I enter 2 times it will close, it's normal?) But there is a little "error message" or whatever that appear in the debug log: 'C:\WINDOWS\system32\ntdll.dll', Cannot find or open the PDB file What does that mean? You can see my code...

What does <.ctor> mean when it appears in a symbol in .Net

I have a symbol that appears that is listed as MyNamespace.MyClass.<.ctor>b__8() What exactly does the <.ctor> mean? Or the b__8() for that matter? ...