elbee-cyber / RopView

A BinaryNinja plugin for contextual gadget analysis and semantic/hueristic based querying.
MIT License
47 stars 1 forks source link

Finish constants.py #1

Closed elbee-cyber closed 6 months ago

elbee-cyber commented 6 months ago

Finish constants similar to what's written so far:

amd64, i386, arm32, arm64, mips

elbee-cyber commented 6 months ago

capstone constants are necessary, add separate constant sheet resolve to arch, arch resolve to register constants

elbee-cyber commented 6 months ago

Unicorn register constants also need to be included here https://github.com/unicorn-engine/unicorn/tree/master/bindings/python/unicorn

resolving via [arch][reg] is ideal

elbee-cyber commented 6 months ago

constants.py updated ( #7 ) pm the full template for future constants sheets. we can prob leave at amd64 for now and implement others later with this foundation

anger commented 6 months ago

Unicorn register constants also need to be included here https://github.com/unicorn-engine/unicorn/tree/master/bindings/python/unicorn

resolving via [arch][reg] is ideal

probably wouldn't hurt to include the other archs they provide while we're at it

elbee-cyber commented 6 months ago

Yes! Making a resolve constant for each arch listed with the same structure as for amd64. With registers we do not need to include special purpose registers, segment registers (like ss, gs) or kernel registers (like cr3).

elbee-cyber commented 6 months ago

Closed until future architecture support