You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
detecting whether binaries on mac are stripped is a PITA. The cheapest way of doing so is:
create a copy of the file in /tmp/test_this_file using the python pathlib
invoke strip on /tmp/test_this_file
compare the filesize of the original file and this file. If they match, source was stripped - if not - not.
delete temporary file.
Part of this: research howto invoke strip, try on the shell in advance. Maybe stripped files change in size anyways? The build-folder on the CI should have a makefile invoking strip, hence this can be used for getting the syntax.
After revalidating that this approach is viable with a go binary (i.e. starter => not stripped) and and a c++ binary (arangod => stripped) on the interactive shell,
The implementation of this can be done on linux, since strip is also available there too.
The text was updated successfully, but these errors were encountered:
detecting whether binaries on mac are stripped is a PITA. The cheapest way of doing so is:
/tmp/test_this_file
using the python pathlib/tmp/test_this_file
Part of this: research howto invoke strip, try on the shell in advance. Maybe stripped files change in size anyways? The build-folder on the CI should have a makefile invoking strip, hence this can be used for getting the syntax.
After revalidating that this approach is viable with a go binary (i.e.
starter
=> not stripped) and and a c++ binary (arangod
=> stripped) on the interactive shell,The implementation of this can be done on linux, since strip is also available there too.
The text was updated successfully, but these errors were encountered: