Skip to content

fix: read beam binary directly instead of using Module functions - #876

Open
doorgan wants to merge 1 commit into
mainfrom
doorgan/tracebuffer-beam-read
Open

fix: read beam binary directly instead of using Module functions#876
doorgan wants to merge 1 commit into
mainfrom
doorgan/tracebuffer-beam-read

Conversation

@doorgan

@doorgan doorgan commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

#856 introduced Module.definitions_in in the tracer(later moved to the tracebuffer). That function's docs specify that "This function can only be used on modules that have not yet been compiled". We cannot guarantee in the tracebuffer that the module was not yet been compiled, so we can't use that function. Also we already have the module binary available, so we should be reading that instead anyways.

This PR removes that function and reads the module binary for definitions like we do in the rest of the codebase.

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.

1 participant