sl@0: // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of the License "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // f32test\loader\security\fuzzv1.cpp sl@0: // sl@0: // sl@0: sl@0: #include sl@0: #include sl@0: #include sl@0: sl@0: TUint SomeData = 123; sl@0: TUint* APointer = &SomeData; sl@0: sl@0: #ifdef BE_HUGE sl@0: const TInt hugetext[32768] = {8}; sl@0: TInt hugedata[32768] = {5, hugetext[0]}; sl@0: #endif sl@0: sl@0: extern "C" IMPORT_C TInt SomeExport(); sl@0: EXPORT_C TInt SomeExport() sl@0: { sl@0: return 7; sl@0: } sl@0: sl@0: extern "C" IMPORT_C TInt AnotherExport(); sl@0: EXPORT_C TInt AnotherExport() sl@0: { sl@0: return 4; sl@0: } sl@0: sl@0: TInt E32Main() sl@0: { sl@0: User::Version(); sl@0: RFs::GetSystemDrive(); sl@0: return KErrNone; sl@0: }