Skip to content

Commit

Permalink
cleanup: Remove exemptions for cmp symbols.
Browse files Browse the repository at this point in the history
We are now able to parse these, so we don't need to consider them
built-in anymore.
  • Loading branch information
iphydf committed Jan 24, 2024
1 parent 57baf99 commit 75b1c8c
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions src/Tokstyle/Linter/Callgraph.hs
Original file line number Diff line number Diff line change
Expand Up @@ -526,22 +526,6 @@ analyse = reverse . flip State.execState [] . linter . (builtins <>) . callgraph
, "__VA_ARGS__"
, "__func__"

, "cmp_init"
, "cmp_read_array"
, "cmp_read_bin_size"
, "cmp_read_bool"
, "cmp_read_nil"
, "cmp_read_uchar"
, "cmp_read_uint"
, "cmp_read_ulong"
, "cmp_read_ushort"
, "cmp_write_array"
, "cmp_write_bin"
, "cmp_write_bin_marker"
, "cmp_write_bool"
, "cmp_write_nil"
, "cmp_write_uinteger"

, "FORMAT_MESSAGE_ALLOCATE_BUFFER"
, "FORMAT_MESSAGE_FROM_SYSTEM"
, "FORMAT_MESSAGE_IGNORE_INSERTS"
Expand All @@ -553,13 +537,6 @@ analyse = reverse . flip State.execState [] . linter . (builtins <>) . callgraph
, "QueryPerformanceCounter"
, "QueryPerformanceFrequency"

, "fuzz_get_count"
, "fuzz_random_bytes"
, "fuzz_recv"
, "fuzz_recvfrom"
, "fuzz_send"
, "fuzz_sendto"

, "SYSTEM_CLOCK"
, "host_get_clock_service"
, "mach_host_self"
Expand Down

0 comments on commit 75b1c8c

Please sign in to comment.