Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the copyright comment from the outputs generated by RetDec #843

Merged
merged 1 commit into from
Aug 26, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/bin2llvmir/optimizations/writer_dsm/writer_dsm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,6 @@ void DsmWriter::generateHeader(std::ostream& ret)
ret << ";;\n";
ret << ";; This file was generated by the Retargetable Decompiler\n";
ret << ";; Website: https://retdec.com\n";
ret << ";; Copyright (c) " << retdec::utils::getCurrentYear()
<< " Retargetable Decompiler <info@retdec.com>\n";
ret << ";;\n";
ret << ";; Decompilation date: "
<< retdec::utils::getCurrentDate() << " "
Expand Down
6 changes: 0 additions & 6 deletions src/llvmir2hll/hll/hll_writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -359,12 +359,6 @@ bool HLLWriter::emitFileHeader() {
out->commentLine("");
out->commentLine("This file was generated by the Retargetable Decompiler");
out->commentLine("Website: https://retdec.com");
out->commentLine("Copyright (c)"
+ (optionEmitTimeVaryingInfo
? (" " + getCurrentYear())
: (""))
+ " Retargetable Decompiler <info@retdec.com>"
);
out->commentLine("");

return true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ TEST_F(DsmWriterTests, testHeaderGeneration)
R"(^;;
;; This file was generated by the Retargetable Decompiler
;; Website: https://retdec.com
;; Copyright \(c\) 20.. Retargetable Decompiler <info@retdec.com>
;;
;; Decompilation date: ....-..-.. ..:..:..
;; Architecture: arm
Expand Down