Skip to content

Commit c48170e

Browse files
authored
Merge pull request diffblue#192 from diffblue/smowton/feature/split_frontend_final_stage
SEC-58: Split the entry-point-generation phase into two parts
2 parents ab347d5 + f4df5c6 commit c48170e

34 files changed

+218
-244
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
int getone() {
3+
return 1;
4+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
extern int getone();
3+
4+
#include <assert.h>
5+
6+
int main(int argc, char** argv) {
7+
assert(getone()==1);
8+
}
9+
10+
int altmain() {
11+
assert(getone()==0);
12+
}
7.29 KB
Binary file not shown.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
CORE
2+
main.gb
3+
lib.c --function altmain
4+
^EXIT=10$
5+
^SIGNAL=0$
6+
^VERIFICATION FAILED$
7+
--
8+
^warning: ignoring
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
CORE
2+
main.gb
3+
lib.c
4+
^EXIT=0$
5+
^SIGNAL=0$
6+
^VERIFICATION SUCCESSFUL$
7+
--
8+
^warning: ignoring
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
int getone() {
3+
return 1;
4+
}
4.35 KB
Binary file not shown.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
extern int getone();
3+
4+
#include <assert.h>
5+
6+
int main(int argc, char** argv) {
7+
assert(getone()==1);
8+
}
9+
10+
int altmain() {
11+
assert(getone()==0);
12+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
CORE
2+
main.c
3+
lib.gb --function altmain
4+
^EXIT=10$
5+
^SIGNAL=0$
6+
^VERIFICATION FAILED$
7+
--
8+
^warning: ignoring
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
CORE
2+
main.c
3+
lib.gb
4+
^EXIT=0$
5+
^SIGNAL=0$
6+
^VERIFICATION SUCCESSFUL$
7+
--
8+
^warning: ignoring

0 commit comments

Comments
 (0)