"Simon" == Simon Marchi <simark@simark.ca> writes:
Simon> I am pretty sure that you could use gdb::byte_vector here and it
Simon> would be fine.
It needed one extra cast, but yeah.
Simon> Could you (if it's not too much trouble) remove the size
variables (sym_secsize and
Simon> friends)? This way, there's only one source of truth for the
allocated size (the
Simon> vector size). Also, the "ptr" suffix probably made sense when
the variables were
Simon> pointers. It would make sense to rename them, sym_secptr ->
sym_sec, and so forth.
How's this?
Tom