| 56 | } |
| 57 | |
| 58 | static std::string inline getFixedLengthArrayAssignStmt(std::string LHS, |
| 59 | std::string RHS) { |
| 60 | std::string SizeStr = util::getAvasFuzzSizeVarName(RHS); |
| 61 | return "{ for (unsigned i=0; i<" + SizeStr + "; ++i) { " + LHS + |
| 62 | "[i] = " + RHS + "[i]; } }"; |
| 63 | } |
| 64 | |
| 65 | static std::string inline wrapWithExternCStmt(std::string Str) { |
| 66 | std::string Prefix = "#ifdef __cplusplus\nextern \"C\"\n{\n#endif\n"; |
no test coverage detected