diff options
author | Ryan Long <ryan.long@oarcorp.com> | 2021-07-28 09:23:14 -0400 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2021-08-03 15:56:53 -0500 |
commit | d5178b8dc53d1130a4c564a6cf233bc29fe82931 (patch) | |
tree | d3b71634475cc1fcbc544d3c510ef82d84e1f089 /tester/covoar/ObjdumpProcessor.cc | |
parent | Remove outputDirectory global variable (diff) | |
download | rtems-tools-d5178b8dc53d1130a4c564a6cf233bc29fe82931.tar.bz2 |
Remove input buffer global variables
- Removed input buffers from app_common and added them as a local variable
to functions where inputBuffer was being used
- Added #define for MAX_LINE_LENGTH in files where it is used
- Changed Explanations::load to use a string instead of a C-string
Diffstat (limited to 'tester/covoar/ObjdumpProcessor.cc')
-rw-r--r-- | tester/covoar/ObjdumpProcessor.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tester/covoar/ObjdumpProcessor.cc b/tester/covoar/ObjdumpProcessor.cc index 2bf1685..d324440 100644 --- a/tester/covoar/ObjdumpProcessor.cc +++ b/tester/covoar/ObjdumpProcessor.cc @@ -24,6 +24,8 @@ #include "rld.h" #include "rld-process.h" +#define MAX_LINE_LENGTH 512 + namespace Coverage { void finalizeSymbol( @@ -136,6 +138,7 @@ namespace Coverage { FILE* loadAddressFile = NULL; char* cStatus; uint32_t offset; + char inputBuffer[MAX_LINE_LENGTH]; // This method should only be call for a dynamic library. if (!theExecutable->hasDynamicLibrary()) |