aboutcode-org / aboutcode-org/binary-inspector

Get nuget symbols from XML file next to dll for matching

未關閉
#8 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
1
分支
1
PR 合併指標
30 天內沒有已合併 PR

描述

sometimes XML files beside a `.dll` file (with the same name) seems like it contains a lot of info on symbols, ti would be nice if we can extract the symbols from this XML file and match the XML file + the .dll file by matching source symbols.

Example:

Consider the binary: https://github.com/tmenier/Flurl/releases/download/Flurl.Http.4.0.2/Flurl.Http.4.0.2.nupkg

we have in the binary:
```
to/lib/net461/Flurl.Http.dll
to/lib/net461/Flurl.Http.xml
to/lib/net6.0/Flurl.Http.dll
to/lib/net6.0/Flurl.Http.xml
to/lib/netstandard2.0/Flurl.Http.dll
to/lib/netstandard2.0/Flurl.Http.xml
```

One of the XML file contents is as follows:

```


Flurl.Http




ISerializer implementation based on System.Text.Json.
Default serializer used in calls to GetJsonAsync, PostJsonAsync, etc.




Initializes a new instance of the class.

Options to control (de)serialization behavior.

```

Here the member names contains symbols:
```

```
which can be matched to source symbols at the source archives from: https://github.com/tmenier/Flurl

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。