chains-project / GoSurface

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

Unsafe pointer #1

Closed vivi365 closed 1 month ago

vivi365 commented 1 month 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 1 month 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: