Skip to content

Instantly share code, notes, and snippets.

View baldurk's full-sized avatar
👩‍⚕️
Working on RenderDoc

Baldur Karlsson baldurk

👩‍⚕️
Working on RenderDoc
View GitHub Profile
#include <stdlib.h>
#include <stdio.h>
struct Global {
Global() {
printf("a %s %s\n", getenv("HOME"), getenv("BLAH"));
setenv("BLAH", "blah", 1);
printf("b %s %s\n", getenv("HOME"), getenv("BLAH"));
}
} global;

Keybase proof

I hereby claim:

  • I am baldurk on github.
  • I am baldurk (https://keybase.io/baldurk) on keybase.
  • I have a public key ASBHbcqiRapqmYFZDONNnKuUYFOlZSsBa4Ko_ptIgh19zgo

To claim this, I am signing this object:

@baldurk
baldurk / sourceindex.md
Last active February 23, 2024 08:48
Source indexing for github projects

Symbol Servers

I'm assuming you are familiar with symbol servers - you might not have one set up yourself for your own projects, but you probably use Microsoft's public symbol server for downloading symbols for system DLLs.

For your own projects it might be useful to set up a symbol server - I won't go into how you do that here since it's well documented elsewhere, but basically you just set up a folder somewhere - say X:\symbols\ or \servername\symbols or even http://servername.foo/symbols/ which has a defined tree structure:

symbols/
symbols/mymodule.pdb/
symbols/mymodule.pdb/123456789012345678901234567890122/