crashappsec / chalk

Chalk allows you to follow code from development, through builds and into production.
https://crashoverride.com/
GNU General Public License v3.0
348 stars 15 forks source link

refactor: remove c4autoconf #331

Closed ee7 closed 3 months ago

ee7 commented 3 months ago

Issue

214

Description

Continue (from #235, #236, #237, #329, and #330) to prepare for the new con4m, by no longer running the con4m executable at build time to generate c4autoconf.nim. This was a module that:

We want to access attributes more directly from the con4m state, which also ensures that attribute access can be multi-threaded. Furthermore, syncing the con4m attribute state with the Nim-native data structures was previously a significant source of complexity.

As of the previous commit (9df364bbd80c, "refactor: remove remaining uses of ChalkConfig"), there was already no remaining usage of autogenerated types or procs.

Closes: https://github.com/crashappsec/chalk/issues/214


With this PR:

$ git log -1 --format='%h %s'
b45dafd refactor: remove c4autoconf
$ git grep --ignore-case 'autoconf' | wc -l
0