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

[TS] Finding offsets with IDA?


Post New Thread Reply   
 
Thread Tools Display Modes
abdobiskra
Veteran Member
Join Date: Jul 2014
Location: Algeria
Old 08-07-2017 , 05:09   Re: [TS] Finding offsets with IDA?
Reply With Quote #11

Yes that should be, but the file is empty and does not produce results when it is opened
__________________

Last edited by abdobiskra; 08-07-2017 at 05:20.
abdobiskra is offline
Send a message via Skype™ to abdobiskra
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 08-07-2017 , 06:56   Re: [TS] Finding offsets with IDA?
Reply With Quote #12

I see you are running it on hl.so. Isn't that the engine binary?
klippy is offline
abdobiskra
Veteran Member
Join Date: Jul 2014
Location: Algeria
Old 08-07-2017 , 07:29   Re: [TS] Finding offsets with IDA?
Reply With Quote #13

Quote:
Originally Posted by KliPPy View Post
I see you are running it on hl.so. Isn't that the engine binary?
I think so because the problem is that the version i tried on it is modified it
here : http://aghl.ru/forum/viewtopic.php?f=32&t=686
When I tried the old version (hl.so from steam files) gave me the output
But for the (bugfixed.HL.0.1.910) does not work why that ? (I think he is an orphan )

also the figures differ between the two versions :
ex:
for bugfixed.HL :
i found
PHP Code:
int               m_iFOV               298   // Field of view. 
but in steam file :
i found
PHP Code:
int                        m_iFOV;               /*  1212     4 */  // so 1212/4 = 303 
In fact do not know much about these things can be explained?
And what possible solutions to extracting its Offset using the way you explained it ( i mean bugfixed.HL )
__________________
abdobiskra is offline
Send a message via Skype™ to abdobiskra
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-07-2017 , 08:30   Re: [TS] Finding offsets with IDA?
Reply With Quote #14

If there is no output, it means the binary doesn't contain DWARF (debugging) information.
__________________
Arkshine is offline
abdobiskra
Veteran Member
Join Date: Jul 2014
Location: Algeria
Old 08-07-2017 , 14:01   Re: [TS] Finding offsets with IDA?
Reply With Quote #15

Can this be reported to (Lev) who modified ( bugfixed.HL) ?
Can he add this DWARF information?
__________________

Last edited by abdobiskra; 08-07-2017 at 14:10.
abdobiskra is offline
Send a message via Skype™ to abdobiskra
abdobiskra
Veteran Member
Join Date: Jul 2014
Location: Algeria
Old 08-09-2017 , 13:08   Re: [TS] Finding offsets with IDA?
Reply With Quote #16

ok i reported and He added that DWARF :
Quote:
Compiled BugfixedHL 0.2.49.0bf6878 with -gdwarf-2 and attached archive with .so and extracted DWARF information.
This can be used to find offsets and other information.
but i get this error ?
Quote:
die__process_function: DW_TAG_INVALID (0x4109) @ <0x5802> not handled!
this link :
http://aghl.ru/forum/download/file.php?id=4058
__________________

Last edited by abdobiskra; 08-09-2017 at 13:11.
abdobiskra is offline
Send a message via Skype™ to abdobiskra
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 08-09-2017 , 13:43   Re: [TS] Finding offsets with IDA?
Reply With Quote #17

What did you exactly execute?
Code:
pahole --show_only_data_members --nr_members --class_name=CBasePlayer hl_i386.so
this works fine for me.
klippy is offline
abdobiskra
Veteran Member
Join Date: Jul 2014
Location: Algeria
Old 08-09-2017 , 14:57   Re: [TS] Finding offsets with IDA?
Reply With Quote #18

I do not understand why he did not work with me!
Could the problem be in the version?
Code:
[root@CommunityHL dwarve]# rpm -q dwarves
dwarves-1.9-2.el6.x86_64
[root@CommunityHL dwarve]#
and my OS centos 6
__________________

Last edited by abdobiskra; 08-09-2017 at 14:58.
abdobiskra is offline
Send a message via Skype™ to abdobiskra
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 08-09-2017 , 16:43   Re: [TS] Finding offsets with IDA?
Reply With Quote #19

Code:
dpkg -s dwarves | grep -i version
Version: 1.10-2
I'm running Ubuntu 14.04 64-bit through Linux Subsystem for Windows.
klippy is offline
abdobiskra
Veteran Member
Join Date: Jul 2014
Location: Algeria
Old 08-09-2017 , 17:29   Re: [TS] Finding offsets with IDA?
Reply With Quote #20

I also expected everyone to agree that this version (Version: 1.10-2) was resolved in this problem
But I find problems updating my version
Code:
su -c 'yum update --enablerepo=updates-testing dwarves-1.10-2.fc18'
Quote:
Error getting repository data for updates-testing, repository not found
__________________
abdobiskra is offline
Send a message via Skype™ to abdobiskra
Reply



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 12:27.


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