Bochs/bochs-testing/plugin-test/test5-execsymbols
2002-10-11 16:45:31 +00:00
..
Makefile - test5-execsymbols checks that a module can reach symbols that are defined in 2002-10-11 16:45:31 +00:00
module1.cc - test5-execsymbols checks that a module can reach symbols that are defined in 2002-10-11 16:45:31 +00:00
module1.h - test5-execsymbols checks that a module can reach symbols that are defined in 2002-10-11 16:45:31 +00:00
module2.cc - test5-execsymbols checks that a module can reach symbols that are defined in 2002-10-11 16:45:31 +00:00
module2.h - test5-execsymbols checks that a module can reach symbols that are defined in 2002-10-11 16:45:31 +00:00
README - test5-execsymbols checks that a module can reach symbols that are defined in 2002-10-11 16:45:31 +00:00
uselib.cc - test5-execsymbols checks that a module can reach symbols that are defined in 2002-10-11 16:45:31 +00:00
uselib.h - test5-execsymbols checks that a module can reach symbols that are defined in 2002-10-11 16:45:31 +00:00

test5-execsymbols

Can a module reference symbols in the executable?

module1 exports module_name and operate(int,int).
module2 exports n_operations and operation_occurred().

uselib.cc uses symbols and functions from both modules.
Module1 calls operation_occurred() in module2.

Module2 calls register_module() in uselib.cc the first time
it is called.