Commit Graph

61 Commits

Author SHA1 Message Date
Ian A. Mason
65d0c8c002 Dusting away the bitrot, plus adding a COMPILING and LINKING line in the INFO log. 2022-09-06 16:54:43 -07:00
William Woodruff
1ac1afd3dc
extractor, utils: dedupe bitcode paths before linking 2021-07-23 12:09:48 -04:00
William Woodruff
cd6d58d084
extractor: inject LLVM_LINK_FLAGS 2021-06-29 14:04:57 -04:00
Ian A Mason
62c0620028 Two fallbacks in place in case we do not recognize the file extension of an object file 2020-10-30 22:04:23 +00:00
Ian A. Mason
a13a7d8732 Typo. 2020-10-13 09:52:46 -07:00
Ian A. Mason
55516821a9 Clean up. 2020-10-13 09:50:47 -07:00
Ian A. Mason
f025c1b774 A tad more procedural extraction in handleArchive. 2020-10-13 09:35:37 -07:00
William Woodruff
c14c8e6d73
extractor: Add a "strict extraction" mode
The more permissive current behavior remains the default.
2020-08-04 12:59:52 -04:00
William Woodruff
3389f1fde6
extractor: Fix success assignment
Booleans are default-initialized to false, so we only need
to assign to true in the success case.
2020-08-04 10:48:02 -04:00
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
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
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
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
3de212139a Warn rather than fail if the .o comes from, say assembly. 2018-08-06 09:43:38 -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
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
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
b4345b3c03 Added a -s switch to sort the manifest. Default is unsorted. 2018-04-28 09:23:55 -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
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
3ea1db0849 Better error reporting if things go pear shaped. 2018-04-17 11:46:22 -07:00