path
stringlengths
56
152
content
stringlengths
344
91.6k
augmented_second/realloc_usage/extr_config_file.c_parse_line_aug_v3_4.c
// Original file: ./RetroArch/libretro-common/file/extr_config_file.c_parse_line.c // Applied augmentations: augment_add_struct_definition, augment_change_relational_operator, augment_add_global_volatile_var volatile int g_aug_volatile_7076 = 0; /* AUGMENTATION_MARKER: Added unused struct */ struct AugData_3256 { ...
augmented_second/realloc_usage/extr_import-compress.c_enlarge_buffer_aug_v3_6.c
// Original file: ./systemd/src/import/extr_import-compress.c_enlarge_buffer.c // Applied augmentations: augment_add_struct_definition, augment_add_global_volatile_var, augment_add_volatile_int, augment_add_unused_function, augment_change_numeric_constant #include <stdio.h> /* AUGMENTATION_MARKER: Added unused funct...
augmented_second/realloc_usage/extr_archive_cmdline.c_cmdline_set_path_aug_v3_2.c
// Original file: ./freebsd/contrib/libarchive/libarchive/extr_archive_cmdline.c_cmdline_set_path.c // Applied augmentations: augment_add_volatile_int #include <stdio.h> #define NULL ((void*)0) typedef unsigned long size_t; // Customize by platform. typedef long intptr_t; typedef unsigned long uintptr_t; typedef long...
augmented_second/realloc_usage/extr_mgmtSupertableQuery.c_queryResultUnion_aug_v3_3.c
// Original file: ./TDengine/src/system/detail/src/extr_mgmtSupertableQuery.c_queryResultUnion.c // Applied augmentations: augment_add_complex_arithmetic, augment_change_numeric_constant, augment_add_volatile_int, augment_add_unused_function, augment_add_global_volatile_var #include <math.h> #include <stdio.h> volat...
augmented_second/realloc_usage/extr_heap.c_test_sbheap_aug_v3_5.c
// Original file: ./reactos/modules/rostests/winetests/msvcrt/extr_heap.c_test_sbheap.c // Applied augmentations: augment_add_global_volatile_var, augment_off_by_one_error volatile int g_aug_volatile_7933 = 8; #define NULL ((void*)0) typedef unsigned long size_t; // Customize by platform. typedef long intptr_t; type...
augmented_second/realloc_usage/extr_terrain.c_SurfaceForShader_aug_v3_1.c
// Original file: ./Quake-III-Arena/q3map/extr_terrain.c_SurfaceForShader.c // Applied augmentations: augment_swap_increment_decrement, augment_add_assert, augment_add_struct_definition #include <assert.h> /* AUGMENTATION_MARKER: Added unused struct */ struct AugData_8867 { int id; char name[32]; double v...
augmented_second/realloc_usage/extr_ccsidcurl.c_Curl_formadd_convert_aug_v3_2.c
// Original file: ./curl/packages/OS400/extr_ccsidcurl.c_Curl_formadd_convert.c // Applied augmentations: augment_change_relational_operator, augment_add_printf_hello, augment_change_numeric_constant, augment_add_complex_arithmetic, augment_add_global_volatile_var #include <stdio.h> #include <math.h> volatile int g_a...
augmented_second/realloc_usage/extr_nfs41_xdr.c_xdr_data_server_list_aug_v3_2.c
// Original file: ./reactos/base/services/nfsd/extr_nfs41_xdr.c_xdr_data_server_list.c // Applied augmentations: augment_add_unused_function, augment_add_global_volatile_var, augment_change_numeric_constant, augment_add_assert, augment_add_printf_hello #include <assert.h> #include <stdio.h> volatile int g_aug_volatil...
augmented_second/realloc_usage/extr_29290.c_sslread_aug_v3_3.c
// Original file: ./exploitdb/exploits/php/remote/extr_29290.c_sslread.c // Applied augmentations: augment_add_unused_function, augment_swap_increment_decrement, augment_change_numeric_constant, augment_add_volatile_int, augment_add_complex_arithmetic #include <stdio.h> #include <math.h> /* AUGMENTATION_MARKER: Added...
augmented_second/realloc_usage/extr_..libretro-commonformatsjsonjsonsax_full.c_JSON_Parser_AddMemberNameToList_aug_v3_8.c
// Original file: ./RetroArch/griffin/extr_..libretro-commonformatsjsonjsonsax_full.c_JSON_Parser_AddMemberNameToList.c // Applied augmentations: augment_off_by_one_error, augment_add_global_volatile_var, augment_add_unused_function /* AUGMENTATION_MARKER: Added unused function */ static int aug_unused_func_5879(int ...
augmented_second/realloc_usage/extr_iov.c_iov_to_buf_aug_v3_7.c
// Original file: ./freebsd/usr.sbin/bhyve/extr_iov.c_iov_to_buf.c // Applied augmentations: augment_swap_increment_decrement, augment_add_struct_definition /* AUGMENTATION_MARKER: Added unused struct */ struct AugData_3574 { int id; char name[32]; double value; }; #define NULL ((void*)0) typedef unsigned...
augmented_second/realloc_usage/extr_xmalloc.c_xrealloc_aug_v3_8.c
// Original file: ./goaccess/src/extr_xmalloc.c_xrealloc.c // Applied augmentations: augment_add_printf_hello, augment_change_numeric_constant #include <stdio.h> #define NULL ((void*)0) typedef unsigned long size_t; // Customize by platform. typedef long intptr_t; typedef unsigned long uintptr_t; typedef long scalar_...
augmented_second/realloc_usage/extr_help-unknown-cmd.c_add_cmd_list_aug_v3_7.c
// Original file: ./linux/tools/perf/util/extr_help-unknown-cmd.c_add_cmd_list.c // Applied augmentations: augment_off_by_one_error, augment_add_global_volatile_var, augment_change_numeric_constant, augment_add_printf_hello, augment_add_complex_arithmetic #include <stdio.h> #include <math.h> volatile int g_aug_volati...
augmented_second/realloc_usage/extr_tess.c_heapRealloc_aug_v3_2.c
// Original file: ./Cinder/src/libtess2/extr_tess.c_heapRealloc.c // Applied augmentations: augment_add_unused_function, augment_change_relational_operator, augment_add_volatile_int, augment_add_assert #include <stdio.h> #include <assert.h> /* AUGMENTATION_MARKER: Added unused function */ static int aug_unused_func_2...
augmented_second/realloc_usage/extr_rpcbind.c_init_transport_aug_v3_1.c
// Original file: ./freebsd/usr.sbin/rpcbind/extr_rpcbind.c_init_transport.c // Applied augmentations: augment_add_unused_function, augment_swap_break_continue, augment_swap_increment_decrement, augment_add_complex_arithmetic, augment_add_global_volatile_var, augment_change_relational_operator, augment_add_assert #inc...
augmented_second/realloc_usage/extr_zpool_iter.c_process_unique_cmd_columns_aug_v3_5.c
// Original file: ./zfs/cmd/zpool/extr_zpool_iter.c_process_unique_cmd_columns.c // Applied augmentations: augment_swap_break_continue, augment_off_by_one_error, augment_swap_increment_decrement, augment_add_global_volatile_var, augment_add_assert #include <assert.h> volatile int g_aug_volatile_9813 = 7; #define NULL...
augmented_second/realloc_usage/extr_parse-filter.c_pevent_filter_clear_trivial_aug_v3_4.c
// Original file: ./fastsocket/kernel/tools/lib/traceevent/extr_parse-filter.c_pevent_filter_clear_trivial.c // Applied augmentations: augment_add_struct_definition, augment_swap_break_continue, augment_add_printf_hello #include <stdio.h> /* AUGMENTATION_MARKER: Added unused struct */ struct AugData_7829 { int id...
augmented_second/realloc_usage/extr_vis.c_stravis_aug_v3_4.c
// Original file: ./tmux/compat/extr_vis.c_stravis.c // Applied augmentations: augment_add_struct_definition, augment_add_printf_hello #include <stdio.h> /* AUGMENTATION_MARKER: Added unused struct */ struct AugData_8150 { int id; char name[32]; double value; }; #define NULL ((void*)0) typedef unsigned lo...
augmented_second/realloc_usage/extr_libdwarf_rw.c__dwarf_write_msb_alloc_aug_v3_5.c
// Original file: ./freebsd/contrib/elftoolchain/libdwarf/extr_libdwarf_rw.c__dwarf_write_msb_alloc.c // Applied augmentations: augment_add_struct_definition, augment_add_unused_function /* AUGMENTATION_MARKER: Added unused function */ static int aug_unused_func_9390(int x) { int y = x * x - 1; if (y < 0) ret...