mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2025-12-31 21:06:25 +00:00
Adds support for globals SO...... *I'm not merging this because it's complete, but because I don't want it to diverge from master too much. *Stuff I still need to complete: -> Structs and eval expressions in these globals. -> handling the global keyword. -> assigning back to the global and reading from inside a function. -> Basically, `global` keyword in Python is used to write only and reading can be done directly without declaring as global as a direct assign without global declaration is going to diverge from Python. -> The above logic is going to be supported by `global_sym_tab` generated using the new order of passes that we are doing. -> This needs to be fixed and done ASAP to avoid conflicts. so yes, im gonna do it soon.