diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-06-06 12:51:52 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-06-07 10:41:01 +0200 |
| commit | 948dd3af445f31e056db6116c09f095933baed5f (patch) | |
| tree | f0d35359cfcdfe25bb9932bf2f750bc855c3b62f /prog/target.go | |
| parent | 3f04838a10346e60b9dd81f0adb47c2518486d28 (diff) | |
prog: remove target.StringDictionary
The linux string dictionary comes from extremely old times
when we did not have proper descriptions for almost anything,
and the dictionary was a quick hack to guess at least some
special strings.
Now we have way better descriptions and the dictionary
become both unnecessary and probably even harmful.
Diffstat (limited to 'prog/target.go')
| -rw-r--r-- | prog/target.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/prog/target.go b/prog/target.go index 23d1ebd08..e2d4f245c 100644 --- a/prog/target.go +++ b/prog/target.go @@ -46,10 +46,6 @@ type Target struct { // and optionally any calls that need to be inserted before the arg reference. SpecialTypes map[string]func(g *Gen, typ Type, dir Dir, old Arg) (Arg, []*Call) - // Special strings that can matter for the target. - // Used as fallback when string type does not have own dictionary. - StringDictionary []string - // Resources that play auxiliary role, but widely used throughout all syscalls (e.g. pid/uid). AuxResources map[string]bool |
