| 0 |      1 | // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
 | 
|  |      2 | // All rights reserved.
 | 
|  |      3 | // This component and the accompanying materials are made available
 | 
|  |      4 | // under the terms of the License "Eclipse Public License v1.0"
 | 
|  |      5 | // which accompanies this distribution, and is available
 | 
|  |      6 | // at the URL "http://www.eclipse.org/legal/epl-v10.html".
 | 
|  |      7 | //
 | 
|  |      8 | // Initial Contributors:
 | 
|  |      9 | // Nokia Corporation - initial contribution.
 | 
|  |     10 | //
 | 
|  |     11 | // Contributors:
 | 
|  |     12 | //
 | 
|  |     13 | // Description:
 | 
|  |     14 | // f32test\loader\security\fuzzv1.cpp
 | 
|  |     15 | // 
 | 
|  |     16 | //
 | 
|  |     17 | 
 | 
|  |     18 | #include <e32std.h>
 | 
|  |     19 | #include <e32std_private.h>
 | 
|  |     20 | #include <f32file.h>
 | 
|  |     21 | 
 | 
|  |     22 | TUint SomeData = 123;
 | 
|  |     23 | TUint* APointer = &SomeData;
 | 
|  |     24 | 
 | 
|  |     25 | #ifdef BE_HUGE
 | 
|  |     26 | const TInt hugetext[32768] = {8};
 | 
|  |     27 | TInt hugedata[32768] = {5, hugetext[0]};
 | 
|  |     28 | #endif
 | 
|  |     29 | 
 | 
|  |     30 | extern "C" IMPORT_C TInt SomeExport();
 | 
|  |     31 | EXPORT_C TInt SomeExport()
 | 
|  |     32 | 	{
 | 
|  |     33 | 	return 7;
 | 
|  |     34 | 	}
 | 
|  |     35 | 
 | 
|  |     36 | extern "C" IMPORT_C TInt AnotherExport();
 | 
|  |     37 | EXPORT_C TInt AnotherExport()
 | 
|  |     38 | 	{
 | 
|  |     39 | 	return 4;
 | 
|  |     40 | 	}
 | 
|  |     41 | 
 | 
|  |     42 | TInt E32Main()
 | 
|  |     43 | 	{
 | 
|  |     44 | 	User::Version();
 | 
|  |     45 | 	RFs::GetSystemDrive();
 | 
|  |     46 | 	return KErrNone;
 | 
|  |     47 | 	}
 |