Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 5F8C65C4 CC int 3
- 5F8C65C5 CC int 3
- 5F8C65C6 CC int 3
- 5F8C65C7 CC int 3
- 5F8C65C8 CC int 3
- 5F8C65C9 CC int 3
- 5F8C65CA CC int 3
- 5F8C65CB CC int 3
- 5F8C65CC CC int 3
- 5F8C65CD CC int 3
- 5F8C65CE CC int 3
- 5F8C65CF CC int 3
- --- c:\phoenix-firestorm-lgpl\indra\llcommon\llerror.cpp -----------------------
- 1198:
- 1199: #if LL_WINDOWS
- 1200: // VC80 was optimizing the error away.
- 1201: #pragma optimize("", off)
- 1202: #endif
- 1203: void crashAndLoop(const std::string& message)
- 1204: {
- 5F8C65D0 55 push ebp
- 5F8C65D1 8B EC mov ebp,esp
- 5F8C65D3 51 push ecx
- 1205: // Now, we go kaboom!
- 1206: int* make_me_crash = NULL;
- 5F8C65D4 C7 45 FC 00 00 00 00 mov dword ptr [make_me_crash],0
- 1207:
- 1208: *make_me_crash = 0;
- 5F8C65DB 8B 45 FC mov eax,dword ptr [make_me_crash]
- 5F8C65DE C7 00 00 00 00 00 mov dword ptr [eax],0
- 1209:
- 1210: while(true)
- 5F8C65E4 B9 01 00 00 00 mov ecx,1
- 5F8C65E9 85 C9 test ecx,ecx
- 5F8C65EB 74 02 je LLError::crashAndLoop+1Fh (5F8C65EFh)
- 1211: {
- 1212: // Loop forever, in case the crash didn't work?
- 1213: }
- 5F8C65ED EB F5 jmp LLError::crashAndLoop+14h (5F8C65E4h)
- 1214:
- 1215: // this is an attempt to let Coverity and other semantic scanners know that this function won't be returning ever.
- 1216: exit(EXIT_FAILURE);
- 5F8C65EF 6A 01 push 1
- 5F8C65F1 FF 15 D0 A3 9D 5F call dword ptr [__imp__exit (5F9DA3D0h)]
- 1217: }
- 5F8C65F7 8B E5 mov esp,ebp
- 5F8C65F9 5D pop ebp
- 5F8C65FA C3 ret
- --- No source file -------------------------------------------------------------
- 5F8C65FB CC int 3
- 5F8C65FC CC int 3
- 5F8C65FD CC int 3
- 5F8C65FE CC int 3
- 5F8C65FF CC int 3
- --- c:\phoenix-firestorm-lgpl\indra\llcommon\llerror.cpp -----------------------
- 1234: }
- 1235:
- 1236: namespace LLError
- 1237: {
- 1238: char** LLCallStacks::sBuffer = NULL ;
- 1239: S32 LLCallStacks::sIndex = 0 ;
- 1240:
- 1241: #define SINGLE_THREADED 1
- 1242:
- 1243: class CallStacksLogLock
- 1244: {
- 1245: public:
- 1246: CallStacksLogLock();
- 1247: ~CallStacksLogLock();
- 1248:
- 1249: #if SINGLE_THREADED
- 1250: bool ok() const { return true; }
- 5F8C6600 B0 01 mov al,1
- 5F8C6602 C3 ret
- --- No source file -------------------------------------------------------------
- 5F8C6603 CC int 3
- 5F8C6604 CC int 3
- 5F8C6605 CC int 3
- 5F8C6606 CC int 3
- 5F8C6607 CC int 3
- 5F8C6608 CC int 3
- 5F8C6609 CC int 3
- 5F8C660A CC int 3
- 5F8C660B CC int 3
- 5F8C660C CC int 3
- 5F8C660D CC int 3
- 5F8C660E CC int 3
- 5F8C660F CC int 3
- --- c:\phoenix-firestorm-lgpl\indra\llcommon\llerror.cpp -----------------------
- 1251: #else
- 1252: bool ok() const { return mOK; }
- 1253: private:
- 1254: bool mLocked;
- 1255: bool mOK;
- 1256: #endif
- 1257: };
- 1258:
- 1259: #if SINGLE_THREADED
- 1260: CallStacksLogLock::CallStacksLogLock()
- 1261: {
- 5F8C6610 8B C1 mov eax,ecx
- 1262: }
- 5F8C6612 C3 ret
- --- No source file -------------------------------------------------------------
- 5F8C6613 CC int 3
- 5F8C6614 CC int 3
- 5F8C6615 CC int 3
- 5F8C6616 CC int 3
- 5F8C6617 CC int 3
- 5F8C6618 CC int 3
- 5F8C6619 CC int 3
- 5F8C661A CC int 3
- 5F8C661B CC int 3
- 5F8C661C CC int 3
- 5F8C661D CC int 3
- 5F8C661E CC int 3
- 5F8C661F CC int 3
- --- c:\phoenix-firestorm-lgpl\indra\llcommon\llerror.cpp -----------------------
- 1263: CallStacksLogLock::~CallStacksLogLock()
- 1264: {
- 1265: }
- 5F8C6620 C3 ret
- --- No source file -------------------------------------------------------------
- 5F8C6621 CC int 3
- 5F8C6622 CC int 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement