@@ -420,7 +420,7 QString elfparser::getABI() | |||||
420 | } |
|
420 | } | |
421 |
|
421 | |||
422 |
|
422 | |||
423 |
int32 |
|
423 | qint32 elfparser::getVersion() | |
424 | { |
|
424 | { | |
425 | if(this->e!=NULL) |
|
425 | if(this->e!=NULL) | |
426 | { |
|
426 | { | |
@@ -428,7 +428,7 int32_t elfparser::getVersion() | |||||
428 | } |
|
428 | } | |
429 | } |
|
429 | } | |
430 |
|
430 | |||
431 |
int64 |
|
431 | qint64 elfparser::getEntryPointAddress() | |
432 | { |
|
432 | { | |
433 | if(this->e!=NULL) |
|
433 | if(this->e!=NULL) | |
434 | { |
|
434 | { | |
@@ -508,7 +508,7 QString elfparser::getSegmentType(int in | |||||
508 | } |
|
508 | } | |
509 |
|
509 | |||
510 |
|
510 | |||
511 |
int64 |
|
511 | qint64 elfparser::getSegmentOffset(int index) | |
512 | { |
|
512 | { | |
513 | int64_t Offset; |
|
513 | int64_t Offset; | |
514 | if(this->e!=NULL) |
|
514 | if(this->e!=NULL) | |
@@ -522,7 +522,7 int64_t elfparser::getSegmentOffset(int | |||||
522 | } |
|
522 | } | |
523 |
|
523 | |||
524 |
|
524 | |||
525 |
int64 |
|
525 | qint64 elfparser::getSegmentVaddr(int index) | |
526 | { |
|
526 | { | |
527 | int64_t Vaddr = 0; |
|
527 | int64_t Vaddr = 0; | |
528 | if(this->e!=NULL) |
|
528 | if(this->e!=NULL) | |
@@ -536,7 +536,7 int64_t elfparser::getSegmentVaddr(int i | |||||
536 | } |
|
536 | } | |
537 |
|
537 | |||
538 |
|
538 | |||
539 |
int64 |
|
539 | qint64 elfparser::getSegmentPaddr(int index) | |
540 | { |
|
540 | { | |
541 | int64_t Paddr=0; |
|
541 | int64_t Paddr=0; | |
542 | if(this->e!=NULL) |
|
542 | if(this->e!=NULL) | |
@@ -549,7 +549,7 int64_t elfparser::getSegmentPaddr(int i | |||||
549 | return Paddr; |
|
549 | return Paddr; | |
550 | } |
|
550 | } | |
551 |
|
551 | |||
552 |
int64 |
|
552 | qint64 elfparser::getSectionPaddr(int index) | |
553 | { |
|
553 | { | |
554 | int64_t Paddr=0; |
|
554 | int64_t Paddr=0; | |
555 | if(this->e!=NULL) |
|
555 | if(this->e!=NULL) | |
@@ -563,7 +563,7 int64_t elfparser::getSectionPaddr(int i | |||||
563 | } |
|
563 | } | |
564 |
|
564 | |||
565 |
|
565 | |||
566 |
int64 |
|
566 | qint64 elfparser::getSegmentFilesz(int index) | |
567 | { |
|
567 | { | |
568 | int64_t FileSz=0; |
|
568 | int64_t FileSz=0; | |
569 | if(this->e!=NULL) |
|
569 | if(this->e!=NULL) | |
@@ -576,7 +576,7 int64_t elfparser::getSegmentFilesz(int | |||||
576 | return FileSz; |
|
576 | return FileSz; | |
577 | } |
|
577 | } | |
578 |
|
578 | |||
579 |
int64 |
|
579 | qint64 elfparser::getSectionDatasz(int index) | |
580 | { |
|
580 | { | |
581 | int64_t DataSz=0; |
|
581 | int64_t DataSz=0; | |
582 | if(this->e!=NULL) |
|
582 | if(this->e!=NULL) | |
@@ -603,7 +603,7 bool elfparser::getSectionData(int index | |||||
603 | } |
|
603 | } | |
604 |
|
604 | |||
605 |
|
605 | |||
606 |
int64 |
|
606 | qint64 elfparser::getSegmentMemsz(int index) | |
607 | { |
|
607 | { | |
608 | int64_t MemSz=0; |
|
608 | int64_t MemSz=0; | |
609 | if(this->e!=NULL) |
|
609 | if(this->e!=NULL) | |
@@ -616,7 +616,7 int64_t elfparser::getSegmentMemsz(int i | |||||
616 | return MemSz; |
|
616 | return MemSz; | |
617 | } |
|
617 | } | |
618 |
|
618 | |||
619 |
int64 |
|
619 | qint64 elfparser::getSectionMemsz(int index) | |
620 | { |
|
620 | { | |
621 | int64_t MemSz=0; |
|
621 | int64_t MemSz=0; | |
622 | if(this->e!=NULL) |
|
622 | if(this->e!=NULL) |
@@ -54,20 +54,20 public: | |||||
54 | QString getType(); |
|
54 | QString getType(); | |
55 | QString getEndianness(); |
|
55 | QString getEndianness(); | |
56 | QString getABI(); |
|
56 | QString getABI(); | |
57 |
int32 |
|
57 | qint32 getVersion(); | |
58 |
int64 |
|
58 | qint64 getEntryPointAddress(); | |
59 | int getSectioncount(); |
|
59 | int getSectioncount(); | |
60 | int getSegmentcount(); |
|
60 | int getSegmentcount(); | |
61 | QString getSegmentType(int index); |
|
61 | QString getSegmentType(int index); | |
62 |
int64 |
|
62 | qint64 getSegmentOffset(int index); | |
63 |
int64 |
|
63 | qint64 getSegmentVaddr(int index); | |
64 |
int64 |
|
64 | qint64 getSegmentPaddr(int index); | |
65 |
int64 |
|
65 | qint64 getSectionPaddr(int index); | |
66 |
int64 |
|
66 | qint64 getSegmentFilesz(int index); | |
67 |
int64 |
|
67 | qint64 getSectionDatasz(int index); | |
68 | bool getSectionData(int index, char **buffer); |
|
68 | bool getSectionData(int index, char **buffer); | |
69 |
int64 |
|
69 | qint64 getSegmentMemsz(int index); | |
70 |
int64 |
|
70 | qint64 getSectionMemsz(int index); | |
71 | QString getSegmentFlags(int index); |
|
71 | QString getSegmentFlags(int index); | |
72 | QString getSectionName(int index); |
|
72 | QString getSectionName(int index); | |
73 | QString getSectionType(int index); |
|
73 | QString getSectionType(int index); |
General Comments 0
You need to be logged in to leave comments.
Login now