青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

歲月流轉,往昔空明

C++博客 首頁 新隨筆 聯系 聚合 管理
  118 Posts :: 3 Stories :: 413 Comments :: 0 Trackbacks

Syntax of SASL Symbol Name Mangling

September 26

2010

This script describes the rules of symbol name mangling.

V1.0

SASL Name Mangling Syntax

V1.0

Name mangling can be applied to name of function mainly, for distinguishing the overloaded function

MangledName is the result of Name Mangling. It starts with ‘M’ character and ends with ‘Z’ character.

MangledName ::= ‘M’ QualifiedName ‘@@’ ParameterTypes CallingConvention

QualifiedName is base name qualified by scope name. A scope name could be a structure name, class name or namespace name.

ParameterTypes describes the types of parameter list.

‘@@’ is the splitter between qualified name and parameter type.

QualifiedName ::= ( ScopeName ‘@’ )* BaseName

QualifiedName is composited by scope name and base name. ‘@’ is used to split the scope segments.

ScopeName ::=

‘S’ StructTypeName

‘N’ NamespaceName

StructTypeName ::= <name of structure>

NamespaceName ::= <name of namespace>

BaseName ::= <literal name of function>

ScopeName are two sorts, structure name or namespace name. Sorts are distinguished by a lead character. If the name starts with ‘S’ it means the name of structure, and ‘N’ means following name represents a namespace. Note that, if

BaseName is the literal name of the function or a type.

ParameterTypes is a list of parameter types. Because SASL do not support variance parameters, so we need not to considerate that. Syntax of ParameterTypes as following:

ParameterTypes ::= ( ParameterType ‘@@’)*

ParameterType is encoded by type qualifiers and type name.

NOTE THAT, anywhere type name referred means that the original definition name but not alias( such as generated by “typedef” ).

ParameterType ::= ScopeQualifiedTypeName

ScopeQualifiedTypeName is the type name qualified by scopes. It is similar with qualified name.

ScopeQualifiedTypeName ::= ( ScopeName ‘@’ )* BaseTypeName

ScopeName ::= ( ‘S’ StructTypeName ) | ( ‘N’ NamespaceName )

QualifiedBaseTypeName ::= TypeQualifier BaseTypeName

TypeQualifier ::= (‘C’)?(‘S’)?(‘U’)?Q

TypeQualifier describes the qualifier of declaration. In SASL, following qualifiers are supported: constant qualifier (‘C’), uniform qualifier (‘U’) and shared qualifier (‘S’). Each qualifier is represented as a character, and qualifiers is ended by a character ‘Q’.

BaseTypeName ::=

‘S’ StructTypeName

‘B’ BuildinScalarTypeName

‘V’ BuildinVectorTypeName

‘F’ FunctionTypeName

‘M’ BuildinMatrixTypeName

‘A’ ArraySize ArrayComponentTypeName

StructTypeName ::= <literal name of structure>

BuildinScalarTypeNames encode all build-in type into one or two characters.

BuildinScalarTypeName ::=

‘U1’ | ‘U2’ | ‘U4’ | ‘U8’ |‘I1’ | ‘I2’ | ‘I4’ | ‘I8’ | ‘B’ | ’F’ | ‘D’ | ‘O’

ArrayComponentTypeName ::= QualifiedBaseTypeName

ArraySize ::=

<length of array >

‘V’

They are corresponded following building types: uint8_t, uint16_t, uint32_t, uint64_t, int8_t, int16_t, int32_t, int64_t, boolean, float, double and omit (void).

BuildinVectorName ::= VectorLength BuildinScalarTypeName

BuildinMatrixName ::= RowCountOfMatrix ColumnCountOfMatrix BuildinScalarTypeName

BuildinVectorTypeName shows the name of building vector. It makes of length component and scalar type component.

VectorLength Could be 1, 2, 3 or 4 and represents the length of vector.

And the BuildinMatrixTypeName is similar as build-in vector type name.

