chains-project / GoSurf

Static analyzer to find locations to hide malicious code in Go
2 stars 1 forks source link

Unsafe pointer #1

Closed vivi365 closed 3 months ago

vivi365 commented 3 months ago

This is a coarse-grained implementation of finding uses of unsafe pointers.

Compare capslock

I will test this more thoroughly tomorrow or so.

vivi365 commented 3 months ago

It counts all occurrences now, instead of once per file.

I will maybe change the analysis to more fine-grained like capslock, recording the following cases instead: