[c Language] To reference variables in external programs

Asked 2 years ago, Updated 2 years ago, 26 views

Can't you refer to the address of the variable in the external program?

For example. After verifying the address of variable a declared in the executable file call.exe.

Write the address of a directly on the pointer p of the executable file called main.exe Can't you refer to the variable value of a in call.exe?

When I search, I only find out about the outside, so I don't know how to find out, so I post a question.

c

2022-09-22 10:39

1 Answers

In a typical case, it would cause segmentation faults, right?


2022-09-22 10:39

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.