ArraySize is an integer demonstrating the size of fixed-length array or ‘V’ (void or variant) means that it is a variant length array.

ArrayComponentTypeName is the description of type of component of array. For example, array component type of “int32_t[]” is “int32_t”. So array component type name is set to the mangled name of int32_t, “I4”.

CallingConvention is a single character which shows the calling convention of this function. ‘S’ means “__stdcall”, ‘C’ means “__cdecl” and ‘F’ ,means “__fastcall”

CallingConvention ::=

‘S’

‘C’

‘F’

FunctionTypeName reuses all non-terminators and terminators mentioned above.

FunctionTypeName ::= ReturnType PrarameterTypes CallConvetion ‘@@@’

ReturnType ::= ParameterType ‘@@’

posted on 2010-09-26 19:12 空明流轉 閱讀(1699) 評論(2)  編輯 收藏 引用

評論

# re: SASL Name Mangling (Release Candidate Version) 2010-09-27 09:02 ccsdu2009
如果是你弄得 為什么要弄英文 ?  回復  更多評論
  

# re: SASL Name Mangling (Release Candidate Version) 2010-09-27 13:28 空明流轉
@ccsdu2009
這是SoftArt文檔的一部分,自然選擇用英文。  回復  更多評論
  


只有注冊用戶登錄后才能發表評論。
網站導航: 博客園   IT新聞   BlogJava   博問   Chat2DB   管理


