Abdus Salam Azad

Results 7 comments of Abdus Salam Azad

> No currently the instructions do not store their offset so it is lost. What is your use case for the offset? I am instrumenting python programs and offsets will...

You are completely right. However, for my use case, I do need the Actual offsets, i.e., the offsets before I did any instrumentation.

Yes, that can be done, of course! However, what I am trying to understand is, is there any other downsides of having the original offsets as fields along with the...

Thank you so much, for your prompt feedback. I get your point, but as this module is written for modifying bytecodes and it is expected that once you modify the...

Good points. Can you/ @MatthieuDartiailh kindly provide your thoughts on the following points: 1) returning an auxiliary data structure when `Bytecode` is generated using the `Bytecode.from_code` method, mapping Instrs to...

I do not use ConcereteBytecode and I think freezing the "source"/"original" offsets (the original offsets in the input code object) is a good idea. For the offsets of a Bytecode...