Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MachO files duplicate symbols #1

Open
staticfloat opened this issue Oct 10, 2017 · 1 comment
Open

MachO files duplicate symbols #1

staticfloat opened this issue Oct 10, 2017 · 1 comment

Comments

@staticfloat
Copy link
Collaborator

MachO files create duplicate symbol entries, one local and one global. Figure out how to synthesize these properly.

@staticfloat
Copy link
Collaborator Author

Example:

julia> oh = readmeta("mac64/libfoo.dylib")                                                                         [6/8010]
MachO Handle (64-bit)

julia> syms = Symbols(oh)
MachO Symbol Table
  MachOSymbol (64 bit) "/Users/sabae/.julia/v0.6/BinaryBuilder/test/build_tests/libfoo/"
  MachOSymbol (64 bit) "libfoo.c"
  MachOSymbol (64 bit) "/tmp/cci1ObrT.o"
  MachOSymbol (64 bit) ""
  MachOSymbol (64 bit) "_foo"
  MachOSymbol (64 bit) ""
  MachOSymbol (64 bit) ""
  MachOSymbol (64 bit) ""
  MachOSymbol (64 bit) "_foo"
  MachOSymbol (64 bit) "dyld_stub_binder"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant