示例#1
0
 public unsafe string GetOffsetExpression() => _client.RunAsync(() => {
     uint size;
     _bp.GetOffsetExpressionWide(_text, _text.Capacity, &size);
     if (_text.Length == 0)
     {
         ulong displacement;
         _client.Symbols.GetNameByOffsetWide(Offset, _text, _text.Capacity, &size, &displacement);
     }
     return(_text.ToString());
 }).Result;
示例#2
0
 public unsafe string GetOffsetExpression()
 {
     return(_client.RunAsync(() => {
         uint size;
         _bp.GetOffsetExpressionWide(_text, _text.Capacity, &size);
         if (_text.Length == 0)
         {
             _client.Symbols.GetNameByOffsetWide(Offset, _text, _text.Capacity, &size, null);
         }
         return _text.ToString();
     }).Result);
 }