Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
arm-assembler
Advanced tools
translates an array of assembler instructions into arm32 machine code
turn arm32 assembler instructions into binary machine-code
You need to have the arm-eabi-toolchain installed
var through = require('through');
var test = require('tape');
var asm = require('.');
test('shoudl assemble single instruction when given a string', function(t) {
t.plan(4);
asm('MOVEQ r0, r1, LSL r2', function(err, i) {
t.equal(err, null);
t.equal(i.toString(16), '1a00211');
});
asm('MOV r0, r1, LSL r2', function(err, i) {
t.equal(err, null);
t.equal(i.toString(16), 'e1a00211');
});
});
test('shoudl return stream when given a stream', function(t) {
var tr = through(function(d) {this.push(d);});
var out = asm(tr);
var i = 0;
t.plan(3);
out.on('data', function(data) {
if (i===0) {
t.equal(data.toString(16), '1a00211');
i++;
} else {
t.equal(data.toString(16), 'e1a00211');
i++;
}
}).on('end', function() {
t.equal(i,2);
});
tr.write('MOVEQ r0, r1, LSL r2');
tr.write('MOV r0, r1, LSL r2');
tr.end();
});
FAQs
translates an array of assembler instructions into arm32 machine code
The npm package arm-assembler receives a total of 2 weekly downloads. As such, arm-assembler popularity was classified as not popular.
We found that arm-assembler demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.