Wiki Page on introducing how to use this tool: https://wiki.freebsd.org/ShengYiHong/ABIStability
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 61332 Build 58216: arc lint + arc unit
Event Timeline
The elf parse, ctf parser is all from ctfdump and refactor it into C++. However, because it is cddl licensed, I am wondering if there is any legal concern?
usr.bin/ctfdiff/ctfdiff.1 | ||
---|---|---|
8 | Should the copyright header be yours? |
So not only included the CDDL headers but also some code derived from CDDL files?
cc @imp
Oh! I'm sorry, but this got lost in my inbox... I've been super busy...
So, it's hard to say. At the very least ctftype.cc needs some kind of acknowledgement that the code was derived from the original CDDL code.
The wrapping in C++ coupled with refactoring suggests that it may have reached the threshold to be a new, transformative work. However, since we're
linking with other CDDL code, I'd err on the side of considering it merely a derived work. This would mean labeling with CDDL and possibly moving
this utility to the cddl subtree.
The files generally need a copyright statement, so I'd start with where you got the elf parser from for those files that contain it (ctftypes.cc and ctfdata.cc
if my eye is right). I'd then add your copyright to that, and add the copyright + license statement to each of the other files. I suspect they should be CDDL
for simplicity, but BSDL 2-Clause is also a viable option.