substracting the pointers to two sequential functions didn't work out. the following snippet: // auto first=function void(){ asm{ naked; nop; } }; auto next=function void(){ asm{ naked; nop; } }; writeln(cast(int)&next-cast(int)&first,"/",cast(int)&next,"/",&next,"/",cast(int)&first,"/",&first); // outputs 4/1244672/12FE00/1244668/12FDFC so the conversions from hex to int work correctly and I still get a size of 4 while it shouldve been a size of 1. Are there other options?
- get size of function maarten van damme
- Re: get size of function Simon
- Re: get size of function Johannes Pfau
- Re: get size of function maarten van damme
- Re: get size of function maarten van damme
- Re: get size of function Johannes Pfau
- Re: get size of function maarten van damme
- Re: get size of function Trass3r
- Re: get size of function Johannes Pfau
- Re: get size of function Simon