名称重整中的标识符的最大长度

时间:2017-05-31 18:29:35

标签: delphi name-mangling

虽然经历了dbkdebugxxx.bpl,但我试图解除以下导出的名称:

@Exceptionnotificationdialog@ReportExceptionNotification$qqrx20System@UnicodeString83System@%Set$56Exceptionnotificationdialog@TExceptionNotificationOptiont1$i0$t1$i2$%r83System@%Set$56Exceptionnotificationdialog@TExceptionNotificaTY6J18n0Wfo24G1hyGAqTA

正如您所看到的,该功能的错位名称是253个字符。然而,解码在char 230处崩溃。

具体来说:

...@TExceptionNotificaTY6J
                      ^^^^ 

大写字母(Q除外)在Borland名称中没有任何意义。

230是错位标识符可以占用的最大长度吗?

鉴于标识符存储在ShortStrings中,我认为最大值为255。

  

偏离主题,但对于那些好奇的人来说这个名字不合适  如下:   unit Exceptionnotificationdialog; .... function or procedure ReportExceptionNotification (const Str: UnicodeString; InOptions: TExceptionNotificationOptions; out OutOptions: TExceptionsNotificationOptions; ... more parameters? unknown): unknown result type;

0 个答案:

没有答案
相关问题