mirror of
https://github.com/openappsec/attachment.git
synced 2025-06-28 16:41:03 +03:00
adding istio files
This commit is contained in:
parent
0543a32fdc
commit
e1b4317826
@ -6,7 +6,7 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_GNU_SOURCE -lpthread -Wall")
|
||||
|
||||
link_directories(${ng_module_osrc_zlib_path}/lib)
|
||||
link_directories(${CMAKE_BINARY_DIR}/core)
|
||||
link_directories(${CMAKE_BINARY_DIR}/core/shmem_ipc)
|
||||
link_directories(${CMAKE_BINARY_DIR}/core/shmem_ipc_2)
|
||||
include_directories(${PROJECT_SOURCE_DIR}/core/include/attachments)
|
||||
|
||||
|
||||
|
@ -359,6 +359,20 @@ sendChunkedData(
|
||||
{
|
||||
writeDebug(&(ipc->logging_data), TraceLevel, "Sending %u chunks of data\n", num_of_data_elem);
|
||||
|
||||
int i = 0;
|
||||
while (data_elem_to_send[i] != NULL) { // Assume the array is NULL-terminated
|
||||
writeDebug(&(ipc->logging_data), WarningLevel, "String %d address: %p\n", i, (void *)data_elem_to_send[i]);
|
||||
writeDebug(&(ipc->logging_data), WarningLevel, "String %d content in hex: ", i);
|
||||
|
||||
char *current = data_elem_to_send[i];
|
||||
while (*current) {
|
||||
writeDebug(&(ipc->logging_data), WarningLevel, "%02x ", (unsigned char)*current);
|
||||
current++;
|
||||
}
|
||||
i++;
|
||||
}
|
||||
|
||||
|
||||
return pushBuffersToQueue(
|
||||
&(ipc->logging_data),
|
||||
ipc->tx_queue,
|
||||
|
Loading…
x
Reference in New Issue
Block a user