flat assembler
Message board for the users of flat assembler.

Index > Windows > IsProcessorFeaturePresent or CPUID?

Goto page Previous  1, 2
Author
Thread Post new topic Reply to topic
Mat Quasar



Joined: 15 Dec 2024
Posts: 54
Mat Quasar 27 Dec 2024, 10:24
Core i7 wrote:
In the x64dbg debugger, you can view structures.
To do this, you need to create a *.txt script file, and select the structure name from it, specify the address.
Here is my script, and the sequence of actions with the right mouse button.
This way you can output many structures in a convenient form, including PEB/TEB and many others:


What a nice script that you have.

The KUSER_SHARED_DATA is correct at 0x7FFE0000, I have validated the ProcessorFeatures against a small program created by bitRAKE ( https://github.com/bitRAKE/odd_tests/blob/main/features.exe ).
The info there matches the results returned by his program using IsProcessorFeaturePresent function.


Description: I created a command-line program to show 64 bytes processor features from KUSER_SHARED_DATA
Filesize: 30.68 KB
Viewed: 265 Time(s)

features.PNG


Description: bitRAKE's features.exe
Filesize: 25.83 KB
Viewed: 316 Time(s)

bitRAKE.PNG


Description: The first 7 processor features of my PC
Filesize: 42.36 KB
Viewed: 316 Time(s)

proc_features.PNG


Post 27 Dec 2024, 10:24
View user's profile Send private message Reply with quote
Core i7



Joined: 14 Nov 2024
Posts: 28
Location: Socket in motherboard
Core i7 28 Dec 2024, 08:36
Good job!
Next is the information from CPUID, and if you want more, you can read the SMBIOS table via GetSystemFirmwareTable().
Post 28 Dec 2024, 08:36
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.