Advertisement
Guest User

Untitled

a guest
Mar 30th, 2012
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.14 KB | None | 0 0
  1. 5F8C65C4 CC int 3
  2. 5F8C65C5 CC int 3
  3. 5F8C65C6 CC int 3
  4. 5F8C65C7 CC int 3
  5. 5F8C65C8 CC int 3
  6. 5F8C65C9 CC int 3
  7. 5F8C65CA CC int 3
  8. 5F8C65CB CC int 3
  9. 5F8C65CC CC int 3
  10. 5F8C65CD CC int 3
  11. 5F8C65CE CC int 3
  12. 5F8C65CF CC int 3
  13. --- c:\phoenix-firestorm-lgpl\indra\llcommon\llerror.cpp -----------------------
  14. 1198:
  15. 1199: #if LL_WINDOWS
  16. 1200: // VC80 was optimizing the error away.
  17. 1201: #pragma optimize("", off)
  18. 1202: #endif
  19. 1203: void crashAndLoop(const std::string& message)
  20. 1204: {
  21. 5F8C65D0 55 push ebp
  22. 5F8C65D1 8B EC mov ebp,esp
  23. 5F8C65D3 51 push ecx
  24. 1205: // Now, we go kaboom!
  25. 1206: int* make_me_crash = NULL;
  26. 5F8C65D4 C7 45 FC 00 00 00 00 mov dword ptr [make_me_crash],0
  27. 1207:
  28. 1208: *make_me_crash = 0;
  29. 5F8C65DB 8B 45 FC mov eax,dword ptr [make_me_crash]
  30. 5F8C65DE C7 00 00 00 00 00 mov dword ptr [eax],0
  31. 1209:
  32. 1210: while(true)
  33. 5F8C65E4 B9 01 00 00 00 mov ecx,1
  34. 5F8C65E9 85 C9 test ecx,ecx
  35. 5F8C65EB 74 02 je LLError::crashAndLoop+1Fh (5F8C65EFh)
  36. 1211: {
  37. 1212: // Loop forever, in case the crash didn't work?
  38. 1213: }
  39. 5F8C65ED EB F5 jmp LLError::crashAndLoop+14h (5F8C65E4h)
  40. 1214:
  41. 1215: // this is an attempt to let Coverity and other semantic scanners know that this function won't be returning ever.
  42. 1216: exit(EXIT_FAILURE);
  43. 5F8C65EF 6A 01 push 1
  44. 5F8C65F1 FF 15 D0 A3 9D 5F call dword ptr [__imp__exit (5F9DA3D0h)]
  45. 1217: }
  46. 5F8C65F7 8B E5 mov esp,ebp
  47. 5F8C65F9 5D pop ebp
  48. 5F8C65FA C3 ret
  49. --- No source file -------------------------------------------------------------
  50. 5F8C65FB CC int 3
  51. 5F8C65FC CC int 3
  52. 5F8C65FD CC int 3
  53. 5F8C65FE CC int 3
  54. 5F8C65FF CC int 3
  55. --- c:\phoenix-firestorm-lgpl\indra\llcommon\llerror.cpp -----------------------
  56. 1234: }
  57. 1235:
  58. 1236: namespace LLError
  59. 1237: {
  60. 1238: char** LLCallStacks::sBuffer = NULL ;
  61. 1239: S32 LLCallStacks::sIndex = 0 ;
  62. 1240:
  63. 1241: #define SINGLE_THREADED 1
  64. 1242:
  65. 1243: class CallStacksLogLock
  66. 1244: {
  67. 1245: public:
  68. 1246: CallStacksLogLock();
  69. 1247: ~CallStacksLogLock();
  70. 1248:
  71. 1249: #if SINGLE_THREADED
  72. 1250: bool ok() const { return true; }
  73. 5F8C6600 B0 01 mov al,1
  74. 5F8C6602 C3 ret
  75. --- No source file -------------------------------------------------------------
  76. 5F8C6603 CC int 3
  77. 5F8C6604 CC int 3
  78. 5F8C6605 CC int 3
  79. 5F8C6606 CC int 3
  80. 5F8C6607 CC int 3
  81. 5F8C6608 CC int 3
  82. 5F8C6609 CC int 3
  83. 5F8C660A CC int 3
  84. 5F8C660B CC int 3
  85. 5F8C660C CC int 3
  86. 5F8C660D CC int 3
  87. 5F8C660E CC int 3
  88. 5F8C660F CC int 3
  89. --- c:\phoenix-firestorm-lgpl\indra\llcommon\llerror.cpp -----------------------
  90. 1251: #else
  91. 1252: bool ok() const { return mOK; }
  92. 1253: private:
  93. 1254: bool mLocked;
  94. 1255: bool mOK;
  95. 1256: #endif
  96. 1257: };
  97. 1258:
  98. 1259: #if SINGLE_THREADED
  99. 1260: CallStacksLogLock::CallStacksLogLock()
  100. 1261: {
  101. 5F8C6610 8B C1 mov eax,ecx
  102. 1262: }
  103. 5F8C6612 C3 ret
  104. --- No source file -------------------------------------------------------------
  105. 5F8C6613 CC int 3
  106. 5F8C6614 CC int 3
  107. 5F8C6615 CC int 3
  108. 5F8C6616 CC int 3
  109. 5F8C6617 CC int 3
  110. 5F8C6618 CC int 3
  111. 5F8C6619 CC int 3
  112. 5F8C661A CC int 3
  113. 5F8C661B CC int 3
  114. 5F8C661C CC int 3
  115. 5F8C661D CC int 3
  116. 5F8C661E CC int 3
  117. 5F8C661F CC int 3
  118. --- c:\phoenix-firestorm-lgpl\indra\llcommon\llerror.cpp -----------------------
  119. 1263: CallStacksLogLock::~CallStacksLogLock()
  120. 1264: {
  121. 1265: }
  122. 5F8C6620 C3 ret
  123. --- No source file -------------------------------------------------------------
  124. 5F8C6621 CC int 3
  125. 5F8C6622 CC int 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement