Peter Goodman
Peter Goodman
As well as exception throwing.
I'm not able to repro this issue on build3, but it does reproduce on GitHub CI.
This index could then be connected to token highlighting in the gui, so that all instances of a given integer value would be highlighted.
I have a new hack that kind of works: ```shell LIBRARY_PATH= CPATH="-resource-dir ::...:" CPPFLAGS="-nostdinc -nobuiltininc" ```
This can be implemented with `decl->getFunctionScopeIndex()`.
Good process to find them for IDA Pro: ```shell strings -t x /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang | grep __builtin_xnu_ ``` That gets us addresses like: ``` 43f4550 __builtin_xnu_type_signature 43f456d __builtin_xnu_type_summary 43f4588 __builtin_xnu_types_compatible 4486b96...
Sometimes we won't find a coderef, and if IDA isn't telling us the DREFs, then we can go searching for them using search for bytes, using a hex string of...
The order of `TARGET_BUILTIN` info is: ``` #define TARGET_BUILTIN(id, type, attrs, features) \ {#id, type, attrs, kNoHeaderName, \ clang::LanguageID::ALL_LANGUAGES, features}, ``` ``` struct Info { const char *Name, *Type, *Attributes,...
Related to #396.
Get the base name of a mangled name: ```sql CREATE VIEW IF NOT EXISTS base_mangled_name AS SELECT m.entity_id AS entity_id, substr(m.data||' ', 0, instr(m.data||' ',' ')) AS data FROM mangled_name...