Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add src_to_binary_ext that returns addrs_syms#98

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@ameeuw
Copy link
Contributor

This PR adds asrc_to_binary_ext function that assembles the binary, collects the addresses of symbols, and returns them.
It also alters the existingsrc_to_binary function to use it in order to print the addresses of symbols out and only return the binary.

This change was necessary, as I had the requirement to know the addresses of symbols to replace them in resulting code segments, and I think it makes sense to not just print the symbols out but to have them available programatically.

Please let me know if there is any further guideline I should follow to get this PR merged - happy to adjust and collaborate.

ThomasWaldmann and wnienhaus reacted with thumbs up emoji
Copy link
Collaborator

@ThomasWaldmannThomasWaldmann left a comment

Choose a reason for hiding this comment

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

Thanks for the PR, it makes a lot of sense! :-)

Just one minor nitpick: can you please keep the 2 empty lines between toplevel functions?

Looks like we don't have the pep8 style checker active in the CI here, but we try to follow it nevertheless.

Other than that: LGTM!

@ameeuw
Copy link
ContributorAuthor

Thanks for the PR, it makes a lot of sense! :-)

Just one minor nitpick: can you please keep the 2 empty lines between toplevel functions?

Looks like we don't have the pep8 style checker active in the CI here, but we try to follow it nevertheless.

Other than that: LGTM!

Thank you - done.

wnienhaus reacted with thumbs up emoji

@wnienhauswnienhaus merged commit37e68c5 intomicropython:masterApr 4, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@ThomasWaldmannThomasWaldmannThomasWaldmann approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@ameeuw@ThomasWaldmann@wnienhaus

[8]ページ先頭

©2009-2025 Movatter.jp