On the other hand the other components are X is present in the cache and we fill the value of X with some location comprising of secret so since the secret is present in the cache the index arrayI equal to arraycan be very quickly evaluated pick and similarly we would what we would have is that some location in the cache would contain the value of arraynext what we are doing is we are using this particular value which is essentially a secret value to index into of this array2 and all the contents of the array2 into the cache memory now while this process of process is going on the this to mean that array_len has after while has finally reached the cache memory and now since X an array_len have find the arrived this check that is pointing to this particular statement can finally be invoked but the processer would have would now observe that X is greater than array_len and there for all the speculative execution that has been done should be discarded and therefore the process so would discarded this speculatively executed instructions. Due to the miss prediction that had occurred however what we observe is that there is some component of array2 that is present in the cache now we know note that this component depends on the value of arrayand what we have seen is that we have given a sufficiently large value of array so that it was actually causing a buffer overflow and appointing inside the secret in other words what has been loaded into the cache at this location is essentially a function off the secret location.
कॅशेमध्ये सिक्रेट असल्यामुळे इंडेक्स array =array हे त्वरित ईव्हॅल्यूऍट केले जाते आणि त्याचप्रमाणे आपल्याकडे कॅशे मध्ये काही लोकेशन असतात, त्यात array next ची व्हॅल्यू असते. आपण काय करत आहोत तर आपण ही विशिष्ट व्हॅल्यू वापरत आहोत जी array 2 च्या इंडेक्स ची सिक्रेट व्हॅल्यू आहे ,आणि array 2 मधील सगळी माहिती कॅशे मध्ये असेल. आता जेव्हा प्रोसेस वर प्रोसेस होतं राहतील , याचा अर्थ असा की array_len हे शेवटी कॅशे मेमरी मध्ये पोहोचले. आता X आणि array_len आले आहे आहेत, चेक विशिष्ट स्टेटमेंट जे पॉईंट करत होता ते स्टेटमेंट प्रोसेसर शेवटी इनव्होक करेन आणि आता असे निदर्शनात येईल की X हा array_len पेक्षा मोठा आहे आणि स्पेक्यूलेटीव्ह एक्झिक्युशन जे झालेले होते ते काढून टाकण्यात येतील आणि म्हणून प्रोसेस पण स्पेक्यूलेटीव्हली एक्झिक्युट झालेल्या इन्स्ट्रक्शन काढून टाकतील.