trick/trick_source/sim_services/VariableServer
Alex Lin ad42376d5e
Variable Server byteswapping crashes the sim #1513 (#1514)
* Variable Server byteswapping crashes the sim #1513

The code to byteswap a variable server buffer has a comment saying there is a bug. The comment is
correct.  The original code would swap the parameter and anything else that followed that parameter
in the structure.  Crashes everywhere.  Created a new routine that byteswaps a single parameter.
Strangely we didn't have such a routine until now.  Did some testing of doubles, floats, ints,
shorts, and chars and all were swapped correctly.

* Variable Server byteswapping crashes the sim #1513

enabling binary byteswap test.
2023-06-01 13:20:14 -05:00
..
exit_var_thread.cpp Standardize directory names 2015-06-09 08:44:42 -05:00
Makefile Infer TRICK_HOME in Makefiles 2019-06-21 13:15:22 -05:00
Makefile_deps Use udunits package for units conversions 2016-05-17 09:55:12 -05:00
var_server_ext.cpp Variable Server - var_send_once and integration test (#1330) 2022-08-18 10:47:07 -05:00
VariableReference.cpp Add capability to list current variable server connections in JSON re… (#732) 2019-02-18 17:11:41 -06:00
VariableServer_copy_data_freeze_scheduled.cpp Standardize directory names 2015-06-09 08:44:42 -05:00
VariableServer_copy_data_freeze.cpp Standardize directory names 2015-06-09 08:44:42 -05:00
VariableServer_copy_data_scheduled.cpp Standardize directory names 2015-06-09 08:44:42 -05:00
VariableServer_copy_data_top.cpp Standardize directory names 2015-06-09 08:44:42 -05:00
VariableServer_default_data.cpp Standardize directory names 2015-06-09 08:44:42 -05:00
VariableServer_freeze_init.cpp Standardize directory names 2015-06-09 08:44:42 -05:00
VariableServer_get_next_freeze_call_time.cpp Standardize directory names 2015-06-09 08:44:42 -05:00
VariableServer_get_next_sync_call_time.cpp Standardize directory names 2015-06-09 08:44:42 -05:00
VariableServer_get_var_server_port.cpp Standardize directory names 2015-06-09 08:44:42 -05:00
VariableServer_init.cpp Standardize directory names 2015-06-09 08:44:42 -05:00
VariableServer_restart.cpp Variable server restart issues 2016-04-19 13:50:30 -05:00
VariableServer_shutdown.cpp add missing lock/unlock on pthread map mutex to VariableServer::shutdown fixes #1133 (#1134) 2021-04-26 23:28:26 -05:00
VariableServer.cpp Change std::endl to linefeed as appropriate. (#773) 2019-05-13 16:05:01 -05:00
VariableServerListenThread.cpp Expand SIM_test_varserver (#1459) 2023-02-24 14:44:55 -06:00
VariableServerThread_commands.cpp Allow for read only S_sie.resource (#1420) 2023-04-17 17:23:48 -05:00
VariableServerThread_connect.cpp Standardize directory names 2015-06-09 08:44:42 -05:00
VariableServerThread_copy_data.cpp Standardize directory names 2015-06-09 08:44:42 -05:00
VariableServerThread_copy_sim_data.cpp Variable Server - var_send_once and integration test (#1330) 2022-08-18 10:47:07 -05:00
VariableServerThread_create_socket.cpp Standardize directory names 2015-06-09 08:44:42 -05:00
VariableServerThread_freeze_init.cpp Standardize directory names 2015-06-09 08:44:42 -05:00
VariableServerThread_loop.cpp Variable Server - var_send_once and integration test (#1330) 2022-08-18 10:47:07 -05:00
VariableServerThread_restart.cpp Variable server restart issues 2016-04-19 13:50:30 -05:00
VariableServerThread_write_data.cpp Variable Server byteswapping crashes the sim #1513 (#1514) 2023-06-01 13:20:14 -05:00
VariableServerThread_write_stdio.cpp Replace sprintf with snprintf in all of Trick source. #1384 (#1392) 2022-11-15 15:00:05 -06:00
VariableServerThread.cpp Handle thread shutdown gracefully and test (#1448) 2023-02-08 17:58:59 -06:00
vs_format_ascii.cpp Fix undefined behavior in vs_format_ascii (#1446) 2023-02-07 13:11:51 -06:00