Commit Graph

169 Commits

Author SHA1 Message Date
William Woodruff
3a0cea8f37
extractor: Fix success shadowing 2020-08-04 09:43:46 -04:00
William Woodruff
eb5c783f2c
extractor: Fix other assigns 2020-08-03 16:55:38 -04:00
William Woodruff
6ca36df5db
extractor: Fix Extractor signature 2020-08-03 16:46:52 -04:00
William Woodruff
3d3264fd14
extractor: Make extraction errors fatal 2020-08-03 16:41:28 -04:00
Ian A. Mason
02ea4c5218 Complaints from the peanut gallery. 2020-03-24 12:55:59 -07:00
Ian A. Mason
27ff069bcb gofmt tweaks. 2020-03-24 12:38:09 -07:00
Ian A. Mason
e5869c7444 LLVM_BITCODE_GENERATION_FLAGS feature. 2020-03-24 12:36:16 -07:00
Ian A. Mason
f464fcac22 Keep the formating gods at bay (or PG&E will not restore my power) 2019-10-28 20:47:17 +00:00
Ian A. Mason
5b1c1b2752 testing the cmd switches and environment settings. 2019-10-28 14:38:49 +00:00
Ian A. Mason
58744e5ae2 Purge of LogFatal complete; some (success bool) codes not checked yet, mainly in the bitcode attaching process 2019-10-26 16:47:47 +00:00
Ian A. Mason
fa20b6410c Slowly remove the ugly LogFatal in favor of exitCodes 2019-10-26 01:53:45 +00:00
Ian A. Mason
ef77e255a8 Still futzing with the Extract method... 2019-10-26 00:37:23 +00:00
Ian A. Mason
bd88b14e25 Actually use the args slice passes to shared.Extract 2019-10-25 20:22:52 +00:00
Ian A. Mason
4c6313089a Adding some text to the sanity checker, so I can cut and paste when I forget the env vars. 2019-10-25 17:42:55 +00:00
Gleb Popov
4dae7fb34a
Also LogDebug() the command line being run in runCmd() 2019-10-25 21:23:18 +04:00
Ian A.Mason
86d04ac4e4 Cleaning up the extraction arg parsing, with the aim to parse something other than os.Args 2019-10-25 09:27:32 -07:00
Ian A. Mason
21a9a3a3c7 Prepping a new release. 2019-10-23 19:03:01 +00:00
Ian A. Mason
8abc459f9a Turn off replay mode; didn't pan out unfortunately. 2019-10-23 16:55:52 +00:00
Ian A. Mason
bce21265af Allow for customization under the hood. 2019-10-23 16:27:24 +00:00
Ian A. Mason
0be1e568c2 Elevate failure of the segment addition process to a warning, why isn't it an error... 2019-10-23 14:35:38 +00:00
Ian A. Mason
3a57e247a0 Futzing insidee the vagrant box. 2019-10-22 17:53:26 +00:00
Ian A. Mason
3c7ad06857 Futzing insidee the vagrant box. 2019-10-22 17:52:39 +00:00
Ian A. Mason
052d1d18f6 Futzing insidee the vagrant box. 2019-10-22 17:47:34 +00:00
Ian A.Mason
a8305d0094 issue #31 plus continued race detection stuff, II. 2019-10-22 06:41:44 -07:00
Ian A.Mason
fc48468746 issue #31 plus continued race detection stuff. 2019-10-22 06:38:16 -07:00
Ian A.Mason
64ececee96 Preparing to stress the race detector. 2019-10-21 09:13:24 -07:00
Ian A. Mason
465f5d88be The midas touch. Not. 2019-07-29 16:30:40 -07:00
Ian A. Mason
2ac8c3faae Looks like I broke things. 2019-07-29 16:26:30 -07:00
Ian A. Mason
dd2cde4454 issue #30 (letting travis test it) 2019-07-25 13:12:23 -07:00
Ian A. Mason
911a9312a3 Ooops forgot to update the version 2019-07-03 06:39:16 -07:00
Ian A. Mason
a973a87115 Issue #84 over at travitch's place. 2019-06-18 11:13:49 -07:00
Ian A. Mason
701b08be70 Keeping ahead(?) of wllvm. 2019-06-12 06:47:57 -07:00
Ian A. Mason
fcb3406452 -fopenmp added as a link and compile flag. 2019-02-11 07:12:50 -08:00
Ian A. Mason
e19027f459 Cleanup. 2019-01-04 11:39:44 -08:00
Ian A. Mason
d7314dd3d4 pattern matching done in a fixed order to make sure the right one matches first. 2019-01-04 10:38:25 -08:00
Ian A. Mason
6fa871fa6c binary --sysroot variant. 2019-01-03 12:41:31 -08:00
Ian A. Mason
df3a1a7b5f Issue #25 2019-01-02 13:21:08 -08:00
Ian A. Mason
68123001a8 Issue #23 2019-01-02 11:43:48 -08:00
Ian A. Mason
ea6becdfd7 keeping gofmt happy. 2018-08-06 15:10:30 -07:00
Ian A. Mason
3de212139a Warn rather than fail if the .o comes from, say assembly. 2018-08-06 09:43:38 -07:00
Ian A. Mason
fddb064c5e Merge branch 'master' of https://github.com/SRI-CSL/gllvm 2018-06-11 15:06:54 -07:00
Ian A. Mason
f2637f6887 archaic flag added. 2018-06-11 15:05:58 -07:00
Ian A. Mason
778414f628 linting ... 2018-06-01 06:26:59 -07:00
Ian A. Mason
cd8022e385 Another recipe for mayhem, II. 2018-05-25 15:34:33 -07:00
Ian A. Mason
87b55c28f9 Another recipe for mayhem. 2018-05-25 14:59:56 -07:00
Ian A. Mason
08903954e1 Various fixes, including one for the dead_strip issue. Issue #22. 2018-05-24 17:41:49 -07:00
Ian A. Mason
c409287076 libcurl.a on Darwin reveals a couple of ugly bugs. 2018-05-23 10:18:48 -07:00
Ian A. Mason
34e9e55f21 cmd parser additions from curl. 2018-05-23 07:28:43 -07:00
Ian A. Mason
ee940a6a22 cmd parser additions from curl. 2018-05-23 07:14:20 -07:00
Ian A. Mason
c6e185927d Version bump. Keeping in synch with wllvm. 2018-05-14 11:51:41 -07:00
Ian A. Mason
da2306f5bc Added the compile and link flag '-fsanitize=' to solve issue #19 2018-05-13 07:42:20 -07:00
Ian A. Mason
a91293a16f Some sort of editing fiasco. 2018-05-11 07:30:19 -07:00
Ian A. Mason
aef2810c0c Some procedural abstraction and clean up. 2018-05-11 07:15:42 -07:00
Ian A. Mason
d2b8ffddee Some procedural abstraction and clean up. 2018-05-11 07:14:37 -07:00
Ian A. Mason
4eadb3c7d1 Some procedural abstraction and clean up. 2018-05-11 07:13:13 -07:00
Ian A. Mason
00420e9a95 Gatta keep the grades up. 2018-05-10 18:26:53 -07:00
Ian A. Mason
f497d4dee4 Linting with gometalinter.v2 ./... 2018-05-10 16:25:44 -07:00
Ian A Mason
b018a39fa1
Merge pull request #18 from SRI-CSL/fix_command_line_overflow
Command line too large fix
2018-05-10 16:07:12 -07:00
Paul Naert
daf09cd75e added -n option for setting arg size and -t option for keeping temporary files 2018-05-10 15:55:46 -07:00
Paul Naert
3c8bf6aa47 command_line_overflow_fix cleaned 2018-05-10 14:35:24 -07:00
Paul Naert
32cb46a01d command_line_overflow_fix 2018-05-10 14:30:22 -07:00
Paul Naert
34014a65af extractor modification 2018-05-10 13:44:59 -07:00
Ian A. Mason
288f8dbfcd Fix resolveTool logic. 2018-05-09 14:57:10 -07:00
Ian A. Mason
c69bace9eb Issue #17 procedural abstraction. 2018-05-09 14:21:17 -07:00
Ian A. Mason
307ea19e10 Fix for issue #17. 2018-05-09 07:07:56 -07:00
Ian A. Mason
49578305ef Fixed some wierdness uncovered by llvm-3.4 bad behavior. Plus puffed out the apache 14.0 tutorial a bit. 2018-05-08 15:11:42 -07:00
Ian A. Mason
6a7f027e99 Just some more flags... really need to do this more systematically. 2018-05-04 14:25:44 -07:00
Ian A. Mason
bd296e284d Get rid of the logging sensitivity of gsanity-check 2018-05-04 13:28:48 -07:00
Ian A. Mason
ba04960330 What did I do wrong? Both wllvm and gllvm version files are out of date. 2018-05-04 12:54:28 -07:00
Ian A. Mason
64c163f06f What did I do wrong? Both wllvm and gllvm version files are out of date. 2018-05-04 12:53:38 -07:00
Ian A. Mason
bf660e0b3d Ooops. 2018-05-04 06:52:40 -07:00
Ian A. Mason
8a6e56d02d conflict fix. 2018-05-04 06:48:47 -07:00
Ian A. Mason
3c97379cd6 Error message tweak. 2018-05-04 06:47:18 -07:00
Ian A. Mason
de98afc950 gsanity-check gets a -e swith to print what it thinks the environment looks like. 2018-05-02 15:59:34 -07:00
Ian A. Mason
52b45c47e6 Spelling bee time. 2018-05-02 14:16:03 -07:00
Ian A. Mason
cda95a488d Handles archives better. Flag for sorting bitcode files. Linux Kernel work. 2018-05-02 13:05:24 -07:00
Ian A. Mason
591b65316f Birthing some examples. Starting with a biggie. 2018-04-30 09:58:19 -07:00
Ian A. Mason
7755cdabb9 Version bump 2018-04-28 09:32:06 -07:00
Ian A. Mason
b4345b3c03 Added a -s switch to sort the manifest. Default is unsorted. 2018-04-28 09:23:55 -07:00
Ian A. Mason
2b5e00b549 whitespace, for my sake. 2018-04-27 19:32:33 -07:00
Ian A. Mason
e565e33714 whitespace, again for my GPA. 2018-04-27 19:30:55 -07:00
Ian A. Mason
114f1e8ed4 reduce cyclomatic complexity for my GPA. Sucks. 2018-04-27 19:29:45 -07:00
Ian A. Mason
0c39531dd6 Handle thin archives directly without using a buggy(?) conversion script. 2018-04-27 18:31:38 -07:00
Ian A. Mason
142f82df38 gllvm and wllvm agree when compiling the linux kernel. 2018-04-25 14:05:52 -07:00
Ian A. Mason
81a664f9f0 gllvm and wllvm agree when compiling the linux kernel. 2018-04-25 14:05:45 -07:00
Ian A. Mason
72ed099005 Trying to unify the behavior of wllvm and gllvm when compiling the linux kernel. 2018-04-24 14:50:58 -07:00
Ian A. Mason
18b65a053a Trying to unify the behavior of wllvm and gllvm when compiling the linux kernel. 2018-04-24 12:13:12 -07:00
Ian A. Mason
6b8707d5de Added version reporting to gsanity-check, and added as much error checking
as I could find, and sensibly do.  I used

