How to get a pointer to a binary section in MSVC?

后端 未结 4 1760
说谎
说谎 2021-01-02 03:38

I\'m writing some code which stores some data structures in a special named binary section. These are all instances of the same struct which are scattered across many C file

4条回答
  •  悲&欢浪女
    2021-01-02 03:51

    ML64 allows to cut a lot of the assembly noise :

    public foo_start
    public foo_stop
    
    .code foo$a
    foo_start:
    
    .code foo$z
    foo_stop:
    
    end
    

提交回复
热议问题