
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
String interpolation for clang++ - Yet another post-pre processor
npm i -g derp-cpp
Usage:
derp -
derp -h | --help
Description:
Expands C++ interpolated strings from a program read from stdin. Produces the manipulated program on stdout.
This is just a post processor to be run after clang++ preprocessor (-E option).
Assume the following c++ file (example.cxx):
#include <string>
#include <iostream>
auto s = "variable string";
int main()
{
std::cout << "This is an interpolation of '#{s}' that goes to stdout\n";
}
Compile it with:
> clang++ --std=c++11 -E example.cxx | derp > example.c++ && clang++ -o example --std=c++11 example.c++
And then run it:
> ./example
This is an interpolation of 'variable string' that goes to stdout
Vittorio Zaccaria
Copyright (c) 2014 Vittorio Zaccaria
Released under the BSD license
This file was generated by verb on December 18, 2014.
FAQs
String interpolation for clang++ - Yet another post-pre processor
We found that derp-cpp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.