pe-machine-type-descriptor

2019-02-13 admin

pe-machine-type-descriptor是什么

什么是pe-machine-type-descriptor,Get name and description of PE machine types

pe-machine-type-descriptor使用教程帮助文档

pe-machine-type-descriptor

Get name and description of PE machine types. As specified by Microsoft PE and COFF Specification 9.3 <sup>[doc]</sup>, section 3.1.1.

npm status node Travis build status AppVeyor build status Dependency status

example

const mt = require('pe-machine-type-descriptor')

console.log(mt(0x8664).type) // 'amd64'
console.log(mt(0x8664).description) // 'x64'

console.log(mt(0x1c4).type) // 'armnt'
console.log(mt(0x1c4).description) // 'ARM Thumb-2 little endian'

related

install

With npm do:

npm install pe-machine-type-descriptor

license

MIT © Vincent Weevers

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处。

转载请注明:文章转载自 JavaScript中文网 [https://www.javascriptcn.com]

本文地址:https://www.javascriptcn.com/read-53666.html

文章标题:pe-machine-type-descriptor

回到顶部