Support LLVM global variables in Python bindings #1153
Labels
crucible/llvm
Related to crucible-llvm verification
priority
saw-remote-api
Related to the RPC SAW server
As far as I can tell, the Python bindings currently do not support LLVM global variables. To fully support them, I think we would need to implement the Python equivalents of the following three SAWScript functions:
llvm_global
llvm_global_initializer
llvm_alloc_global
Implementing bindings for
llvm_global
andllvm_global_initializer
should be straightforward, as the SAW remote API already supports it. The SAW remote API does not currently supportllvm_alloc_global
, however, so more thought would need to be given for how to implement that properly. For my personal use case, I could get by with justllvm_global
.The text was updated successfully, but these errors were encountered: