Skip to content

Conversation

@gbaraldi
Copy link
Contributor

@gbaraldi gbaraldi commented Jul 8, 2025

This returns the offset into the file that the symbol refers to.
This also checks in a version of libjulia and uses the dep_libs string as a test.

This returns the offset into the file that the symbol refers to.
This also checks in a version of libjulia and uses the dep_libs string as a test.
@codecov
Copy link

codecov bot commented Jul 8, 2025

Codecov Report

Attention: Patch coverage is 94.11765% with 1 line in your changes missing coverage. Please review.

Project coverage is 70.05%. Comparing base (47c7295) to head (3eef60e).
Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
src/MachO/MachOSymbol.jl 88.88% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #52      +/-   ##
==========================================
+ Coverage   69.00%   70.05%   +1.05%     
==========================================
  Files          46       46              
  Lines        1371     1386      +15     
==========================================
+ Hits          946      971      +25     
+ Misses        425      415      -10     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

function isundef(sym::MachOSymtabEntry)
return (symbol_type(sym) == N_UNDF) ||
(isglobal(sym) && symbol_section(sym) == NO_SECT)
(isglobal(sym) && sym.n_sect == NO_SECT)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reading the comments below, should this be checking for 0 instead of NO_SECT?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that was me being inconsistent. NO_SECT is just 0

@staticfloat staticfloat merged commit 975d584 into JuliaIO:master Jul 11, 2025
18 checks passed
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

Successfully merging this pull request may close these issues.

3 participants