This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
// Initialize matrices A, B, and C | |
// A and B are filled with random values | |
// C is initialized to zeros | |
void mat_init(double *A, double *B, double *C, int N) { | |
// Deterministic initialization of matrix A and B | |
for (int i = 0; i < N; i++) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <vector> | |
#include <string> | |
#include "BPatch.h" | |
#include "BPatch_addressSpace.h" | |
#include "BPatch_binaryEdit.h" | |
#include "BPatch_image.h" | |
#include "BPatch_function.h" | |
#include "BPatch_point.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <vector> | |
#include <string> | |
#include "BPatch.h" | |
#include "BPatch_addressSpace.h" | |
#include "BPatch_binaryEdit.h" | |
#include "BPatch_image.h" | |
#include "BPatch_function.h" | |
#include "BPatch_point.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
// Initialize matrices A, B, and C | |
// A and B are filled with random values | |
// C is initialized to zeros | |
void mat_init(double *A, double *B, double *C, int N) { | |
// Deterministic initialization of matrix A and B | |
for (int i = 0; i < N; i++) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <vector> | |
#include <string> | |
#include "BPatch.h" | |
#include "BPatch_addressSpace.h" | |
#include "BPatch_binaryEdit.h" | |
#include "BPatch_image.h" | |
#include "BPatch_function.h" | |
#include "BPatch_point.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <time.h> | |
#include <sys/wait.h> | |
int main(int argc, char *argv[]) { | |
if (argc < 2) { | |
printf("Usage: %s <binary>\n", argv[0]); | |
return 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <vector> | |
#include <string> | |
#include "BPatch.h" | |
#include "BPatch_addressSpace.h" | |
#include "BPatch_binaryEdit.h" | |
#include "BPatch_image.h" | |
#include "BPatch_function.h" | |
#include "BPatch_point.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
// Initialize matrices A, B, and C | |
// A and B are filled with random values | |
// C is initialized to zeros | |
void mat_init(double *A, double *B, double *C, int N) { | |
// Deterministic initialization of matrix A and B | |
for (int i = 0; i < N; i++) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import copy | |
import cvc5 | |
from cvc5 import Kind | |
def define_fun_to_string(f, params, body): | |
sort = f.getSort() | |
if sort.isFunction(): | |
sort = f.getSort().getFunctionCodomainSort() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import cvc5 | |
from cvc5 import Kind | |
def define_fun_to_string(f, params, body): | |
sort = f.getSort() | |
if sort.isFunction(): | |
sort = f.getSort().getFunctionCodomainSort() | |
result = "(define-fun " + str(f) + " (" |
NewerOlder