Skip to content

Commit 25ce239

Browse files
committed
Ignore ill-formed C programs
trailofbits/instafix-llvm#44 is an attempted workaround for some ill-formed C programs that we still need to support building, but it will cause way more LLVM indirect calls to be generated, and calls to be generated with the wrong number of arguments against the original declaration Essentially, the issue is that some programs do ```c int foo() { ... } ``` Then somewhere else: ```c extern int foo(int bar); foo(0); ```
1 parent 72a946a commit 25ce239

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

MultiSource/Applications/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ if(NOT ARCH STREQUAL "PowerPC")
1010
# be restored when the issue is corrected.
1111
add_subdirectory(oggenc)
1212
endif()
13-
add_subdirectory(sgefa)
14-
add_subdirectory(spiff)
13+
#add_subdirectory(sgefa)
14+
#add_subdirectory(spiff)
1515
add_subdirectory(viterbi)
1616

1717
add_subdirectory(ALAC)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
add_subdirectory(ldecod)
2-
add_subdirectory(lencod)
2+
#add_subdirectory(lencod)

MultiSource/Benchmarks/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
add_subdirectory(ASCI_Purple)
22
add_subdirectory(ASC_Sequoia)
33
add_subdirectory(BitBench)
4-
add_subdirectory(Fhourstones)
4+
#add_subdirectory(Fhourstones)
55
add_subdirectory(Fhourstones-3.1)
66
add_subdirectory(FreeBench)
77
add_subdirectory(MallocBench)
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
add_subdirectory(espresso)
2-
add_subdirectory(gs)
1+
#add_subdirectory(espresso)
2+
#add_subdirectory(gs)
33
if(NOT "${ARCH}" STREQUAL "Alpha")
4-
add_subdirectory(cfrac)
4+
#add_subdirectory(cfrac)
55
endif()
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
add_subdirectory(adpcm)
2-
add_subdirectory(g721)
2+
#add_subdirectory(g721)
33
add_subdirectory(gsm)
44
add_subdirectory(jpeg)
55
add_subdirectory(mpeg2)

0 commit comments

Comments
 (0)