https://github.com/alecthomas/gometalinter

as a tool which seemed quite useful.
2018-04-18 06:58:47 -07:00
Ian A. Mason
fbbc8e856a Slave to my master: gofmt. 2018-04-17 11:48:35 -07:00
Ian A. Mason
3ea1db0849 Better error reporting if things go pear shaped. 2018-04-17 11:46:22 -07:00
Ian A. Mason
30cc3b22fa whitespace 2018-04-16 15:45:06 -07:00
Ian A. Mason
65122ee2eb SIGSEGV removal. 2018-04-16 15:23:59 -07:00
Ian A. Mason
763672d293 SIGSEGV removal. 2018-04-16 15:21:30 -07:00
Will Dietz
372d8a3357 parser: support -m{,no-}avx2 as well 2018-04-03 08:27:24 -05:00
Will Dietz
9858ec76d3 parser: recognize ssse3 and sse4{,.1,.2} flags 2018-04-02 17:27:50 -05:00
Ian A. Mason
cbb5e5a820 Clean up. 2018-02-05 20:30:58 -08:00
Ian A. Mason
7905f2e122 I am a slave to gofmt. 2018-02-05 15:27:50 -08:00
Ian A. Mason
3fc0008125 Issue #13 and a SIGSEGV issue. 2018-02-05 15:23:04 -08:00
Ashish Gehani
baadc4c94c Added OCCAM license. 2017-08-25 16:34:03 -07:00
Will Dietz
fa57387ac6 parser.go: Fix regexp used for detecting asm input 2017-08-12 12:23:57 -05:00