You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ugh, yeah, I was trying to override RawIOBase and using the signature I found elsewhere. I think rather than being optional it defaults to -1 or something? It's in the python core. I don't know how the core handles it when a size isn't provided. I guess it knows the total length and reads up until that or until a \n character?
I don't have a leechcore setup, but pyright flagged this code:
https://github.com/volatilityfoundation/volatility3/blob/develop/volatility3/framework/layers/leechcore.py#L130
__size
is optional but not checked before being used, which would seemingly backtrace right away.There is also a call here without a size, which seems that code would break too and it should be sending a size?
https://github.com/volatilityfoundation/volatility3/blob/develop/volatility3/framework/layers/leechcore.py#L147
@ikelos assigning this to you are I saw you mostly in the history of the file.
The text was updated successfully, but these errors were encountered: