Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
capnproto
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
capnproto
Commits
28ce8f3d
Commit
28ce8f3d
authored
Mar 20, 2015
by
Kenton Varda
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:kentonv/capnproto
parents
9c18f2ad
99dfaa76
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
2 deletions
+28
-2
capnp.c++
c++/src/capnp/compiler/capnp.c++
+8
-2
2015-03-02-0-c++-integer-overflow.md
security-advisories/2015-03-02-0-c++-integer-overflow.md
+5
-0
2015-03-02-1-c++-integer-underflow.md
security-advisories/2015-03-02-1-c++-integer-underflow.md
+5
-0
2015-03-02-2-all-cpu-amplification.md
security-advisories/2015-03-02-2-all-cpu-amplification.md
+5
-0
2015-03-05-0-c++-addl-cpu-amplification.md
...ity-advisories/2015-03-05-0-c++-addl-cpu-amplification.md
+5
-0
No files found.
c++/src/capnp/compiler/capnp.c++
View file @
28ce8f3d
...
...
@@ -242,10 +242,11 @@ public:
builder
.
addOptionWithArg
({
'o'
,
"output"
},
KJ_BIND_METHOD
(
*
this
,
addOutput
),
"<lang>[:<dir>]"
,
"Generate source code for language <lang> in directory <dir> "
"(default: current directory). <lang> actually specifies a plugin "
"to use. If <lang> is a simple word, the compiler for a plugin "
"to use. If <lang> is a simple word, the compiler
searches
for a plugin "
"called 'capnpc-<lang>' in $PATH. If <lang> is a file path "
"containing slashes, it is interpreted as the exact plugin "
"executable file name, and $PATH is not searched."
)
"executable file name, and $PATH is not searched. If <lang> is '-', "
"the compiler dumps the request to standard output."
)
.
addOptionWithArg
({
"src-prefix"
},
KJ_BIND_METHOD
(
*
this
,
addSourcePrefix
),
"<prefix>"
,
"If a file specified for compilation starts with <prefix>, remove "
"the prefix for the purpose of deciding the names of output files. "
...
...
@@ -440,6 +441,11 @@ public:
}
for
(
auto
&
output
:
outputs
)
{
if
(
kj
::
str
(
output
.
name
)
==
"-"
)
{
writeMessageToFd
(
STDOUT_FILENO
,
message
);
continue
;
}
int
pipeFds
[
2
];
KJ_SYSCALL
(
pipe
(
pipeFds
));
...
...
security-advisories/2015-03-02-0-c++-integer-overflow.md
View file @
28ce8f3d
...
...
@@ -13,6 +13,11 @@ Announced
2015-03-02
CVE
===
CVE-2015-2310
Impact
======
...
...
security-advisories/2015-03-02-1-c++-integer-underflow.md
View file @
28ce8f3d
...
...
@@ -13,6 +13,11 @@ Announced
2015-03-02
CVE
===
CVE-2015-2311
Impact
======
...
...
security-advisories/2015-03-02-2-all-cpu-amplification.md
View file @
28ce8f3d
...
...
@@ -13,6 +13,11 @@ Announced
2015-03-02
CVE
===
CVE-2015-2312
Impact
======
...
...
security-advisories/2015-03-05-0-c++-addl-cpu-amplification.md
View file @
28ce8f3d
...
...
@@ -14,6 +14,11 @@ Announced
2015-03-05
CVE
===
CVE-2015-2313
Impact
======
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment