4

In trying to understand a .so from an Android game made with Cocos2d-x, I've come across identifiers like the following (after demangling):

SceneActionMap::updateTalkMode(float)::$_37 SceneActionMap::onTouchEndedTalk(cocos2d::Touch*, cocos2d::Event*)::$_38

I'm still a little shaky on ELF & the C++ ABI, but these names are found in .rodata and are referred to by some kind of structure in .data.rel.ro that seems RTTI related.

What kind of entities are $_37 and $_38? Are these anonymous functions generated by the NDK, or are they some kind of metadata about other functions?

1 Answer 1

3

its a lambda function, as example stack trace in google https://github.com/Microsoft/vscode-cpptools/issues/2117

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.