EmitOneFunction
lib/Runtime/ByteCode/ByteCodeEmitter.cpp
Last patched
Overview
EmitOneFunction in lib/Runtime/ByteCode/ByteCodeEmitter.cpp (chakra-core/ChakraCore) was changed by 3 published CVE fixes between 2017 and 2018, in 3 distinct patches that added or removed 20 lines in total.
chakra-core/ChakraCore has 225 CVEs with a located fix in total, so 1% of them touched this function.
CVEs that patched it
Every published CVE whose fix changed EmitOneFunction, newest first, with the lines each fix touched.
CVE-2018-0979 · lines 2939–3061 · +4 −4 in 2 hunks
High · CVSS 7.5EPSS 15.4%2018-04-12CVE-2017-11807 · lines 2789–2791 · +3 −1
High · CVSS 7.5EPSS 8.8%2017-10-13CVE-2017-11811 · lines 2789–2791 · +6 −2 in 2 hunks
High · CVSS 7.5EPSS 65.5%2017-10-13
Get an alert when the next CVE fix lands in chakra-core/ChakraCore, with the patched functions.
Monitor these CVEsOther functions in these files
Functions in the same file that CVE fixes also changed.
- 1StartEmitFunctionlib/Runtime/ByteCode/ByteCodeEmitter.cpp7 patches · 23 CVEs2017 to 2020
- 2EmitNewlib/Runtime/ByteCode/ByteCodeEmitter.cpp3 patches · 16 CVEs2017
- 3EmitArgListlib/Runtime/ByteCode/ByteCodeEmitter.cpp3 patches · 16 CVEs2017
- 4StartEmitCatchlib/Runtime/ByteCode/ByteCodeEmitter.cpp3 patches · 15 CVEs2018 to 2019
- 5Emitlib/Runtime/ByteCode/ByteCodeEmitter.cpp3 patches · 10 CVEs2018 to 2020
- 6EmitLoadlib/Runtime/ByteCode/ByteCodeEmitter.cpp3 patches · 8 CVEs2020
- 7EmitReferencelib/Runtime/ByteCode/ByteCodeEmitter.cpp3 patches · 6 CVEs2018 to 2020
- 8EmitCalllib/Runtime/ByteCode/ByteCodeEmitter.cpp3 patches · 5 CVEs2017 to 2020
Other hotspots in the repository
Functions in chakra-core/ChakraCore changed by the most distinct patches.
Frequently asked questions
Common questions about CVE fixes to EmitOneFunction.
- How many CVEs have patched EmitOneFunction?
- 3 published CVEs changed EmitOneFunction in chakra-core/ChakraCore, in 3 distinct patches totalling 20 changed lines, between 2017 and 2018.
- What is the latest CVE that changed EmitOneFunction?
- CVE-2018-0979 (Chakra Scripting Engine Memory Corruption Vulnerability), published 2018-04-12, changed lines 2939 to 3061 of lib/Runtime/ByteCode/ByteCodeEmitter.cpp.
- How does EmitOneFunction compare to the rest of chakra-core/ChakraCore?
- chakra-core/ChakraCore has 225 CVEs with a located fix in total; 3 of them changed EmitOneFunction.
- What do the line numbers refer to?
- Line numbers are in the fixed version of the file, as the upstream patch left it. A CVE whose fix was backported to several branches is listed once, with the lines from the upstream commit.
References
- lib/Runtime/ByteCode/ByteCodeEmitter.cpp on GitHub (opens in a new tab)
- All patched functions in chakra-core/ChakraCore
- Patched functions directory
Fix locations are computed by RadicalNotion.AI from the upstream patch diff of each CVE. CVE data is sourced from the CVE Program.
Track chakra-core/ChakraCore CVEs
Get an alert when a new CVE lands in this repository, with the patched functions and AI-written remediation guidance.