feat: elf parser (#21) #30

Merged
张泊明518370910136 merged 5 commits from elf into master 2025-05-24 17:00:21 +08:00
Showing only changes of commit 0bfedd4625 - Show all commits

View File

@ -20,12 +20,12 @@ type Report struct {
type Case struct { type Case struct {
Binders []Binder `mapstructure:"binders"` Binders []Binder `mapstructure:"binders"`
Context *string `mapstructure:"context"` Context string `mapstructure:"context"`
Depths *int `mapstructure:"depths"` Depths int `mapstructure:"depths"`
Code *string `mapstructure:"code"` Code string `mapstructure:"code"`
Plain *int `mapstructure:"plain"` Plain int `mapstructure:"plain"`
Weighed *float64 `mapstructure:"weighed"` Weighed float64 `mapstructure:"weighed"`
Detail *string `mapstructure:"detail"` Detail string `mapstructure:"detail"`
SimilarityRate float64 `mapstructure:"similarity_rate"` SimilarityRate float64 `mapstructure:"similarity_rate"`
Sources []Source `mapstructure:"srcs"` Sources []Source `mapstructure:"srcs"`
} }