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

Update build.yml (setup ndk) and 0003-Florida-symbol_frida_agent_main.patch #8

Merged
merged 2 commits into from
Jul 2, 2024

Conversation

MoonBirdLin
Copy link
Contributor

@MoonBirdLin MoonBirdLin commented Jun 20, 2024

frida 16.3.0 开始的florida, github action编译无法通过, 会报错 meson.build:1:0: ERROR: Unknown compiler(s): [['/home/runner/.setup-ndk/r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang', '-target', 'armv7-none-linux-android19', '-march=armv7-a', '-mfloat-abi=softfp', '-mfpu=vfpv3-d16']] (https://github.com/Ylarod/Florida/actions/runs/9374209002 这个action发生了这个问题)

之后发现是在android_build Job的 Setup Android NDK 里面对nttld/setup-ndk@v1的配置出了些问题, 也就是使用local-cache: true的话需要手动回复符号链接才能找到对应的clang和clang++; 这个bug nttld/setup-ndk那边还没有修复;

目前在我fork的repo里面测试后可以使用的一种替代方案是修改配置为local-cache: false \nlink-to-sdk: true就可以编译; (手动测试重新运行action 5次均成功); 所以想提个pr修复一下;

nttld/setup-ndk#518

Reference to nttld/setup-ndk#518, fixed the compiler error related to nttld/setup-ndk
@MoonBirdLin
Copy link
Contributor Author

MoonBirdLin commented Jun 21, 2024

@MoonBirdLin
De-obfuse symbol_frida_agent_main
这个修改是16.2.5之后貌似frida_agent_main符号没有替换完全, 所以直接动了下patch文件做了下修复

参考#6 这里做的修改

@MoonBirdLin MoonBirdLin changed the title Update build.yml (setup ndk) Update build.yml (setup ndk) and 0003-Florida-symbol_frida_agent_main.patch Jun 21, 2024
@Ylarod Ylarod merged commit 9172e84 into Ylarod:main Jul 2, 2024
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