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

Problem when excluding symbols resulting from C++ template instanciations #1

Closed
ffevotte opened this issue Oct 26, 2016 · 1 comment
Labels

Comments

@ffevotte
Copy link
Member

When testing verrou on C++ code using STL functions, many symbols resulting from template instanciation have very complex names (like in the following anonymized example, as output by --gen-exclude)

std::_List_iterator<MyType>::_List_iterator(std::_List_node_base*)     my_binary
std::iterator_traits<__gnu_cxx::__normal_iterator<int const*, std::vector<int, std::allocator<int> > > >::iterator_category std::__iterator_category<__gnu_cxx::__normal_iterator<int const*, std::vector<int, std::allocator<int> > > >(__gnu_cxx::__normal_i     my_binary

Such symbols are not currently excluded.

@ffevotte ffevotte added the bug label Oct 26, 2016
@ffevotte
Copy link
Member Author

First ideas: this might be due to the following causes:

  • spaces in the symbol names
  • length of the symbol names greater than some constant used to allocate temporary buffers in the code

ffevotte added a commit that referenced this issue Oct 29, 2016
This should help in the context of C++ programs (cf. issue #1)
ffevotte added a commit that referenced this issue Oct 29, 2016
ffevotte added a commit to ffevotte/verrou that referenced this issue Jun 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant