Support LLVM global variables in Python bindings #1153
Labels
priority
High-priority issues
subsystem: crucible-llvm
Issues related to LLVM bitcode verification with crucible-llvm
subsystem: saw-python
Related to the Python bindings for the RPC SAW server
subsystem: saw-remote-api
Issues related to the SAW server and its RPC bindings
type: feature request
Issues requesting a new feature or capability
Milestone
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: