Raised This Month: $32 Target: $400
 8% 

what is it? compiler


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
loiraolhosazul
Member
Join Date: May 2020
Old 10-19-2020 , 17:36   what is it? compiler
Reply With Quote #1

that
PHP Code:
#emit sysreq.c 
it is
PHP Code:
#pragma compress 1 
what is the function of the two
loiraolhosazul is offline
thEsp
BANNED
Join Date: Aug 2017
Old 10-19-2020 , 18:27   Re: what is it? compiler
Reply With Quote #2

Neither is a function, both are pre-processor directives. The first one acts like inline assembly that (afaik) calls a function and the second must have something to do with binary compression (reducing output size perhaps).

Edit: after a quick search on google it seems both are for some reason used against decompilation.

Last edited by thEsp; 10-19-2020 at 18:35.
thEsp is offline
loiraolhosazul
Member
Join Date: May 2020
Old 10-19-2020 , 19:42   Re: what is it? compiler
Reply With Quote #3

Quote:
Originally Posted by thEsp View Post
Neither is a function, both are pre-processor directives. The first one acts like inline assembly that (afaik) calls a function and the second must have something to do with binary compression (reducing output size perhaps).

Edit: after a quick search on google it seems both are for some reason used against decompilation.
Exactly, however if I try to use '#emit sysreq.c ' the plugin does not work, but the anti decompilation works.
loiraolhosazul is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 10-19-2020 , 22:42   Re: what is it? compiler
Reply With Quote #4

Quote:
Originally Posted by loiraolhosazul View Post
Exactly, however if I try to use '#emit sysreq.c ' the plugin does not work, but the anti decompilation works.
Sounds like a perfect way to protect against someone using your plugin .
__________________
fysiks is offline
thEsp
BANNED
Join Date: Aug 2017
Old 10-20-2020 , 13:06   Re: what is it? compiler
Reply With Quote #5

Since AMXX's license expects people to ship plugins by (including) the source code, fysiks got a valid point... more like irony actually.
thEsp is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:59.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode