1
2
3
4import isystem.connect as ic
5
6
7winidea_id = ''
8
9
10def test_gotoAddress():
11 connMgr = ic.ConnectionMgr()
12 connMgr.connect(ic.CConnectionConfig().instanceId(winidea_id))
13
14 execCtrl = ic.CExecutionController(connMgr)
15 addCtrl = ic.CAddressController(connMgr)
16
17 address = addCtrl.getFunctionAddress("targetInit").getAddress()
18 execCtrl.gotoAddress(0, address)
19
20
21if __name__ == "__main__":
22 test_gotoAddress()