crashappsec / libcon4m

Base Compiler and Runtime Support for con4m
Apache License 2.0
0 stars 0 forks source link

'use' statements #89

Closed viega closed 1 month ago

viega commented 1 month ago

I did the work to get use statements working properly:

  1. I redid all the module loading logic.
  2. I did a basic wrapping of libcurl for http / https support. GET and PUT are supported (c4m_http_get and c4m_http_upload), including w/ AWS v4 signature support. It still needs wrapping of form posting and certificate pinning, and wrapping of the mime interface.

I also ripped out the module lock stack; I will probably re-add it in in the next couple of days, but I'm also considering changing the auto-locking where it might not be needed.