Better solution would be to map to a source location (filename and line) instead.
Not necessary tho, the function already exists in the binary and already has a symbol. All you need is some compiler/language feature to change that symbol.
debug symbols already do that
Not necessary tho, the function already exists in the binary and already has a symbol. All you need is some compiler/language feature to change that symbol.