ReadPointer
method on BinaryReader
#3657
Labels
Effort: Trivial
Issue should take < 1 day
Impact: Low
Issue is a papercut or has a good, supported workaround
Type: Enhancement
Issue is a small enhancement to existing functionality
Milestone
What is the feature you'd like to have?
There are times when writing Architecture-Independent plugins where being able to avoid large amounts of
(bv->GetAddressSize() == 4)
and instead have theBinaryReader
class handle this check internally would be highly beneficial.This method could output a fixed size of uint64_t and truncate uint32_t or smaller pointers accordingly.
Is your feature request related to a problem?
This is directly applicable to this workflow_objc issue: Vector35/workflow_objc#11
It is also relevant in any plugin/implementation designed to perform analysis on both arm64 and armv7 binaries, and reduces the overhead for supporting non-uint64_t address sizes in general.
The text was updated successfully, but these errors were encountered: