summaryrefslogtreecommitdiffstats
path: root/tester/covoar/ObjdumpProcessor.cc
diff options
context:
space:
mode:
authorRyan Long <ryan.long@oarcorp.com>2021-07-28 09:23:14 -0400
committerJoel Sherrill <joel@rtems.org>2021-08-03 15:56:53 -0500
commitd5178b8dc53d1130a4c564a6cf233bc29fe82931 (patch)
treed3b71634475cc1fcbc544d3c510ef82d84e1f089 /tester/covoar/ObjdumpProcessor.cc
parentRemove outputDirectory global variable (diff)
downloadrtems-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.cc3
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())