Hi V8 team,

I’m currently studying V8’s support for Intel CET (Control-flow Enforcement 
Technology) on x64, and I came across the following comment in the shadow 
stack handling code:

// We subtract a frame from visited_frames because otherwise the // shadow 
stack will drop the underlying interpreter entry trampoline // in which the 
handler runs. // // An interpreted frame cannot be the first frame we look 
at // because at a minimum, an exit frame into C++ has to separate // it 
and the context in which this C++ code runs.

https://chromium-review.googlesource.com/c/v8/v8/+/3289637/12/src/execution/isolate.cc

An interpreted JavaScript frame must never appear directly adjacent to C++ 
frames—it must always be separated by at least one exit frame.

Where I can find it's documents or code?

-- 
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/v8-dev/2a324127-42f6-4d0b-9fb8-5ccf22116160n%40googlegroups.com.

Reply via email to