Liste des Groupes | Revenir à c theory |
On 8/18/2024 3:49 AM, Mikko wrote:If HHH is merely an x86 emulator then obviously HHH(DDD) does notOn 2024-08-17 12:29:15 +0000, olcott said:That HHH <is> and x86 emulator <is> sufficient to
void DDD()It is obfious from both the C code and disassembly listing
{
HHH(DDD);
}
_DDD()
[00002172] 55 push ebp ; housekeeping
[00002173] 8bec mov ebp,esp ; housekeeping
[00002175] 6872210000 push 00002172 ; push DDD
[0000217a] e853f4ffff call 000015d2 ; call HHH(DDD)
[0000217f] 83c404 add esp,+04
[00002182] 5d pop ebp
[00002183] c3 ret
Size in bytes:(0018) [00002183]
*It is a basic fact that DDD emulated by HHH according to*
*the semantics of the x86 language cannot possibly stop*
*running unless aborted* (out of memory error excluded)
that DDD cannot return if HHH doesn't (but can and does
otherwise). Whether HHH returns is not obvious as the details
of HHH is not shown and most of its behaviour is unspecified.
determine exactly what the behavior of DDD emulated by HHH
according to the semantics of the x86 language would be.
Les messages affichés proviennent d'usenet.