Tags » Marcin

Using nm(1) to list symbols from object file built for arm64 on OS X

Does anyone know how can list symbols from an object file that I built for arm64 architecture?

I tried to use nm but it gave me an error: … 35 more words

Recent Questions - Stack Overflow

wso2is id_token containes not allowed new line characters

I’m trying to use wso2is server v5.0.0 to authenticate users using OpenId Connect protocol.

After access token request server creates JSON object according to the spec: 96 more words

Recent Questions - Stack Overflow

C double holds 0 no matter what I input

#include<stdio.h>
int main()
{
    double a,b;
    scanf("%lf%lf",&a,&b);
    printf("%lf %lf",a,b);
    return 0;
}

The result I’m getting from printf here is 0.000000 no matter the input. What should I do to remedy this? 36 more words

Recent Questions - Stack Overflow

C double holds 0 no matter what I input

#include<stdio.h>
int main()
{
    double a,b;
    scanf("%lf%lf",&a,&b);
    printf("%lf %lf",a,b);
    return 0;
}

The result I’m getting from printf here is 0.000000 no matter the input. What should I do to remedy this? 36 more words

Recent Questions - Stack Overflow

SQL: strange query performance behaviour

I have two tables:

  • Nodes – really small table, about 20 rows
  • Events – quite big table, about 10M rows

and following query:

select 
    e.DeviceAlias as Mac, n.NodeId, n.city as City, n.street as Street, e.Status,
    CASE WHEN e.Status = 'U' THEN 'Unknown' ELSE 'Known' END as 'Source', 
    COUNT (*) as 'Count', 
    SUM(CASE WHEN e.SentMessageId > 0 THEN 1 ELSE 0 END) as SentMsgCount
from 
    events e
join 
    Nodes n on e.NodeId = n.NodeId
where
    e.InsertDate >= @startdate
    and e.InsertDate <= @enddate
group by 
    e.DeviceAlias, e.Status, n.NodeId, n.city, n.street
… 154 more words
Recent Questions - Stack Overflow

Building objdump on osx to allow disassembling arm64 objects

I’m trying to disassemble openSSL that I’ve built for iOS targeting arm64 architecture with objdump (from GNU binutil) giving it following options:

./objdump openssl -f (file headers), -t (symbol table), and -h (section headers)
… 118 more words
Recent Questions - Stack Overflow

Slower android when not connected to charger?

I’m trying to develop simple android application which monitors specified url using http client and once defined condition is met it should perform notification actions. … 169 more words

Recent Questions - Stack Overflow