4 ms·
I would be most grateful if someone could please explain to me what "butterfly" is meant to be ... a metaphor of some sort I assume.
by taspeotis 8y ago
I would be most grateful if someone could please explain to me what "butterfly" is meant to be ... a metaphor of some sort I assume.
- detaro 8y agoInternal data structure of JavaScriptCore representing objects, presumably called a butterfly because it starts in the middle and spreads in both directions in memory. One side is properties of the object, the other members of its array aspect. See e.g. http://phrack.org/papers/attacking_javascript_engines.html http://phrack.org/papers/attacking_javascript_engines.html section 1.2
- panic 8y agoThis presentation has some nice illustrations: http://www.filpizlo.com/slides/pizlo-dls2017-vmil2017-jscvm-slides.pdf http://www.filpizlo.com/slides/pizlo-dls2017-vmil2017-jscvm-... (under “JSC Object Model”).