8000 compiler: rename Go conflictful symbols by NSEcho · Pull Request #1205 · frida/frida-core · GitHub
[go: up one dir, main page]

Skip to content

compiler: rename Go conflictful symbols - #1205

Merged
oleavr merged 12 commits into
frida:mainfrom
NSEcho:fix_compiler_symbols
Jan 23, 2026
Merged

oleavr merged 12 commits into
frida:mainfrom
NSEcho:fix_compiler_symbols

Conversation

@NSEcho
@NSEcho NSEcho commented Jan 12, 2026
Copy link
Copy Markdown
Member

This PR adds more logic to remove troublesome Go symbols which is mostly the case when cross-compiling for Windows on Linux using mingw.

Will see now how test goes and if there is anything that needs to be fixed.

@oleavr oleavr left a comment
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks! 🙌

Comment thread src/compiler/build-backend.py Resolved
Comment thread src/compiler/build-backend.py Resolved
Comment thread src/compiler/build-backend.py Resolved
Comment thread src/compiler/build-backend.py Resolved
< 8000 a title="Tweak style" data-pjax="true" class="Link--secondary markdown-title" href="/frida/frida-core/pull/1205/commits/9e65801c09487a9a5550fd9ad22c3befe396f409">Tweak style
Comment thread src/compiler/build-backend.py Resolved
@oleavr
oleavr commented Jan 15, 2026
Copy link
Copy Markdown
Member

I tweaked and simplified a bit. Does this still work for you?

@NSEcho
NSEcho commented Jan 15, 2026 •
Copy link
Copy Markdown
Member Author

Thanks @oleavr for the tweaks, that is looking great to me. It is working okay now and can be merged.

If in the future there happens to be some symbols that are causing link time failure, I will provide some small tutorial in the repo how to get rid of those symbols (the same algorithm used here) because we can't really sanitize every possible symbol combination that can occur.

@oleavr
oleavr commented Jan 16, 2026
Copy link
Copy Markdown
Member

@NSEcho Yay, thanks for testing! It looks like this is causing regressions on Windows (MSVC), so will have to figure that out before we can land this.

@oleavr
oleavr merged commit e1bb883 into frida:main Jan 23, 2026
47 of 56 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.

2 participants

0