青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            久久婷婷麻豆| 亚洲缚视频在线观看| 欧美人交a欧美精品| 久久久最新网址| 久久亚洲不卡| 欧美成人免费视频| 欧美精品激情在线观看| 国产精品二区在线| 国产精品一页| 好吊妞这里只有精品| 在线观看欧美日韩| 中文av一区二区| 欧美在线三级| 久久免费国产精品| 91久久精品日日躁夜夜躁欧美 | 欧美一级大片在线观看| 久久久99爱| 91久久精品日日躁夜夜躁国产| 99re热精品| 91久久久精品| 国产日韩精品电影| 亚洲激情中文1区| 欧美亚洲免费在线| 亚洲国产精品一区二区第四页av | 久久精品一区二区| 欧美视频一二三区| 亚洲盗摄视频| 欧美一区日韩一区| 亚洲另类在线视频| 久热这里只精品99re8久| 国产精品久久久久免费a∨| 亚洲国产视频一区二区| 欧美一区不卡| 一本久久a久久精品亚洲| 久久美女艺术照精彩视频福利播放| 欧美日韩影院| 99精品欧美一区二区三区| 麻豆视频一区二区| 亚洲欧美日韩一区二区三区在线| 欧美国产亚洲另类动漫| 在线播放中文一区| 欧美一级夜夜爽| 亚洲手机视频| 国产精品国产三级国产普通话99| 亚洲人屁股眼子交8| 欧美国产专区| 免费在线成人av| 亚洲欧洲一区二区三区| 欧美国产第一页| 美女露胸一区二区三区| 在线不卡欧美| 欧美多人爱爱视频网站| 久热综合在线亚洲精品| 91久久久在线| 亚洲成人资源网| 欧美成人精品一区二区三区| 亚洲欧洲精品一区二区三区不卡| 欧美大片免费久久精品三p | 99国产精品久久久久久久成人热| 欧美国产另类| 免费黄网站欧美| 亚洲卡通欧美制服中文| 亚洲国产婷婷| 欧美三级黄美女| 午夜视频在线观看一区二区| 午夜精品影院| 91久久精品日日躁夜夜躁欧美 | 亚洲午夜女主播在线直播| 亚洲理论在线观看| 亚洲国产免费看| 亚洲男人第一网站| 亚洲一区高清| 国产一区二区三区不卡在线观看| 久久激情综合网| 久久久国产精品一区| 亚洲欧洲综合| 夜夜夜精品看看| 国产欧美一区二区精品忘忧草 | 欧美精品一区二区三区很污很色的 | 亚洲制服丝袜在线| 国产日韩一区二区三区| 你懂的网址国产 欧美| 欧美理论在线播放| 欧美亚洲一区在线| 久热这里只精品99re8久| 亚洲影视九九影院在线观看| 午夜精品一区二区在线观看| 亚洲激情亚洲| 亚洲欧美一区在线| 亚洲人成亚洲人成在线观看| 亚洲一级黄色av| 在线观看精品一区| 亚洲性视频网址| 激情亚洲网站| 亚洲一区精品电影| 亚洲第一免费播放区| 亚洲午夜激情免费视频| 亚洲欧洲另类| 久久久999国产| 午夜在线一区| 欧美欧美在线| 欧美aⅴ一区二区三区视频| 国产精品女主播| 亚洲精品无人区| 在线观看一区视频| 亚洲免费一区二区| 在线视频一区二区| 免费影视亚洲| 久久综合色88| 国产亚洲成精品久久| 一区二区三区免费网站| 亚洲精品影院| 免费观看一区| 欧美 日韩 国产精品免费观看| 国产日韩在线看| 亚洲欧美一区二区在线观看| 亚洲欧美日韩在线不卡| 欧美日韩一区二区免费在线观看| 亚洲电影免费在线观看| **欧美日韩vr在线| 久久精品国产第一区二区三区最新章节 | 在线成人激情黄色| 亚洲女同性videos| 男人的天堂亚洲| 一区二区三区亚洲| 亚洲欧美高清| 亚洲一区黄色| 欧美日韩在线不卡| 亚洲日本理论电影| 亚洲精品美女在线观看| 久久亚洲图片| 美日韩精品免费| 一色屋精品视频在线看| 久久aⅴ国产欧美74aaa| 欧美一区二区三区四区高清 | 日韩视频不卡| 夜夜嗨av一区二区三区免费区| 欧美激情国产高清| 亚洲激情自拍| 日韩视频国产视频| 欧美色道久久88综合亚洲精品| 亚洲精品一二| 亚洲午夜电影在线观看| 国产精品蜜臀在线观看| 亚洲欧美日韩视频二区| 久久婷婷国产综合尤物精品| 在线日韩av永久免费观看| 欧美国产日韩a欧美在线观看| 亚洲精品乱码久久久久久按摩观| 亚洲一级电影| 国产欧美精品日韩精品| 欧美中文字幕视频| 欧美成人久久| 亚洲视频免费在线观看| 国产精品一区二区三区成人| 羞羞漫画18久久大片| 欧美成人精品福利| 一区二区三区免费网站| 国产精品嫩草影院一区二区| 久久久久国产精品一区二区| 91久久精品国产91性色tv| 先锋亚洲精品| 最新日韩中文字幕| 国产精品揄拍一区二区| 老司机精品视频网站| 日韩天堂在线视频| 久久精品视频免费播放| 亚洲欧洲在线视频| 国产欧美短视频| 老妇喷水一区二区三区| 亚洲网站在线播放| 欧美a级一区二区| 亚洲视频电影图片偷拍一区| 影音先锋久久| 国产精品入口| 欧美精品三级| 久久视频在线看| 亚洲欧美日韩国产一区二区| 亚洲欧洲日本一区二区三区| 久久精品国产精品亚洲精品| 日韩亚洲一区在线播放| 激情视频一区| 国产精品日韩在线观看| 欧美精品久久天天躁| 久久久免费精品视频| 亚洲天堂成人在线视频| 亚洲激情第一区| 免费观看在线综合色| 欧美一区二区性| 亚洲一区二区三区乱码aⅴ蜜桃女| 狠狠色狠色综合曰曰| 国产精品久久久久毛片软件 | 国产欧美1区2区3区| 老司机免费视频一区二区三区| 亚洲视频免费观看| 亚洲激情在线激情| 男女视频一区二区| 久久精品理论片| 欧美一区二区视频观看视频| 亚洲影音一区|