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

Old macOS 10.15.7 failed to execute analysis #128

Open
codingman-aiwass opened this issue May 13, 2023 · 4 comments
Open

Old macOS 10.15.7 failed to execute analysis #128

codingman-aiwass opened this issue May 13, 2023 · 4 comments

Comments

@codingman-aiwass
Copy link

mariana-trench --system-jar-configuration-path=$ANDROID_HOME/platforms/android-30/android.jar --apk-path=./debug.apk
INFO Extracting /Users/anran/myfiles/facebook_static_analysis/mariana-trench-main/documentation/sample-app/debug.apk...
INFO Extracted APK into /var/folders/tz/8wzw7j255211q35nvyx681h80000gn/T/tmpy3kupaew_apk and DEX into /var/folders/tz/8wzw7j255211q35nvyx681h80000gn/T/tmpd36kojt7_dex
INFO Running Mariana Trench: /Users/anran/miniconda3/envs/mariana-trench/bin/mariana-trench-binary --system-jar-paths /Users/anran/Library/Android/sdk//platforms/android-30/android.jar --apk-directory /var/folders/tz/8wzw7j255211q35nvyx681h80000gn/T/tmpy3kupaew_apk --dex-directory /var/folders/tz/8wzw7j255211q35nvyx681h80000gn/T/tmpd36kojt7_dex --rules-paths /Users/anran/miniconda3/envs/mariana-trench/share/mariana-trench/configuration/rules.json --repository-root-directory /Users/anran/myfiles/facebook_static_analysis/mariana-trench-main/documentation/sample-app/ --source-root-directory /Users/anran/myfiles/facebook_static_analysis/mariana-trench-main/documentation/sample-app/ --apk-path /Users/anran/myfiles/facebook_static_analysis/mariana-trench-main/documentation/sample-app/debug.apk --output-directory /Users/anran/myfiles/facebook_static_analysis/mariana-trench-main/documentation/sample-app/ --maximum-source-sink-distance 7 --model-generator-configuration-paths /Users/anran/miniconda3/envs/mariana-trench/share/mariana-trench/configuration/default_generator_config.json --model-generator-search-paths /Users/anran/miniconda3/envs/mariana-trench/share/mariana-trench/configuration/model-generators
dyld: Symbol not found: __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv
Referenced from: /Users/anran/miniconda3/envs/mariana-trench/bin/mariana-trench-binary (which was built for Mac OS X 13.0)
Expected in: /usr/lib/libc++.1.dylib

@codingman-aiwass
Copy link
Author

My OS is macOS Catalina, version is 10.15.7. It seems that my OS version is too low, how can I successfully run this without updating OS?

@DavidZhang-7
Copy link

I hava the same issue

@arthaud
Copy link
Contributor

arthaud commented Jun 21, 2023

Did you build mariana trench from source or installed it with pip?
The pip package might be broken on MacOS.

@DavidZhang-7
Copy link

Did you build mariana trench from source or installed it with pip? The pip package might be broken on MacOS.

Yes, installed it with pip.

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

No branches or pull requests

3 participants